Class NodeInfo


  • public class NodeInfo
    extends java.lang.Object
    Information about a node being imported. This class is used by the XML import handlers to pass the parsed node information to the import process.

    An instance of this class is simply a container for the node name, node uuidentifier, and the node type information. See the PropInfo class for the related carrier of property information.

    • Constructor Summary

      Constructors 
      Constructor Description
      NodeInfo​(java.lang.String name, java.lang.String primaryTypeName, java.lang.Iterable<java.lang.String> mixinTypeNames, java.lang.String uuid)
      Creates a node information instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.Iterable<java.lang.String> getMixinTypeNames()
      Returns the names of the mixin types of the node being imported.
      java.lang.String getName()
      Returns the name of the node being imported.
      java.lang.String getPrimaryTypeName()
      Returns the name of the primary type of the node being imported.
      java.lang.String getUUID()
      Returns the uuid of the node being imported.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeInfo

        public NodeInfo​(java.lang.String name,
                        java.lang.String primaryTypeName,
                        java.lang.Iterable<java.lang.String> mixinTypeNames,
                        java.lang.String uuid)
        Creates a node information instance.
        Parameters:
        name - name of the node being imported
        primaryTypeName - name of the primary type of the node being imported
        mixinTypeNames - names of the mixin types of the node being imported
        uuid - uuid of the node being imported
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the node being imported.
        Returns:
        node name
      • getPrimaryTypeName

        public java.lang.String getPrimaryTypeName()
        Returns the name of the primary type of the node being imported.
        Returns:
        primary type name
      • getMixinTypeNames

        @NotNull
        public @NotNull java.lang.Iterable<java.lang.String> getMixinTypeNames()
        Returns the names of the mixin types of the node being imported.
        Returns:
        mixin type names
      • getUUID

        public java.lang.String getUUID()
        Returns the uuid of the node being imported.
        Returns:
        node uuid