Package eu.xenit.alfred.api.node
Class ChildParentAssociation
java.lang.Object
eu.xenit.alfred.api.node.NodeAssociation
eu.xenit.alfred.api.node.ChildParentAssociation
Represents a child parent relation between a source and a target node of a specific type. A child can have multiple
parents but should only have one primary parent.
-
Field Summary
Fields inherited from class eu.xenit.alfred.api.node.NodeAssociation
source, target, type -
Constructor Summary
ConstructorsConstructorDescriptionChildParentAssociation(NodeRef source, NodeRef target, QName type, boolean isPrimary) -
Method Summary
Methods inherited from class eu.xenit.alfred.api.node.NodeAssociation
getSource, getTarget, getType
-
Constructor Details
-
ChildParentAssociation
public ChildParentAssociation() -
ChildParentAssociation
-
-
Method Details
-
isPrimary
public boolean isPrimary() -
setPrimary
public void setPrimary(boolean primary)
-