Class AbstractFacilityModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.AbstractFacilityModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccommodationFacilityModel,PropertyFacilityModel
Generated model class for type AbstractFacility first defined at extension travelservices.
This type represents a facility that could be extended by a property or accommodation facility.
- 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 ofAbstractFacility.activeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAbstractFacility.codeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAbstractFacility.longDescriptionattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofAbstractFacility.shortDescriptionattribute 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.AbstractFacilityModel(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 parametersAbstractFacilityModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractFacility.activeattribute defined at extensiontravelservices.getCode()Generated method - Getter of theAbstractFacility.codeattribute defined at extensiontravelservices.Generated method - Getter of theAbstractFacility.longDescriptionattribute defined at extensiontravelservices.Generated method - Getter of theAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.Generated method - Getter of theAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.voidGenerated method - Setter ofAbstractFacility.activeattribute defined at extensiontravelservices.voidGenerated method - Setter ofAbstractFacility.codeattribute defined at extensiontravelservices.voidsetLongDescription(String value) Generated method - Setter ofAbstractFacility.longDescriptionattribute defined at extensiontravelservices.voidsetShortDescription(String value) Generated method - Setter ofAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.voidsetShortDescription(String value, Locale loc) Generated method - Setter ofAbstractFacility.shortDescriptionattribute 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:
-
CODE
Generated constant - Attribute key ofAbstractFacility.codeattribute defined at extensiontravelservices.- See Also:
-
ACTIVE
Generated constant - Attribute key ofAbstractFacility.activeattribute defined at extensiontravelservices.- See Also:
-
SHORTDESCRIPTION
Generated constant - Attribute key ofAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.- See Also:
-
LONGDESCRIPTION
Generated constant - Attribute key ofAbstractFacility.longDescriptionattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
AbstractFacilityModel
public AbstractFacilityModel()Generated constructor - Default constructor for generic creation. -
AbstractFacilityModel
public AbstractFacilityModel(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
-
AbstractFacilityModel
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
-
getActive
Generated method - Getter of theAbstractFacility.activeattribute defined at extensiontravelservices.- Returns:
- the active
-
getCode
Generated method - Getter of theAbstractFacility.codeattribute defined at extensiontravelservices.- Returns:
- the code
-
getLongDescription
Generated method - Getter of theAbstractFacility.longDescriptionattribute defined at extensiontravelservices.- Returns:
- the longDescription
-
getShortDescription
Generated method - Getter of theAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.- Returns:
- the shortDescription
-
getShortDescription
Generated method - Getter of theAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.- Parameters:
loc- the value localization key- Returns:
- the shortDescription
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setActive
Generated method - Setter ofAbstractFacility.activeattribute defined at extensiontravelservices.- Parameters:
value- the active
-
setCode
Generated method - Setter ofAbstractFacility.codeattribute defined at extensiontravelservices.- Parameters:
value- the code
-
setLongDescription
Generated method - Setter ofAbstractFacility.longDescriptionattribute defined at extensiontravelservices.- Parameters:
value- the longDescription
-
setShortDescription
Generated method - Setter ofAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.- Parameters:
value- the shortDescription
-
setShortDescription
@Accessor(qualifier="shortDescription", type=SETTER) public void setShortDescription(String value, Locale loc) Generated method - Setter ofAbstractFacility.shortDescriptionattribute defined at extensiontravelservices.- Parameters:
value- the shortDescriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-