Class DeploymentElement
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.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.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn 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(org.odpi.openmetadata.frameworks.connectors.properties.beans.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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the relationship.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) 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
-