Class AssetElementType

  • All Implemented Interfaces:
    Serializable

    public class AssetElementType
    extends AssetPropertyElementBase
    The AssetElementType provides details of the type information associated with the element. Most consumers of the properties do not need this information. It is provided to asset consumers primarily as diagnostic information.
    See Also:
    Serialized Form
    • Constructor Detail

      • AssetElementType

        public AssetElementType​(ElementType elementTypeBean)
        Bean constructor accepts bean version of the AssetElementType to provide the values
        Parameters:
        elementTypeBean - bean containing properties
      • AssetElementType

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

      • getElementTypeBean

        protected ElementType getElementTypeBean()
        Clone the bean as part of the deep clone constructor.
        Returns:
        cloned element bean
      • getElementTypeId

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

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

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

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

        public String getElementSourceServer()
        Return the URL of the server where the element was retrieved from. Typically this is a server where the OMAS interfaces are activated. If no URL is known for the server then null is returned.
        Returns:
        elementSourceServerURL the url of the server where the element came from
      • getElementOrigin

        public ElementOrigin getElementOrigin()
        Return the origin of the metadata element.
        Returns:
        ElementOrigin enum
      • getElementHomeMetadataCollectionId

        public String getElementHomeMetadataCollectionId()
        Returns the unique identifier for the metadata collection that is managed by the repository where the element originates (its home repository).
        Returns:
        String metadata collection id
      • getElementHomeMetadataCollectionName

        public String getElementHomeMetadataCollectionName()
        Return the name of the metadata collection that this asset belongs to.
        Returns:
        name string
      • getElementLicense

        public String getElementLicense()
        Return the license associated with this metadata element (null means none).
        Returns:
        string license name
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        print out of variables in a JSON-style
      • equals

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