Class AssetReferenceable

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ConnectionProperties, ConnectorTypeProperties, EndpointProperties

    public class AssetReferenceable
    extends AssetElementHeader
    Many open metadata entities are referenceable. It means that they have a qualified name and additional properties. In addition, the Referenceable class adds support for the parent asset, guid, url and type for the entity through extending ElementBase. There is also the possibility that referenceable may have meanings (glossary terms) and security tags assigned. Asset meanings are extracted on demand by the caller.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • AssetReferenceable

        protected AssetReferenceable()
        Constructor used by the subclasses
      • AssetReferenceable

        protected AssetReferenceable​(Referenceable referenceableBean)
        Bean constructor
        Parameters:
        referenceableBean - bean containing all the properties
      • AssetReferenceable

        public AssetReferenceable​(AssetReferenceable template)
        Copy/clone constructor with parent asset.
        Parameters:
        template - element to copy
    • Method Detail

      • setBean

        protected void setBean​(Referenceable referenceableBean)
        Set up the bean that contains the properties of the referenceable.
        Parameters:
        referenceableBean - bean containing all the properties
      • getReferenceableBean

        protected Referenceable getReferenceableBean()
        Return the bean for this referenceable.
        Returns:
        Referenceable object with all the properties
      • getQualifiedName

        public java.lang.String getQualifiedName()
        Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.
        Returns:
        qualifiedName
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
        Return a copy of the additional properties. Null means no additional properties are available.
        Returns:
        AdditionalProperties
      • toString

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

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