public class Connection extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
assetSummary |
protected String |
clearPassword |
protected Map<String,Object> |
configurationProperties |
protected ConnectorType |
connectorType |
protected String |
description |
protected String |
displayName |
protected String |
encryptedPassword |
protected Endpoint |
endpoint |
protected Map<String,String> |
securedProperties |
protected String |
userId |
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTagsclassifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
Connection()
Default constructor sets the Connection properties to null.
|
Connection(Connection template)
Copy/clone Constructor to return a copy of a connection object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getAssetSummary()
Return the description of the asset that this connection is linked to - or null if no asset connected, or the asset summary
property in the relationship is not set.
|
String |
getClearPassword()
Return an unencrypted password.
|
Map<String,Object> |
getConfigurationProperties()
Return a copy of the configuration properties.
|
static ElementType |
getConnectionType()
Return the standard type for a connection type.
|
ConnectorType |
getConnectorType()
Returns a copy of the properties for this connection's connector type.
|
String |
getDescription()
Returns the stored description property for the connection.
|
String |
getDisplayName()
Returns the stored display name property for the connection.
|
String |
getEncryptedPassword()
Return an encrypted password.
|
Endpoint |
getEndpoint()
Returns a copy of the properties for this connection's endpoint.
|
Map<String,String> |
getSecuredProperties()
Return a copy of the secured properties.
|
String |
getUserId()
Return the userId to use on this connection.
|
int |
hashCode()
Return has code based on properties.
|
void |
setAssetSummary(String assetSummary)
Set up the description of the asset that this connection is linked to - or null if no asset connected, or the asset summary
property in the relationship is not set.
|
void |
setClearPassword(String clearPassword)
Set up an unencrypted password.
|
void |
setConfigurationProperties(Map<String,Object> configurationProperties)
Set up the configuration properties for this Connection.
|
void |
setConnectorType(ConnectorType connectorType)
Set up the connector type properties for this Connection.
|
void |
setDescription(String description)
Set up description of the element.
|
void |
setDisplayName(String displayName)
Set up the display name for UIs and reports.
|
void |
setEncryptedPassword(String encryptedPassword)
Set up an encrypted password.
|
void |
setEndpoint(Endpoint endpoint)
Set up the endpoint properties for this Connection.
|
void |
setSecuredProperties(Map<String,String> securedProperties)
Set up the secured properties for this Connection.
|
void |
setUserId(String userId)
Set up the the userId to use on this connection.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTagsgetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected String displayName
protected String description
protected ConnectorType connectorType
protected Endpoint endpoint
protected String userId
protected String encryptedPassword
protected String clearPassword
protected String assetSummary
public Connection()
public Connection(Connection template)
template - Connection to copypublic static ElementType getConnectionType()
public String getDisplayName()
public void setDisplayName(String displayName)
displayName - String namepublic void setDescription(String description)
description - Stringpublic String getDescription()
public void setConnectorType(ConnectorType connectorType)
connectorType - ConnectorType properties objectpublic ConnectorType getConnectorType()
public String getUserId()
public void setUserId(String userId)
userId - stringpublic String getEncryptedPassword()
public void setEncryptedPassword(String encryptedPassword)
encryptedPassword - stringpublic String getClearPassword()
public void setClearPassword(String clearPassword)
clearPassword - stringpublic void setEndpoint(Endpoint endpoint)
endpoint - Endpoint properties objectpublic Endpoint getEndpoint()
public void setConfigurationProperties(Map<String,Object> configurationProperties)
configurationProperties - properties that contain additional configuration information for the connector.public Map<String,Object> getConfigurationProperties()
public void setSecuredProperties(Map<String,String> securedProperties)
securedProperties - properties that contain secret information such as log on information.public Map<String,String> getSecuredProperties()
public String getAssetSummary()
public void setAssetSummary(String assetSummary)
assetSummary - string descriptionpublic String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.