Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
org.odpi.openmetadata.accessservices.devops.properties.AssetProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetRequestBody,ITInfrastructureProperties
AssetProperties is a java bean used to create assets associated with the IT landscape.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetProperties(AssetProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptioncloneToAsset(String subTypeName) Convert this object into an AssetProperties object.booleanCompare the values of the supplied object with those stored in the current object.Returns the stored description property for the asset.getName()Returns the stored display name property for the asset.Set up the version identifier of the resource.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the stored description property associated with the asset.voidSet up the stored display name property for the asset.voidsetVersionIdentifier(String versionIdentifier) Set up the version identifier of the resource.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveToMethods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
AssetProperties
public AssetProperties()Default constructor -
AssetProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- object to copy
-
-
Method Details
-
cloneToAsset
Convert this object into an AssetProperties object. This involves packing the properties introduced at this level into the extended properties.- Parameters:
subTypeName- subtype name- Returns:
- asset properties
-
getName
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setName
Set up the stored display name property for the asset.- Parameters:
name- String name
-
getVersionIdentifier
Set up the version identifier of the resource.- Returns:
- string version name
-
setVersionIdentifier
Set up the version identifier of the resource.- Parameters:
versionIdentifier- string version 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
-
toString
Standard toString method.- Overrides:
toStringin 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:
equalsin classConfigurationItemProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classConfigurationItemProperties- Returns:
- int
-