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
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.StringgetTechnicalDescription()Returns the stored technical description property for the asset.StringgetTechnicalName()Returns the stored technical name property for the asset.inthashCode()Return has code based on properties.voidsetTechnicalDescription(String technicalDescription)Set up the stored technical description property associated with the asset.voidsetTechnicalName(String technicalName)Set up the stored technical name property for the asset.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.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
-
getTechnicalName
public String getTechnicalName()
Returns the stored technical name property for the asset. If no technical name is available then null is returned.- Returns:
- String name
-
setTechnicalName
public void setTechnicalName(String technicalName)
Set up the stored technical name property for the asset.- Parameters:
technicalName- String name
-
getTechnicalDescription
public String getTechnicalDescription()
Returns the stored technical description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setTechnicalDescription
public void setTechnicalDescription(String technicalDescription)
Set up the stored technical description property associated with the asset.- Parameters:
technicalDescription- 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 has code based on properties.- Overrides:
hashCodein classSupplementaryProperties- Returns:
- int
-
-