Class DiscoveryServiceProperties

java.lang.Object
org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryServiceProperties
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RegisteredDiscoveryService

public class DiscoveryServiceProperties extends PropertyBase
DiscoveryServiceProperties contains the definition of a discovery service. This definition can be associated with multiple discovery engines.
See Also:
  • Constructor Details

    • DiscoveryServiceProperties

      public DiscoveryServiceProperties()
      Default constructor
    • DiscoveryServiceProperties

      public DiscoveryServiceProperties(DiscoveryServiceProperties template)
      Copy/clone constructor
      Parameters:
      template - object 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
    • getDisplayName

      public String getDisplayName()
      Returns the stored display name property for the asset. If no display name is available then null is returned.
      Returns:
      String name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the stored display name property for the asset.
      Parameters:
      displayName - String name
    • getDescription

      public String getDescription()
      Returns the stored description property for the asset. If no description is provided then null is returned.
      Returns:
      description String text
    • setDescription

      public void setDescription(String description)
      Set up the stored description property associated with the asset.
      Parameters:
      description - String text
    • 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
    • getConnection

      public Connection getConnection()
      Return the connection used to create a instance of this discovery service.
      Returns:
      Connection object
    • setConnection

      public void setConnection(Connection connection)
      Set up the connection used to create a instance of this discovery service.
      Parameters:
      connection - connection object
    • 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()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code