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
ConstructorsConstructorDescriptionDefault constructorDeploymentElement(DeploymentElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.inthashCode()Return hash code for this objectvoidsetAssetElement(AssetElement assetElement) Set up the related asset.voidsetDeploymentProperties(DeploymentProperties deploymentProperties) Set up the properties from the DeployedOn relationship.voidsetElementHeader(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:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the relationship.- Specified by:
setElementHeaderin 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
-