Class ElementType

  • All Implemented Interfaces:
    Serializable

    public class ElementType
    extends ElementControlHeader
    The ElementType bean provides details of the type information associated with a metadata element. It also includes the control information related the element's origin and how this element was created and maintained.
    See Also:
    Serialized Form
    • Constructor Detail

      • ElementType

        public ElementType()
        Default constructor
      • ElementType

        public ElementType​(ElementType templateType)
        Copy/clone constructor
        Parameters:
        templateType - type to clone
    • Method Detail

      • setElementTypeId

        public void setElementTypeId​(String elementTypeId)
        Set up the unique identifier for the element's type.
        Parameters:
        elementTypeId - String identifier
      • getElementTypeId

        public String getElementTypeId()
        Return unique identifier for the element's type.
        Returns:
        element type id
      • setElementTypeName

        public void setElementTypeName​(String elementTypeName)
        Set up the name of this element's type
        Parameters:
        elementTypeName - String name
      • getElementTypeName

        public String getElementTypeName()
        Return name of element's type.
        Returns:
        elementTypeName
      • setElementSuperTypeNames

        public void setElementSuperTypeNames​(List<String> elementSuperTypeNames)
        Set up the list of type names for this type's supertypes.
        Parameters:
        elementSuperTypeNames - list of type names
      • getElementSuperTypeNames

        public List<String> getElementSuperTypeNames()
        Return the list of type names for this type's supertypes.
        Returns:
        list of type names
      • setElementTypeVersion

        public void setElementTypeVersion​(long elementTypeVersion)
        Set up the version number for this element's type
        Parameters:
        elementTypeVersion - version number for the element type.
      • getElementTypeVersion

        public long getElementTypeVersion()
        Return the version number for this element's type.
        Returns:
        elementTypeVersion version number for the element type.
      • setElementTypeDescription

        public void setElementTypeDescription​(String elementTypeDescription)
        Set up a short description of this element's type.
        Parameters:
        elementTypeDescription - set up the description for this element's type
      • getElementTypeDescription

        public String getElementTypeDescription()
        Return the description for this element's type.
        Returns:
        elementTypeDescription String description for the element type
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class ElementControlHeader
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class ElementControlHeader
        Returns:
        int hash code