Class AssetProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.datamanager.properties.AssetProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
APIProperties
,DataSetProperties
,DataStoreProperties
public class AssetProperties extends ReferenceableProperties
AssetProperties is a java bean used to create assets associated with the data manager.- 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 Deprecated Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.String
getDescription()
Returns the stored description property for the asset.String
getDisplayName()
Deprecated.String
getName()
Return the name of the resource that this asset represents.String
getVersionIdentifier()
Set up the version identifier of the resource.int
hashCode()
Return hash code based on properties.void
setDescription(String description)
Set up the stored description property associated with the asset.void
setDisplayName(String displayName)
Deprecated.void
setName(String name)
Set up the name of the resource that this asset represents.void
setVersionIdentifier(String versionIdentifier)
Set up the version identifier of the resource.String
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 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
-
getName
public String getName()
Return the name of the resource that this asset represents.- Returns:
- string resource name
-
setName
public void setName(String name)
Set up the name of the resource that this asset represents.- Parameters:
name
- string resource 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
-
getDisplayName
@Deprecated public String getDisplayName()
Deprecated.Returns the stored display name property for the asset. If no display name is available then name is returned.- Returns:
- String name
-
setDisplayName
@Deprecated public void setDisplayName(String displayName)
Deprecated.Set up the stored display name property for the asset.- Parameters:
displayName
- String name
-
getDescription
public String getDescription()
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
public void setDescription(String description)
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
toString
public String toString()
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- 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:
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
-
-