Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.AssetProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataAssetProperties
,ProcessProperties
DataAssetProperties is a java bean used to create assets associated with the external asset manager.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 for the asset.Returns the stored name property for the asset.Set up the version identifier of the resource.int
hashCode()
Return hash code based on properties.void
setTechnicalDescription
(String description) Set up the stored technical description property associated with the asset.void
setTechnicalName
(String technicalName) Set up the stored name property for the asset.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, 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
-
getTechnicalName
Returns the stored name property for the asset. This is the technical name of the asset rather than the name that it is commonly known as. If no technical name is available then null is returned.- Returns:
- String name
-
setTechnicalName
Set up the stored name property for the asset. This is the technical name of the asset rather than the name that it is commonly known as.- Parameters:
technicalName
- 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
-
getTechnicalDescription
Returns the stored technical description property for the asset. If no technical description is provided then null is returned.- Returns:
- String text
-
setTechnicalDescription
Set up the stored technical description property associated with the asset.- Parameters:
description
- 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
-