Class SpecialOpeningDayModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SpecialOpeningDayModel
    extends OpeningDayModel
    Generated model class for type SpecialOpeningDay first defined at extension basecommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String DATE
        Generated constant - Attribute key of SpecialOpeningDay.date attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • CLOSED

        public static final java.lang.String CLOSED
        Generated constant - Attribute key of SpecialOpeningDay.closed attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • NAME

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

        public static final java.lang.String MESSAGE
        Generated constant - Attribute key of SpecialOpeningDay.message attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SpecialOpeningDayModel

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

        public SpecialOpeningDayModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • SpecialOpeningDayModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SpecialOpeningDayModel​(java.util.Date _date)
        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:
        _date - initial attribute declared by type SpecialOpeningDay at extension basecommerce
      • SpecialOpeningDayModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SpecialOpeningDayModel​(java.util.Date _date,
                                      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:
        _date - initial attribute declared by type SpecialOpeningDay at extension basecommerce
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getDate

        @Accessor(qualifier="date",
                  type=GETTER)
        public java.util.Date getDate()
        Generated method - Getter of the SpecialOpeningDay.date attribute defined at extension basecommerce.
        Returns:
        the date
      • getMessage

        @Accessor(qualifier="message",
                  type=GETTER)
        public java.lang.String getMessage()
        Generated method - Getter of the SpecialOpeningDay.message attribute defined at extension basecommerce.
        Returns:
        the message
      • getMessage

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

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

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

        @Accessor(qualifier="closed",
                  type=GETTER)
        public boolean isClosed()
        Generated method - Getter of the SpecialOpeningDay.closed attribute defined at extension basecommerce.
        Returns:
        the closed
      • setClosed

        @Accessor(qualifier="closed",
                  type=SETTER)
        public void setClosed​(boolean value)
        Generated method - Setter of SpecialOpeningDay.closed attribute defined at extension basecommerce.
        Parameters:
        value - the closed
      • setDate

        @Accessor(qualifier="date",
                  type=SETTER)
        public void setDate​(java.util.Date value)
        Generated method - Setter of SpecialOpeningDay.date attribute defined at extension basecommerce.
        Parameters:
        value - the date
      • setMessage

        @Accessor(qualifier="message",
                  type=SETTER)
        public void setMessage​(java.lang.String value)
        Generated method - Setter of SpecialOpeningDay.message attribute defined at extension basecommerce.
        Parameters:
        value - the message
      • setMessage

        @Accessor(qualifier="message",
                  type=SETTER)
        public void setMessage​(java.lang.String value,
                               java.util.Locale loc)
        Generated method - Setter of SpecialOpeningDay.message attribute defined at extension basecommerce.
        Parameters:
        value - the message
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of SpecialOpeningDay.name attribute defined at extension basecommerce.
        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 SpecialOpeningDay.name attribute defined at extension basecommerce.
        Parameters:
        value - the name
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language