Package org.nuxeo.ecm.core.api
Class PathRef
- java.lang.Object
-
- org.nuxeo.ecm.core.api.PathRef
-
- All Implemented Interfaces:
Serializable,DocumentRef
public class PathRef extends Object implements DocumentRef
A PATH reference to a document.- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckName(String name)booleanequals(Object obj)inthashCode()Objectreference()Gets the reference value.StringtoString()inttype()Gets the type of the reference.
-
-
-
Field Detail
-
value
public final String value
-
-
Method Detail
-
checkName
public static void checkName(String name)
-
type
public int type()
Description copied from interface:DocumentRefGets the type of the reference.- Specified by:
typein interfaceDocumentRef- Returns:
- the type of the reference
-
reference
public Object reference()
Description copied from interface:DocumentRefGets 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:
referencein interfaceDocumentRef- Returns:
- the reference value
-
-