Class SoftwareServerProperties
- 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.SoftwareServerProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SoftwareServerRequestBody
public class SoftwareServerProperties extends ITInfrastructureProperties
SoftwareServerProperties is a representation of the properties for a software server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SoftwareServerProperties()Default constructorSoftwareServerProperties(AssetProperties template)Copy/clone constructorSoftwareServerProperties(SoftwareServerProperties 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.StringgetSoftwareServerSource()Return the source (such as vendor or operator) of the server.StringgetSoftwareServerType()Return the type description for the server's type.StringgetSoftwareServerUserId()Return the user identity of the server.StringgetSoftwareServerVersion()Return the version of the server.inthashCode()Return has code based on properties.voidsetSoftwareServerSource(String softwareServerSource)Set up the source (such as vendor or operator) of the server.voidsetSoftwareServerType(String softwareServerType)Set up the type description for the server's type.voidsetSoftwareServerUserId(String softwareServerUserId)Set up the user identity of the server.voidsetSoftwareServerVersion(String softwareServerVersion)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
-
SoftwareServerProperties
public SoftwareServerProperties()
Default constructor
-
SoftwareServerProperties
public SoftwareServerProperties(SoftwareServerProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
SoftwareServerProperties
public SoftwareServerProperties(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
-
getSoftwareServerType
public String getSoftwareServerType()
Return the type description for the server's type.- Returns:
- type description string
-
setSoftwareServerType
public void setSoftwareServerType(String softwareServerType)
Set up the type description for the server's type.- Parameters:
softwareServerType- type description string
-
getSoftwareServerVersion
public String getSoftwareServerVersion()
Return the version of the server.- Returns:
- version string
-
setSoftwareServerVersion
public void setSoftwareServerVersion(String softwareServerVersion)
Set up the version of the server.- Parameters:
softwareServerVersion- version string
-
getSoftwareServerSource
public String getSoftwareServerSource()
Return the source (such as vendor or operator) of the server.- Returns:
- string name
-
setSoftwareServerSource
public void setSoftwareServerSource(String softwareServerSource)
Set up the source (such as vendor or operator) of the server.- Parameters:
softwareServerSource- string name
-
getSoftwareServerUserId
public String getSoftwareServerUserId()
Return the user identity of the server.- Returns:
- string user identity
-
setSoftwareServerUserId
public void setSoftwareServerUserId(String softwareServerUserId)
Set up the user identity of the server.- Parameters:
softwareServerUserId- 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
-
-