Class VirtualConnection
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
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.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorVirtualConnection
(VirtualConnection templateVirtualConnection) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of embedded connections for this virtual connection.static ElementType
Return the standard type for a connection type.int
hashCode()
Hash of propertiesvoid
setEmbeddedConnections
(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
getAssetSummary, getClearPassword, getConfigurationProperties, getConnectionType, getConnectorType, getDescription, getDisplayName, getEncryptedPassword, getEndpoint, getSecuredProperties, getUserId, setAssetSummary, setClearPassword, setConfigurationProperties, setConnectorType, setDescription, setDisplayName, setEncryptedPassword, setEndpoint, setSecuredProperties, setUserId
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
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:
toString
in 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:
equals
in classConnection
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classConnection
- Returns:
- int
-