public class ConnectionProperties extends AssetReferenceable
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
connectionBean |
referenceableBeanparentAsset| Constructor and Description |
|---|
ConnectionProperties(AssetDescriptor parentAsset,
Connection connectionBean)
Bean constructor with parent asset
|
ConnectionProperties(AssetDescriptor parentAsset,
ConnectionProperties templateConnection)
Copy/clone Constructor to return a copy of a connection object that is connected to an asset.
|
ConnectionProperties(Connection connectionBean)
Bean constructor
|
ConnectionProperties(ConnectionProperties templateConnection)
Copy/clone Constructor to return a copy of a connection object that is not connected to an asset.
|
| 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.
|
protected Connection |
getConnectionBean()
Return the bean with all of the properties.
|
String |
getConnectionName()
Returns a formatted string with the connection name.
|
ConnectorTypeProperties |
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.
|
EndpointProperties |
getEndpoint()
Returns a copy of the properties for this connection's endpoint.
|
protected Map<String,String> |
getSecuredProperties()
Return a copy of the secured properties.
|
String |
getUserId()
Return id of the calling user.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, getSecurityTags, setBeangetAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, hashCode, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected Connection connectionBean
public ConnectionProperties(Connection connectionBean)
connectionBean - bean containing the propertiespublic ConnectionProperties(AssetDescriptor parentAsset, Connection connectionBean)
parentAsset - description of the asset that this connection is attached to.connectionBean - bean containing the propertiespublic ConnectionProperties(ConnectionProperties templateConnection)
templateConnection - Connection to copypublic ConnectionProperties(AssetDescriptor parentAsset, ConnectionProperties templateConnection)
parentAsset - description of the asset that this connection is attached to.templateConnection - template object to copy.protected Connection getConnectionBean()
public String getDisplayName()
public String getConnectionName()
public String getDescription()
public ConnectorTypeProperties getConnectorType()
public String getUserId()
public String getEncryptedPassword()
public String getClearPassword()
public EndpointProperties getEndpoint()
public Map<String,Object> getConfigurationProperties()
protected Map<String,String> getSecuredProperties()
public String toString()
toString in class AssetReferenceablepublic boolean equals(Object objectToCompare)
equals in class AssetReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.