Class DeploymentProperties
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.properties.ConfigurationItemRelationshipProperties
org.odpi.openmetadata.accessservices.itinfrastructure.properties.DeploymentProperties
DeploymentProperties describes the properties for the DeployedOn relationship between an IT Infrastructure asset
and a destination asset.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructorDeploymentProperties(DeploymentProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionTurn the properties into a property map.booleanEquals 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.org.odpi.openmetadata.frameworks.openmetadata.enums.OperationalStatusReturn whether the capability is ready to use.Return the time that the capability was deployed into the server.inthashCode()Hash code for this objectvoidsetDeployer(String deployer) Set up the userId of the deployer.voidsetDeployerPropertyName(String deployerPropertyName) Set up the property name from the element used to represent the deployer.voidsetDeployerTypeName(String deployerTypeName) Set up the type name of the element used to represent the deployer.voidsetDeploymentStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.OperationalStatus deploymentStatus) Set up whether the capability is ready to use.voidsetDeploymentTime(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.accessservices.itinfrastructure.properties.ConfigurationItemRelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
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
public org.odpi.openmetadata.frameworks.openmetadata.enums.OperationalStatus getDeploymentStatus()Return whether the capability is ready to use.- Returns:
- operational status enum
-
setDeploymentStatus
public void setDeploymentStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.OperationalStatus deploymentStatus) Set up whether the capability is ready to use.- Parameters:
deploymentStatus- operational status enum
-
toString
JSON-style toString.- Overrides:
toStringin classConfigurationItemRelationshipProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classConfigurationItemRelationshipProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCodein classConfigurationItemRelationshipProperties- Returns:
- int
-