Class VirtualConnection
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.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
-
- All Implemented Interfaces:
Serializable
public class VirtualConnection extends Connection
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.- See Also:
- Serialized Form
-
-
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, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description VirtualConnection()Default constructorVirtualConnection(VirtualConnection templateVirtualConnection)Copy/clone constructor.
-
Method Summary
All Methods Static 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.List<EmbeddedConnection>getEmbeddedConnections()Return the list of embedded connections for this virtual connection.static ElementTypegetVirtualConnectionType()Return 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.StringtoString()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, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
VirtualConnection
public VirtualConnection()
Default constructor
-
VirtualConnection
public VirtualConnection(VirtualConnection templateVirtualConnection)
Copy/clone constructor.- Parameters:
templateVirtualConnection- element to copy
-
-
Method Detail
-
getVirtualConnectionType
public static ElementType getVirtualConnectionType()
Return the standard type for a connection type.- Returns:
- ElementType object
-
getEmbeddedConnections
public List<EmbeddedConnection> getEmbeddedConnections()
Return the list of embedded connections for this virtual connection.- Returns:
- list of EmbeddedConnection objects
-
setEmbeddedConnections
public void setEmbeddedConnections(List<EmbeddedConnection> embeddedConnections)
Set up the list of embedded connections for this virtual connection.- Parameters:
embeddedConnections- list of EmbeddedConnection objects
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classConnection- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-