Class TreeRelation

java.lang.Object
ch.tocco.nice2.dms.api.tree.TreeRelation

public class TreeRelation extends Object
Describes a relation between to nodes in a tree (from the point of view of the first node).
  • Constructor Details

  • Method Details

    • getRelationName

      public String getRelationName()
      Returns:
      The relation name in the model.
    • getTargetType

      public Class<? extends ContentTreeNode> getTargetType()
      Returns:
      The type of the target node.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object