Class PlatformDeploymentProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.infrastructure.PlatformDeploymentProperties
PlatformDeploymentProperties describes the properties for the SoftwareServerPlatformDeployment relationship between a Software Server Platform
and a Host.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/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 time that the platform was deployed into the host.Return whether the platform is ready to use.inthashCode()Hash code for this objectvoidsetDeployer(String deployer) Set up the userId of the deployer.voidsetDeploymentTime(Date deploymentTime) Set up the time that the platform was deployed into the host.voidsetPlatformDeploymentStatus(OperationalStatus platformDeploymentStatus) Set up whether the platform is ready to use.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
PlatformDeploymentProperties
public PlatformDeploymentProperties()Default constructor -
PlatformDeploymentProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
cloneToMap
Turn the properties into a property map.- Returns:
- property map.
-
getDeploymentTime
Return the time that the platform was deployed into the host.- Returns:
- date/time
-
setDeploymentTime
Set up the time that the platform was deployed into the host.- Parameters:
deploymentTime- date/time
-
getDeployer
Return the userId of the deployer.- Returns:
- name
-
setDeployer
Set up the userId of the deployer.- Parameters:
deployer- name
-
getPlatformDeploymentStatus
Return whether the platform is ready to use.- Returns:
- operational status enum
-
setPlatformDeploymentStatus
Set up whether the platform is ready to use.- Parameters:
platformDeploymentStatus- operational status enum
-
toString
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-