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

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






SymbolicNodeImpl (h5jan API)












org.eclipse.dawnsci.analysis.tree.impl

Class SymbolicNodeImpl

    • Constructor Detail

      • SymbolicNodeImpl

        public SymbolicNodeImpl(long oid,
                                Tree tree,
                                GroupNode groupWithNode,
                                java.lang.String pathToNode)
        Construct a symbolic link with given object ID, from tree, group and node path
        Parameters:
        oid - object ID
        tree -
        groupWithNode - (can be null if path is absolute)
        pathToNode - (ends in separator if group, otherwise a dataset)
      • SymbolicNodeImpl

        public SymbolicNodeImpl(long oid,
                                java.net.URI uri,
                                GroupNode groupWithNode,
                                java.lang.String pathToNode)
        Construct a symbolic link with given object ID, from URI to tree, group and node path
        Parameters:
        oid - object ID
        uri -
        groupWithNode - (can be null if path is absolute)
        pathToNode - (ends in separator if group, otherwise a dataset)
    • Method Detail

      • getNodeLink

        public NodeLink getNodeLink()
        Description copied from interface: SymbolicNode
        Get node link referenced by symbolic link
        Specified by:
        getNodeLink in interface SymbolicNode
        Returns:
        node or null if tree or destination does not exist
      • getNode

        public Node getNode()
        Description copied from interface: SymbolicNode
        Get node referenced by symbolic link
        Specified by:
        getNode in interface SymbolicNode
        Returns:
        node or null if it does not exist
      • isData

        public boolean isData()
        Specified by:
        isData in interface SymbolicNode
        Returns:
        true if linked node is specified as data (even if it does not exist)
      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface SymbolicNode
        Returns:
        path to linked node
      • getSourceURI

        public java.net.URI getSourceURI()
        Specified by:
        getSourceURI in interface SymbolicNode
        Returns:
        URI to source of tree or null if it does not exist
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class NodeImpl
      • 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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy