Package org.nuxeo.ecm.core.api
Class IdRef
- java.lang.Object
- 
- org.nuxeo.ecm.core.api.IdRef
 
- 
- All Implemented Interfaces:
- Serializable,- DocumentRef
 
 public class IdRef extends Object implements DocumentRef An ID reference to a document.- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()Objectreference()Gets the reference value.StringtoString()inttype()Gets the type of the reference.
 
- 
- 
- 
Field Detail- 
valuepublic final String value 
 
- 
 - 
Constructor Detail- 
IdRefpublic IdRef(String value) 
 
- 
 - 
Method Detail- 
typepublic int type() Description copied from interface:DocumentRefGets the type of the reference.- Specified by:
- typein interface- DocumentRef
- Returns:
- the type of the reference
 
 - 
referencepublic 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 interface- DocumentRef
- Returns:
- the reference value
 
 
- 
 
-