java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.AssetProperties

public class AssetProperties extends ReferenceableProperties
AssetProperties describes an asset.
  • Constructor Details

    • AssetProperties

      public AssetProperties()
      Default constructor
    • AssetProperties

      public AssetProperties(AssetProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getName

      public String getName()
      Return the name of the resource.
      Returns:
      string name
    • setName

      public void setName(String name)
      Set up the name of the resource.
      Parameters:
      name - string 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
    • getDescription

      public String getDescription()
      Return the description of the asset.
      Returns:
      text
    • setDescription

      public void setDescription(String description)
      Set up the description of the asset.
      Parameters:
      description - text
    • getDateAssetCreated

      public Date getDateAssetCreated()
      Return the date that the asset was created.
      Returns:
      date
    • setDateAssetCreated

      public void setDateAssetCreated(Date dateAssetCreated)
      Set up the date that the asset was created.
      Parameters:
      dateAssetCreated - date
    • getDateAssetLastUpdated

      public Date getDateAssetLastUpdated()
      Return the date that the asset was last updated.
      Returns:
      date
    • setDateAssetLastUpdated

      public void setDateAssetLastUpdated(Date dateAssetLastUpdated)
      Set up the date that the asset was last updated.
      Parameters:
      dateAssetLastUpdated - date
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ReferenceableProperties
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int hash code