Class CapabilityDeploymentProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.CapabilityDeploymentProperties
-
- All Implemented Interfaces:
Serializable
public class CapabilityDeploymentProperties extends RelationshipProperties
CapabilityDeploymentProperties describes the properties for the SupportedSoftwareCapability relationship between a ITInfrastructure asset and a Software Capability.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CapabilityDeploymentProperties()Default constructorCapabilityDeploymentProperties(CapabilityDeploymentProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>cloneToMap()Turn the properties into a property map.booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetDeployer()Return the userId of the deployer.StringgetDeployerPropertyName()Return the property name from the element used to represent the deployer.StringgetDeployerTypeName()Return the type name of the element used to represent the deployer.DategetDeploymentTime()Return the time that the capability was deployed into the server.OperationalStatusgetSoftwareCapabilityStatus()Return whether the capability is ready to use.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.voidsetDeploymentTime(Date deploymentTime)Set up the time that the capability was deployed into the server.voidsetSoftwareCapabilityStatus(OperationalStatus softwareCapabilityStatus)Set up whether the capability is ready to use.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
-
-
-
Constructor Detail
-
CapabilityDeploymentProperties
public CapabilityDeploymentProperties()
Default constructor
-
CapabilityDeploymentProperties
public CapabilityDeploymentProperties(CapabilityDeploymentProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
cloneToMap
public Map<String,Object> cloneToMap()
Turn the properties into a property map.- Returns:
- property map.
-
getDeploymentTime
public Date getDeploymentTime()
Return the time that the capability was deployed into the server.- Returns:
- date/time
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
Set up the time that the capability was deployed into the server.- Parameters:
deploymentTime- date/time
-
getDeployer
public String getDeployer()
Return the userId of the deployer.- Returns:
- name
-
setDeployer
public void setDeployer(String deployer)
Set up the userId of the deployer.- Parameters:
deployer- name
-
getDeployerTypeName
public String getDeployerTypeName()
Return the type name of the element used to represent the deployer.- Returns:
- string name
-
setDeployerTypeName
public void setDeployerTypeName(String deployerTypeName)
Set up the type name of the element used to represent the deployer.- Parameters:
deployerTypeName- string name
-
getDeployerPropertyName
public String getDeployerPropertyName()
Return the property name from the element used to represent the deployer.- Returns:
- string name
-
setDeployerPropertyName
public void setDeployerPropertyName(String deployerPropertyName)
Set up the property name from the element used to represent the deployer.- Parameters:
deployerPropertyName- string name
-
getSoftwareCapabilityStatus
public OperationalStatus getSoftwareCapabilityStatus()
Return whether the capability is ready to use.- Returns:
- operational status enum
-
setSoftwareCapabilityStatus
public void setSoftwareCapabilityStatus(OperationalStatus softwareCapabilityStatus)
Set up whether the capability is ready to use.- Parameters:
softwareCapabilityStatus- operational status enum
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
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
-
-