Package org.nuxeo.ecm.core.api
Class PathRef
java.lang.Object
org.nuxeo.ecm.core.api.PathRef
- All Implemented Interfaces:
Serializable
,DocumentRef
A PATH reference to a document.
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
Fields inherited from interface org.nuxeo.ecm.core.api.DocumentRef
ID, INSTANCE, PATH
-
Constructor Summary
-
Method Summary
-
Field Details
-
value
-
-
Constructor Details
-
PathRef
-
PathRef
-
PathRef
- Since:
- 5.6
-
-
Method Details
-
checkName
-
type
public int type()Description copied from interface:DocumentRef
Gets the type of the reference.- Specified by:
type
in interfaceDocumentRef
- Returns:
- the type of the reference
-
reference
Description copied from interface:DocumentRef
Gets the reference value.For an ID reference, this is the document UUID.
For a PATH reference, this is the document path.
For an INSTANCE reference this is the document itself.
- Specified by:
reference
in interfaceDocumentRef
- Returns:
- the reference value
-
equals
-
hashCode
public int hashCode() -
toString
-