Class EmbeddedConnectionProperties
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.EmbeddedConnectionProperties
-
- All Implemented Interfaces:
Serializable
public class EmbeddedConnectionProperties extends AssetPropertyBase
EmbeddedConnectionProperties provides a facade for the properties of a Connection that is embedded in a VirtualConnection.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected EmbeddedConnectionembeddedConnectionBean-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
parentAsset
-
-
Constructor Summary
Constructors Constructor Description EmbeddedConnectionProperties(AssetDescriptor parentAsset, EmbeddedConnection embeddedConnectionBean)Bean constructor with parent assetEmbeddedConnectionProperties(AssetDescriptor parentAsset, EmbeddedConnectionProperties template)Copy/clone constructor makes a copy of the supplied object.EmbeddedConnectionProperties(EmbeddedConnection embeddedConnectionBean)Bean constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.Map<String,Object>getArguments()Return the list of properties associated with this schema link.ConnectionPropertiesgetConnectionProperties()Return the connection properties used to create the connector for this embedded connection.StringgetDisplayName()Return the display name of the embedded connection.protected EmbeddedConnectiongetEmbeddedConnectionBean()Return the bean with all of the propertiesintgetPosition()Return the position that this connector is in the list of embedded connectors.inthashCode()Create a hash code for this element type.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyBase
getParentAsset, getParentAssetName, getParentAssetTypeName
-
-
-
-
Field Detail
-
embeddedConnectionBean
protected EmbeddedConnection embeddedConnectionBean
-
-
Constructor Detail
-
EmbeddedConnectionProperties
public EmbeddedConnectionProperties(EmbeddedConnection embeddedConnectionBean)
Bean constructor- Parameters:
embeddedConnectionBean- bean containing all of the properties
-
EmbeddedConnectionProperties
public EmbeddedConnectionProperties(AssetDescriptor parentAsset, EmbeddedConnection embeddedConnectionBean)
Bean constructor with parent asset- Parameters:
parentAsset- descriptor of parent assetembeddedConnectionBean- bean containing all of the properties
-
EmbeddedConnectionProperties
public EmbeddedConnectionProperties(AssetDescriptor parentAsset, EmbeddedConnectionProperties template)
Copy/clone constructor makes a copy of the supplied object.- Parameters:
parentAsset- descriptor of parent assettemplate- template object to copy
-
-
Method Detail
-
getEmbeddedConnectionBean
protected EmbeddedConnection getEmbeddedConnectionBean()
Return the bean with all of the properties- Returns:
- schema link bean
-
getPosition
public int getPosition()
Return the position that this connector is in the list of embedded connectors.- Returns:
- int
-
getDisplayName
public String getDisplayName()
Return the display name of the embedded connection.- Returns:
- String name
-
getConnectionProperties
public ConnectionProperties getConnectionProperties()
Return the connection properties used to create the connector for this embedded connection.- Returns:
- String name
-
getArguments
public Map<String,Object> getArguments()
Return the list of properties associated with this schema link.- Returns:
- map of properties
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAssetPropertyBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classAssetPropertyBase- Returns:
- int hash code
-
-