public class Connection extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected ConnectorType |
connectorType |
protected String |
description |
protected String |
displayName |
protected Endpoint |
endpoint |
protected Map<String,Object> |
securedProperties |
additionalProperties, qualifiedNameclassifications, guid, type, url| Constructor and Description |
|---|
Connection()
Default constructor sets the Connection properties to null.
|
Connection(Connection templateConnection)
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.
|
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.
|
Endpoint |
getEndpoint()
Returns a copy of the properties for this connection's endpoint.
|
Map<String,Object> |
getSecuredProperties()
Return a copy of the secured properties.
|
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 |
setEndpoint(Endpoint endpoint)
Set up the endpoint properties for this Connection.
|
void |
setSecuredProperties(Map<String,Object> securedProperties)
Set up the secured properties for this Connection.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNamegetClassifications, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected String displayName
protected String description
protected ConnectorType connectorType
protected Endpoint endpoint
public Connection()
public Connection(Connection templateConnection)
templateConnection - 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 void setEndpoint(Endpoint endpoint)
endpoint - Endpoint properties objectpublic Endpoint getEndpoint()
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 objectCopyright © 2018 ODPi. All rights reserved.