Class ChildParentAssociation

java.lang.Object
eu.xenit.alfred.api.node.NodeAssociation
eu.xenit.alfred.api.node.ChildParentAssociation

public class ChildParentAssociation extends NodeAssociation
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.
  • Constructor Details

    • ChildParentAssociation

      public ChildParentAssociation()
    • ChildParentAssociation

      public ChildParentAssociation(NodeRef source, NodeRef target, QName type, boolean isPrimary)
  • Method Details

    • isPrimary

      public boolean isPrimary()
    • setPrimary

      public void setPrimary(boolean primary)