Class DeploymentElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.DeploymentElement
- All Implemented Interfaces:
MetadataElement
DeploymentElement contains the properties and header for a DeployedOn relationship retrieved from the repository.
The related asset element is the other end of the relationship relative to the query.
-
Constructor Summary
ConstructorDescriptionDefault constructorDeploymentElement
(DeploymentElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the related asset.Return the properties from the DeployedOn relationship.Return the element header associated with the relationship.int
hashCode()
Return hash code for this objectvoid
setAssetElement
(AssetElement assetElement) Set up the related asset.void
setDeploymentProperties
(DeploymentProperties deploymentProperties) Set up the properties from the DeployedOn relationship.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the relationship.toString()
JSON-style toString
-
Constructor Details
-
DeploymentElement
public DeploymentElement()Default constructor -
DeploymentElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the relationship.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the relationship.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getDeploymentProperties
Return the properties from the DeployedOn relationship.- Returns:
- properties
-
setDeploymentProperties
Set up the properties from the DeployedOn relationship.- Parameters:
deploymentProperties
- properties
-
getAssetElement
Return the related asset.- Returns:
- header
-
setAssetElement
Set up the related asset.- Parameters:
assetElement
- asset
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-