All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.analysis.tree.impl.NodeImpl.html Maven / Gradle / Ivy






NodeImpl (h5jan API)












org.eclipse.dawnsci.analysis.tree.impl

Class NodeImpl

  • java.lang.Object
    • org.eclipse.dawnsci.analysis.tree.impl.NodeImpl
    • Field Detail

      • attributes

        protected java.util.LinkedHashMap<java.lang.String,Attribute> attributes
      • id

        protected final long id
    • Constructor Detail

      • NodeImpl

        public NodeImpl(long oid)
        Construct a node with given object ID
        Parameters:
        oid - object ID
    • Method Detail

      • getID

        public long getID()
        Specified by:
        getID in interface Node
        Returns:
        ID
      • getNumberOfAttributes

        public int getNumberOfAttributes()
        Specified by:
        getNumberOfAttributes in interface Node
        Returns:
        number of attributes on node
      • containsAttribute

        public boolean containsAttribute(java.lang.String name)
        Specified by:
        containsAttribute in interface Node
        Returns:
        true if node contains attribute of given name
      • getAttribute

        public Attribute getAttribute(java.lang.String name)
        Description copied from interface: Node
        Get attribute of given name from node
        Specified by:
        getAttribute in interface Node
        Returns:
        attribute (can be null if there is no attribute of given name)
      • addAttribute

        public void addAttribute(Attribute a)
        Description copied from interface: Node
        Add given attribute to node
        Specified by:
        addAttribute in interface Node
      • getAttributeNameIterator

        public java.util.Iterator<java.lang.String> getAttributeNameIterator()
        Specified by:
        getAttributeNameIterator in interface Node
        Returns:
        iterator over attribute names in node
      • getAttributeIterator

        public java.util.Iterator<? extends Attribute> getAttributeIterator()
        Specified by:
        getAttributeIterator in interface Node
        Returns:
        iterator over attribute names in node
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isGroupNode

        public boolean isGroupNode()
        Specified by:
        isGroupNode in interface Node
        Returns:
        true if this node is a GroupNode, false otherwise
      • isDataNode

        public boolean isDataNode()
        Specified by:
        isDataNode in interface Node
        Returns:
        true if this node is a DataNode, false otherwise
      • isSymbolicNode

        public boolean isSymbolicNode()
        Specified by:
        isSymbolicNode in interface Node
        Returns:
        true if this node is a SymbolicNode, false otherwise




© 2015 - 2024 Weber Informatics LLC | Privacy Policy