Class SpecialOpeningDayModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

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

      public static final String MESSAGE
      Generated constant - Attribute key of SpecialOpeningDay.message attribute defined at extension basecommerce.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getDate

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

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

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

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

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

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