public class InstanceRef extends Object implements DocumentRef
ID, INSTANCE, PATH| Constructor and Description | 
|---|
InstanceRef(DocumentModel doc,
           NuxeoPrincipal principal)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
Object | 
reference()
Gets the reference value. 
 | 
int | 
type()
Gets the type of the reference. 
 | 
public InstanceRef(DocumentModel doc, NuxeoPrincipal principal)
public int type()
DocumentReftype in interface DocumentRefpublic Object reference()
DocumentRefFor 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.
reference in interface DocumentRefCopyright © 2019 Nuxeo. All rights reserved.