|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.service.cmr.repository.AssociationRef
public class AssociationRef
This class represents a regular, named node relationship between two nodes.
| Constructor Summary | |
|---|---|
AssociationRef(NodeRef sourceRef,
QName assocTypeQName,
NodeRef targetRef)
Construct a representation of a source --- name ----> target relationship. |
|
AssociationRef(java.lang.String assocRefStr)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares: AssociationRef.sourceRef
AssociationRef.targetRef
AssociationRef.assocTypeQName
|
NodeRef |
getSourceRef()
|
NodeRef |
getTargetRef()
|
QName |
getTypeQName()
Get the qualified name of the source-target association |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssociationRef(NodeRef sourceRef,
QName assocTypeQName,
NodeRef targetRef)
sourceRef - the source reference - never nullassocTypeQName - the qualified name of the association type - never nulltargetRef - the target node reference - never null.public AssociationRef(java.lang.String assocRefStr)
childAssocRefStr - a string of the form sourceNodeRef|targetNodeRef|assocTypeQName| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic QName getTypeQName()
public NodeRef getTargetRef()
public NodeRef getSourceRef()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||