Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.AssetProperties
AssetProperties describes an asset.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetProperties
(AssetProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the date that the asset was created.Return the date that the asset was last updated.Return the description of the asset.getName()
Return the name of the resource.Set up the version identifier of the resource.int
hashCode()
Return hash code for this objectvoid
setDateAssetCreated
(Date dateAssetCreated) Set up the date that the asset was created.void
setDateAssetLastUpdated
(Date dateAssetLastUpdated) Set up the date that the asset was last updated.void
setDescription
(String description) Set up the description of the asset.void
Set up the name of the resource.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.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- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name of the resource.- Returns:
- string name
-
setName
Set up the name of the resource.- Parameters:
name
- 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
-
getDescription
Return the description of the asset.- Returns:
- text
-
setDescription
Set up the description of the asset.- Parameters:
description
- text
-
getDateAssetCreated
Return the date that the asset was created.- Returns:
- date
-
setDateAssetCreated
Set up the date that the asset was created.- Parameters:
dateAssetCreated
- date
-
getDateAssetLastUpdated
Return the date that the asset was last updated.- Returns:
- date
-
setDateAssetLastUpdated
Set up the date that the asset was last updated.- Parameters:
dateAssetLastUpdated
- date
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-