java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.properties.ReferenceableProperties
Direct Known Subclasses:
GovernanceActionElement, GovernanceActionTypeProperties, GovernanceEngineProperties, GovernanceServiceProperties, IntegrationConnectorProperties, IntegrationGroupProperties

public class ReferenceableProperties extends Object
Many open metadata entities are referenceable. It means that they have a qualified name and additional properties.
  • Constructor Details

    • ReferenceableProperties

      public ReferenceableProperties()
      Default constructor
    • ReferenceableProperties

      public ReferenceableProperties(ReferenceableProperties template)
      Copy/clone constructor. Retrieves the values from the supplied template
      Parameters:
      template - element to copy
  • Method Details

    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the fully qualified name.
      Parameters:
      qualifiedName - String name
    • getQualifiedName

      public 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
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,String> additionalProperties)
      Set up additional properties.
      Parameters:
      additionalProperties - Additional properties object
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Return a copy of the additional properties. Null means no additional properties are available.
      Returns:
      AdditionalProperties
    • 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 Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int