Class Connection
java.lang.Object
org.odpi.openmetadata.accessservices.assetcatalog.model.Connection
- All Implemented Interfaces:
Serializable
The Connection object contains the properties needed to access a specific data assets.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnection
(String guid, String qualifiedName) Instantiates a new Connection. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Return the descriptionReturn the display namegetGuid()
Return the connection unique identifierReturn the qualified nameReturn the connection's secured propertiesint
hashCode()
void
setDescription
(String description) Set up the description of the connectionvoid
setDisplayName
(String displayName) Set up the display name of the connectionvoid
Set up the unique identifier of the connectionvoid
setQualifiedName
(String qualifiedName) Set up the qualified name of the connectionvoid
setSecuredProperties
(Map<String, String> securedProperties) Set up the secured properties of the connectiontoString()
-
Constructor Details
-
Connection
Instantiates a new Connection.- Parameters:
guid
- the unique identifier of the connectionqualifiedName
- the qualified name of the connection
-
Connection
public Connection()
-
-
Method Details
-
getSecuredProperties
Return the connection's secured properties- Returns:
- the connection's secured properties
-
getGuid
Return the connection unique identifier- Returns:
- String - unique identifier of the connection
-
getDisplayName
Return the display name- Returns:
- the display name of the connection
-
getDescription
Return the description- Returns:
- the description of the connection
-
getQualifiedName
Return the qualified name- Returns:
- the qualified name of the connection
-
setSecuredProperties
Set up the secured properties of the connection- Parameters:
securedProperties
- the connection's secured properties
-
setGuid
Set up the unique identifier of the connection- Parameters:
guid
- of the connection
-
setDisplayName
Set up the display name of the connection- Parameters:
displayName
- the display name of the connection
-
setDescription
Set up the description of the connection- Parameters:
description
- the description of the connection
-
setQualifiedName
Set up the qualified name of the connection- Parameters:
qualifiedName
- the qualified name of the connection
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-