|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeAssoc
Represents a generic association between two nodes. The association is named and bidirectional by default.
| Method Summary | |
|---|---|
void |
buildAssociation(Node sourceNode,
Node targetNode)
Wires up the necessary bits on the source and target nodes so that the association is immediately bidirectional. |
java.lang.Long |
getId()
|
AssociationRef |
getNodeAssocRef()
|
Node |
getSource()
|
Node |
getTarget()
|
QNameEntity |
getTypeQName()
|
java.lang.Long |
getVersion()
|
void |
setTypeQName(QNameEntity typeQName)
|
| Method Detail |
|---|
void buildAssociation(Node sourceNode,
Node targetNode)
The association attributes still have to be set.
sourceNode - targetNode - #setName(String)AssociationRef getNodeAssocRef()
java.lang.Long getId()
java.lang.Long getVersion()
Node getSource()
Node getTarget()
QNameEntity getTypeQName()
void setTypeQName(QNameEntity typeQName)
typeQName - the association's dictionary type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||