Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.SupplementaryProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.AssetProperties
- All Implemented Interfaces:
Serializable
AssetProperties is a java bean used to describe assets managed by the governance program.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetProperties(AssetProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Returns the stored technical description property for the asset.Returns the name property for the resource as it is known by the supporting technology.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 asset.voidsetResourceName(String resourceName) Set up the stored technical name property for the resource.voidsetVersionIdentifier(String versionIdentifier) Set up the version identifier of the resource.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsageMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.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 property for the resource as it is known by the supporting technology. If no technical name is available then null is returned.- Returns:
- String name
-
setResourceName
Set up the stored technical name property for the resource.- 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 for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setResourceDescription
Set up the stored technical description property associated with the asset.- Parameters:
resourceDescription- String text
-
toString
Standard toString method.- Overrides:
toStringin 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:
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
-