java.lang.Object
org.craftercms.commons.plugin.model.Asset

public class Asset extends Object
Holds the metadata of a single asset
Since:
3.1.1
Author:
joseross
  • Field Details

    • title

      protected String title
      The title of the asset
    • description

      protected String description
      The description of the asset
  • Constructor Details

    • Asset

      public Asset()
  • Method Details

    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object