Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.stewardshipaction.properties.SupplementaryProperties
org.odpi.openmetadata.accessservices.stewardshipaction.properties.AssetProperties
- All Implemented Interfaces:
Serializable
AssetProperties is a java bean used to describe assets managed by the governance program.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorAssetProperties
(AssetProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the stored technical description property from the resource.Returns the name of the resource as known to the technology that supports it.Set up the version identifier of the resource.int
hashCode()
Return hash code based on properties.void
setResourceDescription
(String resourceDescription) Set up the stored technical description property associated with the resource.void
setResourceName
(String resourceName) Set up name of the resource as known to the technology that supports it.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
Methods inherited from class org.odpi.openmetadata.accessservices.stewardshipaction.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
Constructor Details
-
AssetProperties
public AssetProperties()Default constructor -
AssetProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- object to copy
-
-
Method Details
-
getResourceName
Returns the name of the resource as known to the technology that supports it. If no technical name is available then null is returned.- Returns:
- String name
-
setResourceName
Set up name of the resource as known to the technology that supports it.- Parameters:
resourceName
- 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
-
getResourceDescription
Returns the stored technical description property from the resource. If no description is provided then null is returned.- Returns:
- description String text
-
setResourceDescription
Set up the stored technical description property associated with the resource.- Parameters:
resourceDescription
- String text
-
toString
Standard toString method.- Overrides:
toString
in classSupplementaryProperties
- 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 classSupplementaryProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classSupplementaryProperties
- Returns:
- int
-