All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GovernanceDelegation, GovernanceLink

public class ElementStub extends ElementHeader
ElementStub is used to identify an element.
See Also:
  • Constructor Details

    • 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
    • ElementStub

      public ElementStub(ElementControlHeader template)
      Copy/clone constructor.
      Parameters:
      template - element to copy
  • Method Details

    • getUniqueName

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

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

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

      public boolean equals(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