Class AbstractCouponModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.couponservices.model.AbstractCouponModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MultiCodeCouponModel, SingleCodeCouponModel

public class AbstractCouponModel extends ItemModel
Generated model class for type AbstractCoupon first defined at extension couponservices.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of AbstractCoupon.active attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of AbstractCoupon.couponId attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of AbstractCoupon.endDate attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of AbstractCoupon.name attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of AbstractCoupon.startDate attribute defined at extension couponservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    AbstractCouponModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    AbstractCouponModel(String _couponId, ItemModel _owner)
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the AbstractCoupon.active attribute defined at extension couponservices.
    Generated method - Getter of the AbstractCoupon.couponId attribute defined at extension couponservices.
    Generated method - Getter of the AbstractCoupon.endDate attribute defined at extension couponservices.
    Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
    Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
    Generated method - Getter of the AbstractCoupon.startDate attribute defined at extension couponservices.
    void
    Generated method - Setter of AbstractCoupon.active attribute defined at extension couponservices.
    void
    Generated method - Setter of AbstractCoupon.couponId attribute defined at extension couponservices.
    void
    Generated method - Setter of AbstractCoupon.endDate attribute defined at extension couponservices.
    void
    setName(String value)
    Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
    void
    Generated method - Setter of AbstractCoupon.startDate attribute defined at extension couponservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • COUPONID

      public static final String COUPONID
      Generated constant - Attribute key of AbstractCoupon.couponId attribute defined at extension couponservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of AbstractCoupon.name attribute defined at extension couponservices.
      See Also:
    • STARTDATE

      public static final String STARTDATE
      Generated constant - Attribute key of AbstractCoupon.startDate attribute defined at extension couponservices.
      See Also:
    • ENDDATE

      public static final String ENDDATE
      Generated constant - Attribute key of AbstractCoupon.endDate attribute defined at extension couponservices.
      See Also:
    • ACTIVE

      public static final String ACTIVE
      Generated constant - Attribute key of AbstractCoupon.active attribute defined at extension couponservices.
      See Also:
  • Constructor Details

    • AbstractCouponModel

      public AbstractCouponModel()
      Generated constructor - Default constructor for generic creation.
    • AbstractCouponModel

      public AbstractCouponModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • AbstractCouponModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractCouponModel(String _couponId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _couponId - initial attribute declared by type AbstractCoupon at extension couponservices
    • AbstractCouponModel

      @Deprecated(since="4.1.1", forRemoval=true) public AbstractCouponModel(String _couponId, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _couponId - initial attribute declared by type AbstractCoupon at extension couponservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getActive

      @Accessor(qualifier="active", type=GETTER) public Boolean getActive()
      Generated method - Getter of the AbstractCoupon.active attribute defined at extension couponservices.
      Returns:
      the active
    • getCouponId

      @Accessor(qualifier="couponId", type=GETTER) public String getCouponId()
      Generated method - Getter of the AbstractCoupon.couponId attribute defined at extension couponservices.
      Returns:
      the couponId
    • getEndDate

      @Accessor(qualifier="endDate", type=GETTER) public Date getEndDate()
      Generated method - Getter of the AbstractCoupon.endDate attribute defined at extension couponservices.
      Returns:
      the endDate
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getStartDate

      @Accessor(qualifier="startDate", type=GETTER) public Date getStartDate()
      Generated method - Getter of the AbstractCoupon.startDate attribute defined at extension couponservices.
      Returns:
      the startDate
    • setActive

      @Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
      Generated method - Setter of AbstractCoupon.active attribute defined at extension couponservices.
      Parameters:
      value - the active
    • setCouponId

      @Accessor(qualifier="couponId", type=SETTER) public void setCouponId(String value)
      Generated method - Setter of AbstractCoupon.couponId attribute defined at extension couponservices.
      Parameters:
      value - the couponId
    • setEndDate

      @Accessor(qualifier="endDate", type=SETTER) public void setEndDate(Date value)
      Generated method - Setter of AbstractCoupon.endDate attribute defined at extension couponservices.
      Parameters:
      value - the endDate
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setStartDate

      @Accessor(qualifier="startDate", type=SETTER) public void setStartDate(Date value)
      Generated method - Setter of AbstractCoupon.startDate attribute defined at extension couponservices.
      Parameters:
      value - the startDate