Class GuestOccupancyModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.accommodation.GuestOccupancyModel
- All Implemented Interfaces:
Serializable
Generated model class for type GuestOccupancy first defined at extension travelservices.
This type holds min and max quantity of a certain guest type (depending on age range).
- 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 ofGuestOccupancy.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofGuestOccupancy.quantityMinattribute defined at extensiontravelservices.Fields 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.GuestOccupancyModel(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 parametersGuestOccupancyModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theGuestOccupancy.codeattribute defined at extensiontravelservices.Generated method - Getter of theGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.Generated method - Getter of theGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.Generated method - Getter of theGuestOccupancy.quantityMinattribute defined at extensiontravelservices.voidGenerated method - Setter ofGuestOccupancy.codeattribute defined at extensiontravelservices.voidGenerated method - Setter ofGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.voidsetQuantityMax(Integer value) Generated method - Setter ofGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.voidsetQuantityMin(Integer value) Generated method - Setter ofGuestOccupancy.quantityMinattribute defined at extensiontravelservices.Methods 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:
-
CODE
Generated constant - Attribute key ofGuestOccupancy.codeattribute defined at extensiontravelservices.- See Also:
-
PASSENGERTYPE
Generated constant - Attribute key ofGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.- See Also:
-
QUANTITYMAX
Generated constant - Attribute key ofGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.- See Also:
-
QUANTITYMIN
Generated constant - Attribute key ofGuestOccupancy.quantityMinattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
GuestOccupancyModel
public GuestOccupancyModel()Generated constructor - Default constructor for generic creation. -
GuestOccupancyModel
public GuestOccupancyModel(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
-
GuestOccupancyModel
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theGuestOccupancy.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getPassengerType
Generated method - Getter of theGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.- Returns:
- the PassengerType
-
getQuantityMax
Generated method - Getter of theGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.- Returns:
- the quantityMax
-
getQuantityMin
Generated method - Getter of theGuestOccupancy.quantityMinattribute defined at extensiontravelservices.- Returns:
- the quantityMin
-
setCode
Generated method - Setter ofGuestOccupancy.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setPassengerType
@Accessor(qualifier="PassengerType", type=SETTER) public void setPassengerType(PassengerTypeModel value) Generated method - Setter ofGuestOccupancy.PassengerTypeattribute defined at extensiontravelservices.- Parameters:
value- the PassengerType
-
setQuantityMax
Generated method - Setter ofGuestOccupancy.quantityMaxattribute defined at extensiontravelservices.- Parameters:
value- the quantityMax
-
setQuantityMin
Generated method - Setter ofGuestOccupancy.quantityMinattribute defined at extensiontravelservices.- Parameters:
value- the quantityMin
-