public interface DocumentRef extends Serializable
The following two types of references are supported:
Modifier and Type | Method and Description |
---|---|
Object |
reference()
Gets the reference value.
|
int |
type()
Gets the type of the reference.
|
static final int ID
static final int PATH
int type()
Object reference()
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.
Copyright © 2015 Nuxeo SA. All rights reserved.