Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
- Direct Known Subclasses:
APIProperties
,DataSetProperties
,DataStoreProperties
AssetProperties is a java bean used to create assets associated with the data manager.
-
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.Retrieve the name of the technology used for this data asset.Returns the stored description property for the asset.getName()
Return the name of the resource that this asset represents.Set up the version identifier of the resource.int
hashCode()
Return hash code based on properties.void
setDeployedImplementationType
(String deployedImplementationType) Set up the name of the technology used for this data asset.void
setDescription
(String description) Set up the stored description property associated with the asset.void
Set up the name of the resource that this asset represents.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.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
-
getName
Return the name of the resource that this asset represents.- Returns:
- string resource name
-
setName
Set up the name of the resource that this asset represents.- Parameters:
name
- string resource 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
-
getDescription
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
getDeployedImplementationType
Retrieve the name of the technology used for this data asset.- Returns:
- string name
-
setDeployedImplementationType
Set up the name of the technology used for this data asset.- Parameters:
deployedImplementationType
- string name
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- 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 classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-