Class ProximityItemModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.travel.ProximityItemModel
- All Implemented Interfaces:
Serializable
Generated model class for type ProximityItem first defined at extension travelservices.
This type represents any item next or close to the accommodation that may affect the journey.
- 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 relationConfiguredAccommodationProximityItemRelationdefining source attributeconfiguredAccommodationin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofProximityItem.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProximityItem.configuredAccommodationattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProximityItem.descriptionattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProximityItem.relativePositionattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProximityItem.typeattribute 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.ProximityItemModel(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 parametersProximityItemModel(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 theProximityItem.codeattribute defined at extensiontravelservices.Generated method - Getter of theProximityItem.configuredAccommodationattribute defined at extensiontravelservices.Generated method - Getter of theProximityItem.descriptionattribute defined at extensiontravelservices.Generated method - Getter of theProximityItem.relativePositionattribute defined at extensiontravelservices.getType()Generated method - Getter of theProximityItem.typeattribute defined at extensiontravelservices.voidGenerated method - Setter ofProximityItem.codeattribute defined at extensiontravelservices.voidGenerated method - Setter ofProximityItem.configuredAccommodationattribute defined at extensiontravelservices.voidsetDescription(String value) Generated method - Setter ofProximityItem.descriptionattribute defined at extensiontravelservices.voidGenerated method - Setter ofProximityItem.relativePositionattribute defined at extensiontravelservices.voidsetType(ProximityItemType value) Generated method - Setter ofProximityItem.typeattribute 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:
-
_CONFIGUREDACCOMMODATIONPROXIMITYITEMRELATION
Generated relation code constant for relationConfiguredAccommodationProximityItemRelationdefining source attributeconfiguredAccommodationin extensiontravelservices.- See Also:
-
CODE
Generated constant - Attribute key ofProximityItem.codeattribute defined at extensiontravelservices.- See Also:
-
TYPE
Generated constant - Attribute key ofProximityItem.typeattribute defined at extensiontravelservices.- See Also:
-
RELATIVEPOSITION
Generated constant - Attribute key ofProximityItem.relativePositionattribute defined at extensiontravelservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofProximityItem.descriptionattribute defined at extensiontravelservices.- See Also:
-
CONFIGUREDACCOMMODATION
Generated constant - Attribute key ofProximityItem.configuredAccommodationattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
ProximityItemModel
public ProximityItemModel()Generated constructor - Default constructor for generic creation. -
ProximityItemModel
public ProximityItemModel(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
-
ProximityItemModel
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 theProximityItem.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getConfiguredAccommodation
@Accessor(qualifier="configuredAccommodation", type=GETTER) public Collection<ConfiguredAccommodationModel> getConfiguredAccommodation()Generated method - Getter of theProximityItem.configuredAccommodationattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the configuredAccommodation
-
getDescription
Generated method - Getter of theProximityItem.descriptionattribute defined at extensiontravelservices.- Returns:
- the description
-
getRelativePosition
@Accessor(qualifier="relativePosition", type=GETTER) public ProximityRelativePosition getRelativePosition()Generated method - Getter of theProximityItem.relativePositionattribute defined at extensiontravelservices.- Returns:
- the relativePosition
-
getType
Generated method - Getter of theProximityItem.typeattribute defined at extensiontravelservices.- Returns:
- the type
-
setCode
Generated method - Setter ofProximityItem.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setConfiguredAccommodation
@Accessor(qualifier="configuredAccommodation", type=SETTER) public void setConfiguredAccommodation(Collection<ConfiguredAccommodationModel> value) Generated method - Setter ofProximityItem.configuredAccommodationattribute defined at extensiontravelservices.- Parameters:
value- the configuredAccommodation
-
setDescription
Generated method - Setter ofProximityItem.descriptionattribute defined at extensiontravelservices.- Parameters:
value- the description
-
setRelativePosition
@Accessor(qualifier="relativePosition", type=SETTER) public void setRelativePosition(ProximityRelativePosition value) Generated method - Setter ofProximityItem.relativePositionattribute defined at extensiontravelservices.- Parameters:
value- the relativePosition
-
setType
Generated method - Setter ofProximityItem.typeattribute defined at extensiontravelservices.- Parameters:
value- the type
-