Class AssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.AssetProperties
- All Implemented Interfaces:
Serializable
AssetProperties describes an asset.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAssetProperties(AssetProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.inthashCode()Return hash code for this objectvoidsetDateAssetCreated(Date dateAssetCreated) Set up the date that the asset was created.voidsetDateAssetLastUpdated(Date dateAssetLastUpdated) Set up the date that the asset was last updated.voidsetDescription(String description) Set up the description of the asset.voidSet up the name of the resource.voidsetVersionIdentifier(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:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-