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
ConstructorDescriptionDefault constructorCopy/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 time that the platform was deployed into the host.Return whether the platform is ready to use.int
hashCode()
Hash code for this objectvoid
setDeployer
(String deployer) Set up the userId of the deployer.void
setDeploymentTime
(Date deploymentTime) Set up the time that the platform was deployed into the host.void
setPlatformDeploymentStatus
(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:
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
-