Class CapabilityDeploymentProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.CapabilityDeploymentProperties
CapabilityDeploymentProperties describes the properties for the SupportedSoftwareCapability relationship between a ITInfrastructure asset
and a Software Capability.
-
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 property name from the element used to represent the deployer.Return the type name of the element used to represent the deployer.Return the time that the capability was deployed into the server.Return whether the capability is ready to use.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
setDeploymentTime
(Date deploymentTime) Set up the time that the capability was deployed into the server.void
setSoftwareCapabilityStatus
(OperationalStatus softwareCapabilityStatus) Set up whether the capability 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
-
CapabilityDeploymentProperties
public CapabilityDeploymentProperties()Default constructor -
CapabilityDeploymentProperties
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 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
-
getSoftwareCapabilityStatus
Return whether the capability is ready to use.- Returns:
- operational status enum
-
setSoftwareCapabilityStatus
Set up whether the capability is ready to use.- Parameters:
softwareCapabilityStatus
- 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
-