Class PropertyFacilityModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.AbstractFacilityModel
de.hybris.platform.travelservices.model.facility.PropertyFacilityModel
- All Implemented Interfaces:
Serializable
Generated model class for type PropertyFacility first defined at extension travelservices.
This type represents a facility that can be assigned to an accommodation offering (property).
- 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 relationAccommodationOfferingFacilityRelationdefining source attributeaccommodationOfferingin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPropertyFacility.accommodationOfferingattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofPropertyFacility.typeattribute defined at extensiontravelservices.Fields inherited from class de.hybris.platform.travelservices.model.AbstractFacilityModel
ACTIVE, CODE, LONGDESCRIPTION, SHORTDESCRIPTIONFields 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.PropertyFacilityModel(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 parametersPropertyFacilityModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of thePropertyFacility.accommodationOfferingattribute defined at extensiontravelservices.getType()Generated method - Getter of thePropertyFacility.typeattribute defined at extensiontravelservices.voidGenerated method - Setter ofPropertyFacility.accommodationOfferingattribute defined at extensiontravelservices.voidsetType(PropertyFacilityType value) Generated method - Setter ofPropertyFacility.typeattribute defined at extensiontravelservices.Methods inherited from class de.hybris.platform.travelservices.model.AbstractFacilityModel
getActive, getCode, getLongDescription, getShortDescription, getShortDescription, setActive, setCode, setLongDescription, setShortDescription, setShortDescriptionMethods 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:
-
_ACCOMMODATIONOFFERINGFACILITYRELATION
Generated relation code constant for relationAccommodationOfferingFacilityRelationdefining source attributeaccommodationOfferingin extensiontravelservices.- See Also:
-
TYPE
Generated constant - Attribute key ofPropertyFacility.typeattribute defined at extensiontravelservices.- See Also:
-
ACCOMMODATIONOFFERING
Generated constant - Attribute key ofPropertyFacility.accommodationOfferingattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
PropertyFacilityModel
public PropertyFacilityModel()Generated constructor - Default constructor for generic creation. -
PropertyFacilityModel
public PropertyFacilityModel(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
-
PropertyFacilityModel
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
-
getAccommodationOffering
@Accessor(qualifier="accommodationOffering", type=GETTER) public Collection<AccommodationOfferingModel> getAccommodationOffering()Generated method - Getter of thePropertyFacility.accommodationOfferingattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the accommodationOffering
-
getType
Generated method - Getter of thePropertyFacility.typeattribute defined at extensiontravelservices.- Returns:
- the type
-
setAccommodationOffering
@Accessor(qualifier="accommodationOffering", type=SETTER) public void setAccommodationOffering(Collection<AccommodationOfferingModel> value) Generated method - Setter ofPropertyFacility.accommodationOfferingattribute defined at extensiontravelservices.- Parameters:
value- the accommodationOffering
-
setType
Generated method - Setter ofPropertyFacility.typeattribute defined at extensiontravelservices.- Parameters:
value- the type
-