Class ProductSpaceMappingModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.product.ProductSpaceMappingModel
- All Implemented Interfaces:
Serializable
Generated model class for type ProductSpaceMapping first defined at extension travelservices.
- 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 ofProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofProductSpaceMapping.targetProductattribute 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.ProductSpaceMappingModel(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 parametersProductSpaceMappingModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.Generated method - Getter of theProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.Generated method - Getter of theProductSpaceMapping.targetProductattribute defined at extensiontravelservices.voidsetAmountToConsume(Integer value) Generated method - Setter ofProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.voidsetSourceProduct(ProductModel value) Generated method - Setter ofProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.voidsetTargetProduct(ProductModel value) Generated method - Setter ofProductSpaceMapping.targetProductattribute 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:
-
SOURCEPRODUCT
Generated constant - Attribute key ofProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.- See Also:
-
TARGETPRODUCT
Generated constant - Attribute key ofProductSpaceMapping.targetProductattribute defined at extensiontravelservices.- See Also:
-
AMOUNTTOCONSUME
Generated constant - Attribute key ofProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
ProductSpaceMappingModel
public ProductSpaceMappingModel()Generated constructor - Default constructor for generic creation. -
ProductSpaceMappingModel
public ProductSpaceMappingModel(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
-
ProductSpaceMappingModel
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
-
getAmountToConsume
Generated method - Getter of theProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.- Returns:
- the amountToConsume
-
getSourceProduct
Generated method - Getter of theProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.- Returns:
- the sourceProduct
-
getTargetProduct
Generated method - Getter of theProductSpaceMapping.targetProductattribute defined at extensiontravelservices.- Returns:
- the targetProduct
-
setAmountToConsume
Generated method - Setter ofProductSpaceMapping.amountToConsumeattribute defined at extensiontravelservices.- Parameters:
value- the amountToConsume
-
setSourceProduct
Generated method - Setter ofProductSpaceMapping.sourceProductattribute defined at extensiontravelservices.- Parameters:
value- the sourceProduct
-
setTargetProduct
Generated method - Setter ofProductSpaceMapping.targetProductattribute defined at extensiontravelservices.- Parameters:
value- the targetProduct
-