Class VirtualConnection
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
org.odpi.openmetadata.frameworks.connectors.properties.beans.VirtualConnection
A virtual connection is for an asset that provides data by delegating requests to one or more other connections.
it maintains a list of the connections that are used by its asset. These are referred to as embedded connections.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedPropertiesFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorVirtualConnection(VirtualConnection templateVirtualConnection) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of embedded connections for this virtual connection.static ElementTypeReturn the standard type for a connection type.inthashCode()Hash of propertiesvoidsetEmbeddedConnections(List<EmbeddedConnection> embeddedConnections) Set up the list of embedded connections for this virtual connection.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
getClearPassword, getConfigurationProperties, getConnectionType, getConnectorType, getEncryptedPassword, getEndpoint, getSecuredProperties, getUserId, setClearPassword, setConfigurationProperties, setConnectorType, setEncryptedPassword, setEndpoint, setSecuredProperties, setUserIdMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getDescription, getDisplayName, getQualifiedName, getVersionIdentifier, setAdditionalProperties, setDescription, setDisplayName, setQualifiedName, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getGUID, setExtendedProperties, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
VirtualConnection
public VirtualConnection()Default constructor -
VirtualConnection
Copy/clone constructor.- Parameters:
templateVirtualConnection- element to copy
-
-
Method Details
-
getVirtualConnectionType
Return the standard type for a connection type.- Returns:
- ElementType object
-
getEmbeddedConnections
Return the list of embedded connections for this virtual connection.- Returns:
- list of EmbeddedConnection objects
-
setEmbeddedConnections
Set up the list of embedded connections for this virtual connection.- Parameters:
embeddedConnections- list of EmbeddedConnection objects
-
toString
Standard toString method.- Overrides:
toStringin classConnection- 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:
equalsin classConnection- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classConnection- Returns:
- int
-