Class EmbeddedConnectionProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EmbeddedConnectionProperties
The EmbeddedConnectionProperties is used within a VirtualConnection to link to the embedded connections.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/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.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
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.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Field Details
-
position
protected int position -
displayName
-
arguments
-
-
Constructor Details
-
EmbeddedConnectionProperties
public EmbeddedConnectionProperties()Default constructor -
EmbeddedConnectionProperties
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
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-