Class EmbeddedConnection
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.EmbeddedConnection
The EmbeddedConnection is used within a VirtualConnection to link to the embedded connections.
-
Field Summary
-
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
(ElementStub 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.
-
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:
- header of Connection object.
-
setEmbeddedConnection
Set up the embedded connection- Parameters:
embeddedConnection
- header of Connection object
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-