Class DiscoveryServiceProperties

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • DiscoveryServiceProperties

        public DiscoveryServiceProperties()
        Default constructor
      • DiscoveryServiceProperties

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

      • setQualifiedName

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

        public java.lang.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​(java.lang.String displayName)
        Set up the stored display name property for the asset.
        Parameters:
        displayName - String name
      • getDescription

        public java.lang.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​(java.lang.String description)
        Set up the stored description property associated with the asset.
        Parameters:
        description - String text
      • setAdditionalProperties

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> additionalProperties)
        Set up additional properties.
        Parameters:
        additionalProperties - Additional properties object
      • 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
      • 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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        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 java.lang.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 java.lang.Object
        Returns:
        int hash code