Class TravellerPreferenceModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.user.TravellerPreferenceModel
- All Implemented Interfaces:
Serializable
Generated model class for type TravellerPreference first defined at extension travelservices.
This type represents the preferences for a traveller.
- 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 relation code constant for relationTravellerTravellerPreferenceRelationdefining source attributetravellerin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTravellerPreference.travellerattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravellerPreference.typeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTravellerPreference.valueattribute 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.TravellerPreferenceModel(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 parametersTravellerPreferenceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTravellerPreference.travellerattribute defined at extensiontravelservices.getType()Generated method - Getter of theTravellerPreference.typeattribute defined at extensiontravelservices.getValue()Generated method - Getter of theTravellerPreference.valueattribute defined at extensiontravelservices.voidsetTraveller(TravellerModel value) Generated method - Setter ofTravellerPreference.travellerattribute defined at extensiontravelservices.voidsetType(TravellerPreferenceType value) Generated method - Setter ofTravellerPreference.typeattribute defined at extensiontravelservices.voidGenerated method - Setter ofTravellerPreference.valueattribute 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:
-
_TRAVELLERTRAVELLERPREFERENCERELATION
Generated relation code constant for relationTravellerTravellerPreferenceRelationdefining source attributetravellerin extensiontravelservices.- See Also:
-
TYPE
Generated constant - Attribute key ofTravellerPreference.typeattribute defined at extensiontravelservices.- See Also:
-
VALUE
Generated constant - Attribute key ofTravellerPreference.valueattribute defined at extensiontravelservices.- See Also:
-
TRAVELLER
Generated constant - Attribute key ofTravellerPreference.travellerattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
TravellerPreferenceModel
public TravellerPreferenceModel()Generated constructor - Default constructor for generic creation. -
TravellerPreferenceModel
public TravellerPreferenceModel(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
-
TravellerPreferenceModel
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
-
getTraveller
Generated method - Getter of theTravellerPreference.travellerattribute defined at extensiontravelservices.- Returns:
- the traveller
-
getType
Generated method - Getter of theTravellerPreference.typeattribute defined at extensiontravelservices.- Returns:
- the type
-
getValue
Generated method - Getter of theTravellerPreference.valueattribute defined at extensiontravelservices.- Returns:
- the value
-
setTraveller
Generated method - Setter ofTravellerPreference.travellerattribute defined at extensiontravelservices.- Parameters:
value- the traveller
-
setType
Generated method - Setter ofTravellerPreference.typeattribute defined at extensiontravelservices.- Parameters:
value- the type
-
setValue
Generated method - Setter ofTravellerPreference.valueattribute defined at extensiontravelservices.- Parameters:
value- the value
-