Class AssetImpl

java.lang.Object
com.commercetools.history.models.common.AssetImpl
All Implemented Interfaces:
Asset, io.vrap.rmf.base.client.ModelBase

public class AssetImpl extends Object implements Asset, io.vrap.rmf.base.client.ModelBase
Asset
  • Constructor Details

    • AssetImpl

      public AssetImpl()
      create empty instance
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface Asset
      Returns:
      id
    • getName

      public LocalizedString getName()
      Specified by:
      getName in interface Asset
      Returns:
      name
    • getDescription

      public LocalizedString getDescription()
      Specified by:
      getDescription in interface Asset
      Returns:
      description
    • getCustom

      public CustomFields getCustom()
      Specified by:
      getCustom in interface Asset
      Returns:
      custom
    • getKey

      public String getKey()
      Specified by:
      getKey in interface Asset
      Returns:
      key
    • setId

      public void setId(String id)
      Description copied from interface: Asset
      set id
      Specified by:
      setId in interface Asset
      Parameters:
      id - value to be set
    • setName

      public void setName(LocalizedString name)
      Description copied from interface: Asset
      set name
      Specified by:
      setName in interface Asset
      Parameters:
      name - value to be set
    • setDescription

      public void setDescription(LocalizedString description)
      Description copied from interface: Asset
      set description
      Specified by:
      setDescription in interface Asset
      Parameters:
      description - value to be set
    • setCustom

      public void setCustom(CustomFields custom)
      Description copied from interface: Asset
      set custom
      Specified by:
      setCustom in interface Asset
      Parameters:
      custom - value to be set
    • setKey

      public void setKey(String key)
      Description copied from interface: Asset
      set key
      Specified by:
      setKey in interface Asset
      Parameters:
      key - value to be set
    • 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