Class ElementStub

    • Constructor Detail

      • ElementStub

        public ElementStub()
        Default constructor
      • ElementStub

        public ElementStub​(ElementStub template)
        Copy/clone constructor. Note, this is a deep copy
        Parameters:
        template - object to copy
      • ElementStub

        public ElementStub​(ElementHeader template)
        Copy/clone constructor. Note, this is a deep copy
        Parameters:
        template - object to copy
    • Method Detail

      • getUniqueName

        public java.lang.String getUniqueName()
        Return the unique name - if known
        Returns:
        string name
      • setUniqueName

        public void setUniqueName​(java.lang.String uniqueName)
        Set up unique name - if known
        Parameters:
        uniqueName - string name
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class ElementHeader
        Returns:
        list of properties and their values.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class ElementHeader
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Hash of properties
        Overrides:
        hashCode in class ElementHeader
        Returns:
        int