|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.state.NodeReferences
NodeReferences
represents the references (i.e. properties of
type REFERENCE
) to a particular node (denoted by its uuid).
Field Summary | |
protected ArrayList |
references
list of PropertyId's (i.e. |
protected NodeReferencesId |
targetId
id of the target node |
Constructor Summary | |
NodeReferences(NodeReferencesId targetId)
Package private constructor |
Method Summary | |
void |
addAllReferences(List references)
|
void |
addReference(PropertyId refId)
|
void |
clearAllReferences()
|
List |
getReferences()
|
NodeReferencesId |
getTargetId()
Return the target id of this node references object. |
String |
getUUID()
Return the UUID of the target id |
boolean |
hasReferences()
Return a flag indicating whether this object holds any references |
boolean |
removeReference(PropertyId refId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected NodeReferencesId targetId
protected ArrayList references
targetId
).
note that the list can contain duplicate entries because a specific
REFERENCE property can contain multiple references (if it's multi-valued)
to potentially the same target node.
Constructor Detail |
public NodeReferences(NodeReferencesId targetId)
targetId
- Method Detail |
public NodeReferencesId getTargetId()
public String getUUID()
public boolean hasReferences()
true
if this object holds references,
false
otherwisepublic List getReferences()
public void addReference(PropertyId refId)
refId
- public void addAllReferences(List references)
references
- public boolean removeReference(PropertyId refId)
refId
-
public void clearAllReferences()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |