Class OperatingPlatformProperties
java.lang.Object
org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
org.odpi.openmetadata.accessservices.devops.properties.OperatingPlatformProperties
- All Implemented Interfaces:
Serializable
OperatingPlatformProperties describes the properties of the operating system and hardware.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the byte ordering of the hardware.Returns the stored description property for the asset.Returns the stored display name property for the asset.Return the name of the operating system running on the host.int
hashCode()
Return hash code based on properties.void
setByteOrdering
(ByteOrdering byteOrdering) Set up the byte ordering of the hardware.void
setDescription
(String description) Set up the stored description property associated with the asset.void
setDisplayName
(String displayName) Set up the stored display name property for the asset.void
setOperatingSystem
(String operatingSystem) Set up the name of the operating system running on the host.toString()
Standard toString method.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 Details
-
OperatingPlatformProperties
public OperatingPlatformProperties()Default constructor -
OperatingPlatformProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getDisplayName
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the asset.- Parameters:
displayName
- String name
-
getDescription
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
getOperatingSystem
Return the name of the operating system running on the host.- Returns:
- string name
-
setOperatingSystem
Set up the name of the operating system running on the host.- Parameters:
operatingSystem
- string name
-
getByteOrdering
Return the byte ordering of the hardware.- Returns:
- byteOrdering
-
setByteOrdering
Set up the byte ordering of the hardware.- Parameters:
byteOrdering
- byteOrdering
-
toString
Standard toString method.- Overrides:
toString
in classConfigurationItemProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classConfigurationItemProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classConfigurationItemProperties
- Returns:
- int
-