Class TransportFacilityModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.travel.TransportFacilityModel
- All Implemented Interfaces:
Serializable
Generated model class for type TransportFacility first defined at extension travelservices.
This type represents a building used by passengers and travel companies for facilitating a trip or 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 relationTransportOfferingTransportFacilityRelationdefining source attributetravelOfferingin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTransportFacility.activityattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.identifierattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.locationattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.nameattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.pointOfServiceattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.terminalsattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.travelOfferingattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofTransportFacility.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.TransportFacilityModel(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 parametersTransportFacilityModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theTransportFacility.activityattribute defined at extensiontravelservices.getCode()Generated method - Getter of theTransportFacility.codeattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.identifierattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.locationattribute defined at extensiontravelservices.getName()Generated method - Getter of theTransportFacility.nameattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.nameattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.pointOfServiceattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.terminalsattribute defined at extensiontravelservices.Generated method - Getter of theTransportFacility.travelOfferingattribute defined at extensiontravelservices.getType()Generated method - Getter of theTransportFacility.typeattribute defined at extensiontravelservices.voidsetActivity(Collection<ActivityModel> value) Generated method - Setter ofTransportFacility.activityattribute defined at extensiontravelservices.voidGenerated method - Setter ofTransportFacility.codeattribute defined at extensiontravelservices.voidsetIdentifier(Collection<IdentifierModel> value) Generated method - Setter ofTransportFacility.identifierattribute defined at extensiontravelservices.voidsetLocation(LocationModel value) Generated method - Setter ofTransportFacility.locationattribute defined at extensiontravelservices.voidGenerated method - Setter ofTransportFacility.nameattribute defined at extensiontravelservices.voidGenerated method - Setter ofTransportFacility.nameattribute defined at extensiontravelservices.voidsetPointOfService(List<PointOfServiceModel> value) Generated method - Setter ofTransportFacility.pointOfServiceattribute defined at extensiontravelservices.voidsetTerminals(Collection<TerminalModel> value) Generated method - Setter ofTransportFacility.terminalsattribute defined at extensiontravelservices.voidGenerated method - Setter ofTransportFacility.travelOfferingattribute defined at extensiontravelservices.voidsetType(TransportFacilityType value) Generated method - Setter ofTransportFacility.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:
-
_TRANSPORTOFFERINGTRANSPORTFACILITYRELATION
Generated relation code constant for relationTransportOfferingTransportFacilityRelationdefining source attributetravelOfferingin extensiontravelservices.- See Also:
-
CODE
Generated constant - Attribute key ofTransportFacility.codeattribute defined at extensiontravelservices.- See Also:
-
NAME
Generated constant - Attribute key ofTransportFacility.nameattribute defined at extensiontravelservices.- See Also:
-
TYPE
Generated constant - Attribute key ofTransportFacility.typeattribute defined at extensiontravelservices.- See Also:
-
LOCATION
Generated constant - Attribute key ofTransportFacility.locationattribute defined at extensiontravelservices.- See Also:
-
TRAVELOFFERING
Generated constant - Attribute key ofTransportFacility.travelOfferingattribute defined at extensiontravelservices.- See Also:
-
IDENTIFIER
Generated constant - Attribute key ofTransportFacility.identifierattribute defined at extensiontravelservices.- See Also:
-
ACTIVITY
Generated constant - Attribute key ofTransportFacility.activityattribute defined at extensiontravelservices.- See Also:
-
POINTOFSERVICE
Generated constant - Attribute key ofTransportFacility.pointOfServiceattribute defined at extensiontravelservices.- See Also:
-
TERMINALS
Generated constant - Attribute key ofTransportFacility.terminalsattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
TransportFacilityModel
public TransportFacilityModel()Generated constructor - Default constructor for generic creation. -
TransportFacilityModel
public TransportFacilityModel(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
-
TransportFacilityModel
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
-
getActivity
Generated method - Getter of theTransportFacility.activityattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the activity
-
getCode
Generated method - Getter of theTransportFacility.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getIdentifier
Generated method - Getter of theTransportFacility.identifierattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the identifier
-
getLocation
Generated method - Getter of theTransportFacility.locationattribute defined at extensiontravelservices.- Returns:
- the location
-
getName
Generated method - Getter of theTransportFacility.nameattribute defined at extensiontravelservices.- Returns:
- the name
-
getName
Generated method - Getter of theTransportFacility.nameattribute defined at extensiontravelservices.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPointOfService
@Accessor(qualifier="pointOfService", type=GETTER) public List<PointOfServiceModel> getPointOfService()Generated method - Getter of theTransportFacility.pointOfServiceattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pointOfService
-
getTerminals
Generated method - Getter of theTransportFacility.terminalsattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the terminals
-
getTravelOffering
@Accessor(qualifier="travelOffering", type=GETTER) public Collection<TransportOfferingModel> getTravelOffering()Generated method - Getter of theTransportFacility.travelOfferingattribute defined at extensiontravelservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the travelOffering
-
getType
Generated method - Getter of theTransportFacility.typeattribute defined at extensiontravelservices.- Returns:
- the type
-
setActivity
@Accessor(qualifier="activity", type=SETTER) public void setActivity(Collection<ActivityModel> value) Generated method - Setter ofTransportFacility.activityattribute defined at extensiontravelservices.- Parameters:
value- the activity
-
setCode
Generated method - Setter ofTransportFacility.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setIdentifier
@Accessor(qualifier="identifier", type=SETTER) public void setIdentifier(Collection<IdentifierModel> value) Generated method - Setter ofTransportFacility.identifierattribute defined at extensiontravelservices.- Parameters:
value- the identifier
-
setLocation
Generated method - Setter ofTransportFacility.locationattribute defined at extensiontravelservices.- Parameters:
value- the location
-
setName
Generated method - Setter ofTransportFacility.nameattribute defined at extensiontravelservices.- Parameters:
value- the name
-
setName
Generated method - Setter ofTransportFacility.nameattribute defined at extensiontravelservices.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPointOfService
@Accessor(qualifier="pointOfService", type=SETTER) public void setPointOfService(List<PointOfServiceModel> value) Generated method - Setter ofTransportFacility.pointOfServiceattribute defined at extensiontravelservices.- Parameters:
value- the pointOfService
-
setTerminals
@Accessor(qualifier="terminals", type=SETTER) public void setTerminals(Collection<TerminalModel> value) Generated method - Setter ofTransportFacility.terminalsattribute defined at extensiontravelservices.- Parameters:
value- the terminals
-
setTravelOffering
@Accessor(qualifier="travelOffering", type=SETTER) public void setTravelOffering(Collection<TransportOfferingModel> value) Generated method - Setter ofTransportFacility.travelOfferingattribute defined at extensiontravelservices.- Parameters:
value- the travelOffering
-
setType
Generated method - Setter ofTransportFacility.typeattribute defined at extensiontravelservices.- Parameters:
value- the type
-