Class AssetProperties

    • Constructor Detail

      • AssetProperties

        public AssetProperties()
        Default constructor
      • AssetProperties

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

      • getName

        public java.lang.String getName()
        Return the name of the asset.
        Returns:
        string name
      • setName

        public void setName​(java.lang.String name)
        Set up the name of the asset.
        Parameters:
        name - string name
      • getDescription

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

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

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

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

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

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

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

        public boolean equals​(java.lang.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