Class AbstractCouponModel

    • 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 java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIVE
      Generated constant - Attribute key of AbstractCoupon.active attribute defined at extension couponservices.
      static java.lang.String COUPONID
      Generated constant - Attribute key of AbstractCoupon.couponId attribute defined at extension couponservices.
      static java.lang.String ENDDATE
      Generated constant - Attribute key of AbstractCoupon.endDate attribute defined at extension couponservices.
      static java.lang.String NAME
      Generated constant - Attribute key of AbstractCoupon.name attribute defined at extension couponservices.
      static java.lang.String STARTDATE
      Generated constant - Attribute key of AbstractCoupon.startDate attribute defined at extension couponservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractCouponModel()
      Generated constructor - Default constructor for generic creation.
      AbstractCouponModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      AbstractCouponModel​(java.lang.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
      AbstractCouponModel​(java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getActive()
      Generated method - Getter of the AbstractCoupon.active attribute defined at extension couponservices.
      java.lang.String getCouponId()
      Generated method - Getter of the AbstractCoupon.couponId attribute defined at extension couponservices.
      java.util.Date getEndDate()
      Generated method - Getter of the AbstractCoupon.endDate attribute defined at extension couponservices.
      java.lang.String getName()
      Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
      java.lang.String getName​(java.util.Locale loc)
      Generated method - Getter of the AbstractCoupon.name attribute defined at extension couponservices.
      java.util.Date getStartDate()
      Generated method - Getter of the AbstractCoupon.startDate attribute defined at extension couponservices.
      void setActive​(java.lang.Boolean value)
      Generated method - Setter of AbstractCoupon.active attribute defined at extension couponservices.
      void setCouponId​(java.lang.String value)
      Generated method - Setter of AbstractCoupon.couponId attribute defined at extension couponservices.
      void setEndDate​(java.util.Date value)
      Generated method - Setter of AbstractCoupon.endDate attribute defined at extension couponservices.
      void setName​(java.lang.String value)
      Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
      void setName​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
      void setStartDate​(java.util.Date value)
      Generated method - Setter of AbstractCoupon.startDate attribute defined at extension couponservices.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • COUPONID

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

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

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

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

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of AbstractCoupon.active attribute defined at extension couponservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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​(java.lang.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 Detail

      • getActive

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

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

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

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

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

        @Accessor(qualifier="startDate",
                  type=GETTER)
        public java.util.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​(java.lang.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​(java.lang.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​(java.util.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​(java.lang.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​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of AbstractCoupon.name attribute defined at extension couponservices.
        Parameters:
        value - the name
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setStartDate

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