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.
|
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.
|
EndpointProperties |
getEndpoint()
Returns a copy of the properties for this connection's endpoint.
|
protected AdditionalProperties |
getSecuredProperties()
Return a copy of the secured properties.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getQualifiedName, getReferenceableBeangetAssetClassifications, getElementHeaderBean, getGUID, getType, getURL, hashCodegetParentAsset, 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 EndpointProperties getEndpoint()
protected AdditionalProperties getSecuredProperties()
public String toString()
toString in class AssetReferenceablepublic boolean equals(Object objectToCompare)
equals in class AssetReferenceableobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.