Class SpecialOpeningDayModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.storelocator.model.OpeningDayModel
de.hybris.platform.storelocator.model.SpecialOpeningDayModel
- All Implemented Interfaces:
Serializable
Generated model class for type SpecialOpeningDay first defined at extension basecommerce.
- 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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSpecialOpeningDay.closedattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofSpecialOpeningDay.dateattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.Fields inherited from class de.hybris.platform.storelocator.model.OpeningDayModel
CLOSINGTIME, OPENINGSCHEDULE, OPENINGTIMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.SpecialOpeningDayModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextSpecialOpeningDayModel(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 parametersSpecialOpeningDayModel(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 -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Generated method - Getter of theSpecialOpeningDay.dateattribute defined at extensionbasecommerce.Generated method - Getter of theSpecialOpeningDay.messageattribute defined at extensionbasecommerce.getMessage(Locale loc) Generated method - Getter of theSpecialOpeningDay.messageattribute defined at extensionbasecommerce.getName()Generated method - Getter of theSpecialOpeningDay.nameattribute defined at extensionbasecommerce.Generated method - Getter of theSpecialOpeningDay.nameattribute defined at extensionbasecommerce.booleanisClosed()Generated method - Getter of theSpecialOpeningDay.closedattribute defined at extensionbasecommerce.voidsetClosed(boolean value) Generated method - Setter ofSpecialOpeningDay.closedattribute defined at extensionbasecommerce.voidGenerated method - Setter ofSpecialOpeningDay.dateattribute defined at extensionbasecommerce.voidsetMessage(String value) Generated method - Setter ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.voidsetMessage(String value, Locale loc) Generated method - Setter ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.voidGenerated method - Setter ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.Methods inherited from class de.hybris.platform.storelocator.model.OpeningDayModel
getClosingTime, getOpeningSchedule, getOpeningTime, setClosingTime, setOpeningSchedule, setOpeningTimeMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
DATE
Generated constant - Attribute key ofSpecialOpeningDay.dateattribute defined at extensionbasecommerce.- See Also:
-
CLOSED
Generated constant - Attribute key ofSpecialOpeningDay.closedattribute defined at extensionbasecommerce.- See Also:
-
NAME
Generated constant - Attribute key ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.- See Also:
-
MESSAGE
Generated constant - Attribute key ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.- See Also:
-
-
Constructor Details
-
SpecialOpeningDayModel
public SpecialOpeningDayModel()Generated constructor - Default constructor for generic creation. -
SpecialOpeningDayModel
public SpecialOpeningDayModel(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
-
SpecialOpeningDayModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_date- initial attribute declared by typeSpecialOpeningDayat extensionbasecommerce
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_date- initial attribute declared by typeSpecialOpeningDayat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getDate
Generated method - Getter of theSpecialOpeningDay.dateattribute defined at extensionbasecommerce.- Returns:
- the date
-
getMessage
Generated method - Getter of theSpecialOpeningDay.messageattribute defined at extensionbasecommerce.- Returns:
- the message
-
getMessage
Generated method - Getter of theSpecialOpeningDay.messageattribute defined at extensionbasecommerce.- Parameters:
loc- the value localization key- Returns:
- the message
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
Generated method - Getter of theSpecialOpeningDay.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
Generated method - Getter of theSpecialOpeningDay.nameattribute defined at extensionbasecommerce.- 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 theSpecialOpeningDay.closedattribute defined at extensionbasecommerce.- Returns:
- the closed
-
setClosed
@Accessor(qualifier="closed", type=SETTER) public void setClosed(boolean value) Generated method - Setter ofSpecialOpeningDay.closedattribute defined at extensionbasecommerce.- Parameters:
value- the closed
-
setDate
Generated method - Setter ofSpecialOpeningDay.dateattribute defined at extensionbasecommerce.- Parameters:
value- the date
-
setMessage
Generated method - Setter ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.- Parameters:
value- the message
-
setMessage
Generated method - Setter ofSpecialOpeningDay.messageattribute defined at extensionbasecommerce.- Parameters:
value- the messageloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
Generated method - Setter ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
Generated method - Setter ofSpecialOpeningDay.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-