Class TypeInformation

    • Constructor Detail

      • TypeInformation

        public TypeInformation()
    • Method Detail

      • getIdentifier

        public String getIdentifier​(Type type)
        Returns a unique identifier for the given element.
        Specified by:
        getIdentifier in interface NodeInformation<Type>
        Parameters:
        type - The element.
        Returns:
        The unique identifier.
      • getParentIdentifiers

        public Set<String> getParentIdentifiers​(Type root,
                                                Type type)
        Returns the identifiers of the parents of the given element.
        Specified by:
        getParentIdentifiers in interface NodeInformation<Type>
        Parameters:
        root - The root element of the tree.
        type - The element.
        Returns:
        A set of parent identifiers.