Class EmbeddedConnection
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.EmbeddedConnection
The EmbeddedConnection is used within a VirtualConnection. It contains a connection and additional properties
the VirtualConnection uses when working with the EmbeddedConnection.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorEmbeddedConnection
(EmbeddedConnection template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the arguments for the embedded connection.Return the printable name of the embedded connection.Return the embedded connection.int
Return the position that this connector is in the list of embedded connectors.int
hashCode()
Create a hash code for this element type.void
setArguments
(Map<String, Object> arguments) Set up the arguments for the embedded connection.void
setDisplayName
(String displayName) Set up the printable name of the embedded connection.void
setEmbeddedConnection
(Connection embeddedConnection) Set up the embedded connectionvoid
setPosition
(int position) Set up the position that this connector is in the list of embedded connectors.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Field Details
-
position
protected int position -
displayName
-
arguments
-
embeddedConnection
-
-
Constructor Details
-
EmbeddedConnection
public EmbeddedConnection()Default constructor -
EmbeddedConnection
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getPosition
public int getPosition()Return the position that this connector is in the list of embedded connectors.- Returns:
- int
-
setPosition
public void setPosition(int position) Set up the position that this connector is in the list of embedded connectors.- Parameters:
position
- int
-
getDisplayName
Return the printable name of the embedded connection.- Returns:
- String name
-
setDisplayName
Set up the printable name of the embedded connection.- Parameters:
displayName
- String name
-
getArguments
Return the arguments for the embedded connection.- Returns:
- property map
-
setArguments
Set up the arguments for the embedded connection.- Parameters:
arguments
- property map
-
getEmbeddedConnection
Return the embedded connection.- Returns:
- Connection object.
-
setEmbeddedConnection
Set up the embedded connection- Parameters:
embeddedConnection
- Connection object
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classPropertyBase
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classPropertyBase
- Returns:
- int hash code
-