Class DeploymentProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.infrastructure.DeploymentProperties
DeploymentProperties describes the properties for the DeployedOn relationship between an IT Infrastructure asset
and a destination asset.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructorDeploymentProperties
(DeploymentProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionTurn the properties into a property map.boolean
Equals method that returns true if containing properties are the same.Return the userId of the deployer.Return the property name from the element used to represent the deployer.Return the type name of the element used to represent the deployer.Return whether the capability is ready to use.Return the time that the capability was deployed into the server.int
hashCode()
Hash code for this objectvoid
setDeployer
(String deployer) Set up the userId of the deployer.void
setDeployerPropertyName
(String deployerPropertyName) Set up the property name from the element used to represent the deployer.void
setDeployerTypeName
(String deployerTypeName) Set up the type name of the element used to represent the deployer.void
setDeploymentStatus
(OperationalStatus deploymentStatus) Set up whether the capability is ready to use.void
setDeploymentTime
(Date deploymentTime) Set up the time that the capability was deployed into the server.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DeploymentProperties
public DeploymentProperties()Default constructor -
DeploymentProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
DeploymentProperties
Copy/clone constructor- Parameters:
properties
- property mapeffectiveFrom
- effective fromeffectiveTo
- effective to
-
-
Method Details
-
cloneToMap
Turn the properties into a property map.- Returns:
- property map.
-
getDeploymentTime
Return the time that the capability was deployed into the server.- Returns:
- date/time
-
setDeploymentTime
Set up the time that the capability was deployed into the server.- Parameters:
deploymentTime
- date/time
-
getDeployer
Return the userId of the deployer.- Returns:
- name
-
setDeployer
Set up the userId of the deployer.- Parameters:
deployer
- name
-
getDeployerTypeName
Return the type name of the element used to represent the deployer.- Returns:
- string name
-
setDeployerTypeName
Set up the type name of the element used to represent the deployer.- Parameters:
deployerTypeName
- string name
-
getDeployerPropertyName
Return the property name from the element used to represent the deployer.- Returns:
- string name
-
setDeployerPropertyName
Set up the property name from the element used to represent the deployer.- Parameters:
deployerPropertyName
- string name
-
getDeploymentStatus
Return whether the capability is ready to use.- Returns:
- operational status enum
-
setDeploymentStatus
Set up whether the capability is ready to use.- Parameters:
deploymentStatus
- operational status enum
-
toString
JSON-style toString.- Overrides:
toString
in classRelationshipProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-