Class SoftwareServerPlatformProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
-
- org.odpi.openmetadata.accessservices.devops.properties.AssetProperties
-
- org.odpi.openmetadata.accessservices.devops.properties.ITInfrastructureProperties
-
- org.odpi.openmetadata.accessservices.devops.properties.SoftwareServerPlatformProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SoftwareServerPlatformRequestBody
public class SoftwareServerPlatformProperties extends ITInfrastructureProperties
SoftwareServerPlatformProperties is a representation of the properties for a software server platform. This is the process that is visible to the operating system or container.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SoftwareServerPlatformProperties()Default constructorSoftwareServerPlatformProperties(AssetProperties template)Copy/clone constructorSoftwareServerPlatformProperties(SoftwareServerPlatformProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetPropertiescloneToAsset()Convert this object into an AssetProperties object.AssetPropertiescloneToAsset(String subTypeName)Convert this object into an AssetProperties object.booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetSoftwareServerPlatformSource()Return the source (such as vendor or operator) of the server.StringgetSoftwareServerPlatformType()Return the type description for the server's type.StringgetSoftwareServerPlatformUserId()Return the user identity of the server.StringgetSoftwareServerPlatformVersion()Return the version of the server.inthashCode()Return has code based on properties.voidsetSoftwareServerSource(String platformSource)Set up the source (such as vendor or operator) of the server.voidsetSoftwareServerType(String platformType)Set up the type description for the server's type.voidsetSoftwareServerUserId(String platformUserId)Set up the user identity of the server.voidsetSoftwareServerVersion(String platformVersion)Set up the version of the server.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.AssetProperties
getDescription, getDisplayName, setDescription, setDisplayName
-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
SoftwareServerPlatformProperties
public SoftwareServerPlatformProperties()
Default constructor
-
SoftwareServerPlatformProperties
public SoftwareServerPlatformProperties(SoftwareServerPlatformProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
SoftwareServerPlatformProperties
public SoftwareServerPlatformProperties(AssetProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
cloneToAsset
public AssetProperties cloneToAsset()
Convert this object into an AssetProperties object. This involves packing the additional properties introduced at this level into the extended properties.- Returns:
- asset properties
-
cloneToAsset
public AssetProperties cloneToAsset(String subTypeName)
Convert this object into an AssetProperties object. This involves packing the properties introduced at this level into the extended properties.- Overrides:
cloneToAssetin classITInfrastructureProperties- Parameters:
subTypeName- subtype name- Returns:
- asset properties
-
getSoftwareServerPlatformType
public String getSoftwareServerPlatformType()
Return the type description for the server's type.- Returns:
- type description string
-
setSoftwareServerType
public void setSoftwareServerType(String platformType)
Set up the type description for the server's type.- Parameters:
platformType- type description string
-
getSoftwareServerPlatformVersion
public String getSoftwareServerPlatformVersion()
Return the version of the server.- Returns:
- version string
-
setSoftwareServerVersion
public void setSoftwareServerVersion(String platformVersion)
Set up the version of the server.- Parameters:
platformVersion- version string
-
getSoftwareServerPlatformSource
public String getSoftwareServerPlatformSource()
Return the source (such as vendor or operator) of the server.- Returns:
- string name
-
setSoftwareServerSource
public void setSoftwareServerSource(String platformSource)
Set up the source (such as vendor or operator) of the server.- Parameters:
platformSource- string name
-
getSoftwareServerPlatformUserId
public String getSoftwareServerPlatformUserId()
Return the user identity of the server.- Returns:
- string user identity
-
setSoftwareServerUserId
public void setSoftwareServerUserId(String platformUserId)
Set up the user identity of the server.- Parameters:
platformUserId- string user identity
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classITInfrastructureProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classAssetProperties- Returns:
- int
-
-