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
public class AssetProperties extends SupplementaryProperties
AssetProperties is a java bean used to describe assets managed by the governance program.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetProperties()Default constructorAssetProperties(AssetProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetResourceDescription()Returns the stored technical description property from the resource.StringgetResourceName()Returns the name of the resource as known to the technology that supports it.StringgetVersionIdentifier()Set up the version identifier of the resource.inthashCode()Return hash code based on properties.voidsetResourceDescription(String resourceDescription)Set up the stored technical description property associated with the resource.voidsetResourceName(String resourceName)Set up name of the resource as known to the technology that supports it.voidsetVersionIdentifier(String versionIdentifier)Set up the version identifier of the resource.StringtoString()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 Detail
-
AssetProperties
public AssetProperties()
Default constructor
-
AssetProperties
public AssetProperties(AssetProperties template)
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- object to copy
-
-
Method Detail
-
getResourceName
public String 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
public void setResourceName(String resourceName)
Set up name of the resource as known to the technology that supports it.- Parameters:
resourceName- String name
-
getVersionIdentifier
public String getVersionIdentifier()
Set up the version identifier of the resource.- Returns:
- string version name
-
setVersionIdentifier
public void setVersionIdentifier(String versionIdentifier)
Set up the version identifier of the resource.- Parameters:
versionIdentifier- string version name
-
getResourceDescription
public String getResourceDescription()
Returns the stored technical description property from the resource. If no description is provided then null is returned.- Returns:
- description String text
-
setResourceDescription
public void setResourceDescription(String resourceDescription)
Set up the stored technical description property associated with the resource.- Parameters:
resourceDescription- String text
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSupplementaryProperties- 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 classSupplementaryProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classSupplementaryProperties- Returns:
- int
-
-