Class GuestCountModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.order.GuestCountModel
- All Implemented Interfaces:
Serializable
Generated model class for type GuestCount first defined at extension travelservices.
This item represents a guest count relative to a passenger type.
- 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 ofGuestCount.passengerTypeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofGuestCount.quantityattribute 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.GuestCountModel(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 parametersGuestCountModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theGuestCount.passengerTypeattribute defined at extensiontravelservices.Generated method - Getter of theGuestCount.quantityattribute defined at extensiontravelservices.voidGenerated method - Setter ofGuestCount.passengerTypeattribute defined at extensiontravelservices.voidsetQuantity(Integer value) Generated method - Setter ofGuestCount.quantityattribute 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:
-
PASSENGERTYPE
Generated constant - Attribute key ofGuestCount.passengerTypeattribute defined at extensiontravelservices.- See Also:
-
QUANTITY
Generated constant - Attribute key ofGuestCount.quantityattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
GuestCountModel
public GuestCountModel()Generated constructor - Default constructor for generic creation. -
GuestCountModel
public GuestCountModel(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
-
GuestCountModel
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
-
getPassengerType
Generated method - Getter of theGuestCount.passengerTypeattribute defined at extensiontravelservices.- Returns:
- the passengerType
-
getQuantity
Generated method - Getter of theGuestCount.quantityattribute defined at extensiontravelservices.- Returns:
- the quantity
-
setPassengerType
@Accessor(qualifier="passengerType", type=SETTER) public void setPassengerType(PassengerTypeModel value) Generated method - Setter ofGuestCount.passengerTypeattribute defined at extensiontravelservices.- Parameters:
value- the passengerType
-
setQuantity
Generated method - Setter ofGuestCount.quantityattribute defined at extensiontravelservices.- Parameters:
value- the quantity
-