Class ReferenceableProperties

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
      Return a copy of the additional properties.
      java.util.Map<java.lang.String,​java.lang.Object> getExtendedProperties()
      Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.
      java.lang.String getQualifiedName()
      Returns the stored qualified name property for the metadata entity.
      java.lang.String getTypeName()
      Return the open metadata type name of this object - this is used to create a subtype of the referenceable.
      int hashCode()
      Return hash code for this object
      void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> additionalProperties)
      Set up additional properties.
      void setExtendedProperties​(java.util.Map<java.lang.String,​java.lang.Object> extendedProperties)
      Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.
      void setQualifiedName​(java.lang.String qualifiedName)
      Set up the fully qualified name.
      void setTypeName​(java.lang.String typeName)
      Set up the open metadata type name of this object - this is used to create a subtype of the referenceable.
      java.lang.String toString()
      JSON-style toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReferenceableProperties

        public ReferenceableProperties()
        Default constructor
      • ReferenceableProperties

        public ReferenceableProperties​(ReferenceableProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getTypeName

        public java.lang.String getTypeName()
        Return the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.
        Returns:
        string type name
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
        Set up the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.
        Parameters:
        typeName - string type name
      • 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
      • setQualifiedName

        public void setQualifiedName​(java.lang.String qualifiedName)
        Set up the fully qualified name.
        Parameters:
        qualifiedName - String name
      • 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
      • setAdditionalProperties

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> additionalProperties)
        Set up additional properties.
        Parameters:
        additionalProperties - Additional properties object
      • getExtendedProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getExtendedProperties()
        Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.
        Returns:
        map of properties
      • setExtendedProperties

        public void setExtendedProperties​(java.util.Map<java.lang.String,​java.lang.Object> extendedProperties)
        Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.
        Parameters:
        extendedProperties - map of properties
      • toString

        public java.lang.String toString()
        JSON-style toString.
        Overrides:
        toString in class java.lang.Object
        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 java.lang.Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code