Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.api.impl
Class ResourceImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
      extended by org.nuxeo.ecm.platform.relations.api.impl.ResourceImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Node, Resource, Subject
Direct Known Subclasses:
QNameResourceImpl

public class ResourceImpl
extends AbstractNode
implements Resource

Resource.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
ResourceImpl()
           
ResourceImpl(String uri)
           
 
Method Summary
 boolean equals(Object other)
           
 NodeType getNodeType()
           
 String getUri()
           
 int hashCode()
           
 boolean isResource()
           
 void setUri(String uri)
           
 String toString()
           
 
Methods inherited from class org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
compareTo, isBlank, isLiteral, isQNameResource
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node
isBlank, isLiteral, isQNameResource
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ResourceImpl

public ResourceImpl()

ResourceImpl

public ResourceImpl(String uri)
Method Detail

getUri

public String getUri()
Specified by:
getUri in interface Resource

setUri

public void setUri(String uri)
Specified by:
setUri in interface Resource

getNodeType

public NodeType getNodeType()
Specified by:
getNodeType in interface Node

isResource

public boolean isResource()
Specified by:
isResource in interface Node
Overrides:
isResource in class AbstractNode

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.