public class Connection extends Referenceable
| Constructor and Description |
|---|
Connection()
Default constructor
|
Connection(Connection template)
Copy/clone constructor.
|
| 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 |
getClearPassword()
Return an unencrypted password.
|
Map<String,Object> |
getConfigurationProperties()
Return a copy of the configuration properties.
|
String |
getDescription()
Returns the stored description property for the asset.
|
String |
getDisplayName()
Returns the stored display name property for the asset.
|
String |
getEncryptedPassword()
Return an encrypted password.
|
String |
getNetworkAddress()
Return the endpoint that this connection points to.
|
Map<String,Object> |
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 |
setClearPassword(String clearPassword)
Set up an unencrypted password.
|
void |
setConfigurationProperties(Map<String,Object> configurationProperties)
Set up the configuration properties for this Connection.
|
void |
setDescription(String description)
Set up the stored description property associated with the asset.
|
void |
setDisplayName(String displayName)
Set up the stored display name property for the asset.
|
void |
setEncryptedPassword(String encryptedPassword)
Set up an encrypted password.
|
void |
setNetworkAddress(String networkAddress)
Set up the endpoint that this connection points to.
|
void |
setSecuredProperties(Map<String,Object> 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, getConfidence, getConfidentiality, getCriticality, getExtendedProperties, getGUID, getImpact, getQualifiedName, getRetention, getSecurityLabels, getSecurityProperties, getStatus, getTypeGUID, getTypeName, setAdditionalProperties, setConfidence, setConfidentiality, setCriticality, setExtendedProperties, setGUID, setImpact, setQualifiedName, setRetention, setSecurityLabels, setSecurityProperties, setStatus, setTypeGUID, setTypeNamepublic Connection()
public Connection(Connection template)
template - template values for asset summarypublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - String namepublic String getDescription()
public void setDescription(String description)
description - String textpublic String getNetworkAddress()
public void setNetworkAddress(String networkAddress)
networkAddress - string - typically urlpublic 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 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,Object> securedProperties)
securedProperties - properties that contain secret information such as log on information.public Map<String,Object> getSecuredProperties()
public 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.