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.openmetadata.metadataelements.ElementControlHeader
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 org.odpi.openmetadata.frameworks.openmetadata.metadataelements.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
getAssetSummary, getClearPassword, getConfigurationProperties, getConnectionType, getConnectorType, getDescription, getDisplayName, getEncryptedPassword, getEndpoint, getSecuredProperties, getUserId, setAssetSummary, setClearPassword, setConfigurationProperties, setConnectorType, setDescription, setDisplayName, setEncryptedPassword, setEndpoint, setSecuredProperties, setUserIdMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods 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
public static org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementType 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
-