Class OAVTreeModel.AttributeNode

  • Enclosing class:
    OAVTreeModel

    public class OAVTreeModel.AttributeNode
    extends java.lang.Object
    A node representing an attribute value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void drop()
      Unregister a node and its subnodes.
      boolean equals​(java.lang.Object obj)  
      protected boolean equals​(java.lang.Object obj, boolean checkUUID)  
      java.util.List getChildren()
      Get the children of this node.
      java.lang.Object[] getPath()
      Get the path of this node (inclusive) starting from the root node.
      int hashCode()  
      java.lang.String toString()
      Create a string representation of the attribute node.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • children

        protected java.util.List children
        The children.
      • path

        protected java.lang.Object[] path
        The path from the root node to this node.
      • nodeUUID

        protected int nodeUUID
        A unique id for this node
    • Constructor Detail

    • Method Detail

      • getChildren

        public java.util.List getChildren()
        Get the children of this node.
      • getPath

        public java.lang.Object[] getPath()
        Get the path of this node (inclusive) starting from the root node.
      • drop

        public void drop()
        Unregister a node and its subnodes.
      • toString

        public java.lang.String toString()
        Create a string representation of the attribute node.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the attribute node.
      • equals

        protected boolean equals​(java.lang.Object obj,
                                 boolean checkUUID)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object