@AlfrescoPublicApi public final class NodeRef extends Object implements EntityRef, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NodeRef.Status
Helper class to convey the status of a node.
|
Constructor and Description |
---|
NodeRef(StoreRef storeRef,
String id)
Construct a Node Reference from a Store Reference and Node Id
|
NodeRef(String nodeRef)
Construct a Node Reference from a string representation of a Node Reference.
|
NodeRef(String protocol,
String identifier,
String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Override equals for this ref type
|
String |
getId() |
static List<NodeRef> |
getNodeRefs(String values)
|
static List<NodeRef> |
getNodeRefs(String values,
org.apache.commons.logging.Log logger)
|
StoreRef |
getStoreRef() |
int |
hashCode()
Hashes on ID alone.
|
static boolean |
isNodeRef(String nodeRef)
Determine if passed string conforms to the pattern of a node reference
|
String |
toString() |
public NodeRef(StoreRef storeRef, String id)
storeRef
- store referenceid
- the manually assigned identifier of the nodepublic NodeRef(String nodeRef)
The string representation of a Node Reference is as follows:
/
nodeRef
- the string representation of a node refpublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
public final StoreRef getStoreRef()
public final String getId()
public static boolean isNodeRef(String nodeRef)
nodeRef
- the node reference as a stringCopyright © 2005–2020 Alfresco Software. All rights reserved.