java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Connection
All Implemented Interfaces:
Serializable

public class Connection extends Object implements Serializable
The Connection object contains the properties needed to access a specific data assets.
See Also:
  • Constructor Details

    • Connection

      public Connection(String guid, String qualifiedName)
      Instantiates a new Connection.
      Parameters:
      guid - the unique identifier of the connection
      qualifiedName - the qualified name of the connection
    • Connection

      public Connection()
  • Method Details

    • getSecuredProperties

      public Map<String,String> getSecuredProperties()
      Return the connection's secured properties
      Returns:
      the connection's secured properties
    • getGuid

      public String getGuid()
      Return the connection unique identifier
      Returns:
      String - unique identifier of the connection
    • getDisplayName

      public String getDisplayName()
      Return the display name
      Returns:
      the display name of the connection
    • getDescription

      public String getDescription()
      Return the description
      Returns:
      the description of the connection
    • getQualifiedName

      public String getQualifiedName()
      Return the qualified name
      Returns:
      the qualified name of the connection
    • setSecuredProperties

      public void setSecuredProperties(Map<String,String> securedProperties)
      Set up the secured properties of the connection
      Parameters:
      securedProperties - the connection's secured properties
    • setGuid

      public void setGuid(String guid)
      Set up the unique identifier of the connection
      Parameters:
      guid - of the connection
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name of the connection
      Parameters:
      displayName - the display name of the connection
    • setDescription

      public void setDescription(String description)
      Set up the description of the connection
      Parameters:
      description - the description of the connection
    • setQualifiedName

      public void setQualifiedName(String qualifiedName)
      Set up the qualified name of the connection
      Parameters:
      qualifiedName - the qualified name of the connection
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object