public class PathRef extends Object implements DocumentRef
| Modifier and Type | Field and Description |
|---|---|
String |
value |
ID, INSTANCE, PATH| Constructor and Description |
|---|
PathRef(PathRef parentRef,
String name) |
PathRef(String path) |
PathRef(String parentPath,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkName(String name) |
boolean |
equals(Object obj) |
int |
hashCode() |
Object |
reference()
Gets the reference value.
|
String |
toString() |
int |
type()
Gets the type of the reference.
|
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.