Class AbstractBundleRuleModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.configurablebundleservices.model.AbstractBundleRuleModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChangeProductPriceBundleRuleModel,DisableProductBundleRuleModel
Generated model class for type AbstractBundleRule first defined at extension configurablebundleservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.static final StringGenerated constant - Attribute key ofAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices.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.AbstractBundleRuleModel(CatalogVersionModel _catalogVersion) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractBundleRuleModel(CatalogVersionModel _catalogVersion, String _id, 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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices.getId()Generated method - Getter of theAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices.getName()Generated method - Getter of theAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.Generated method - Getter of theAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices.voidGenerated method - Initial setter ofAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices.voidGenerated method - Initial setter ofAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices.voidGenerated method - Setter ofAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.voidsetRuleType(BundleRuleTypeEnum value) Generated method - Setter ofAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.voidsetTargetProducts(Collection<ProductModel> value) Generated method - Setter ofAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices.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:
-
ID
Generated constant - Attribute key ofAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices.- See Also:
-
NAME
Generated constant - Attribute key ofAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.- See Also:
-
RULETYPE
Generated constant - Attribute key ofAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.- See Also:
-
CONDITIONALPRODUCTS
Generated constant - Attribute key ofAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices.- See Also:
-
TARGETPRODUCTS
Generated constant - Attribute key ofAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices.- See Also:
-
-
Constructor Details
-
AbstractBundleRuleModel
public AbstractBundleRuleModel()Generated constructor - Default constructor for generic creation. -
AbstractBundleRuleModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractBundleRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion) 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 - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeAbstractBundleRuleat extensionconfigurablebundleservices
-
AbstractBundleRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion, String _id, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeAbstractBundleRuleat extensionconfigurablebundleservices_id- initial attribute declared by typeAbstractBundleRuleat extensionconfigurablebundleservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCatalogVersion
Generated method - Getter of theAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices.- Returns:
- the catalogVersion - Catalog Version
-
getConditionalProducts
@Accessor(qualifier="conditionalProducts", type=GETTER) public Collection<ProductModel> getConditionalProducts()Generated method - Getter of theAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the conditionalProducts
-
getId
Generated method - Getter of theAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices.- Returns:
- the id - Identifier
-
getName
Generated method - Getter of theAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.- Returns:
- the name - Name of the bundle rule
-
getRuleType
Generated method - Getter of theAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.- Returns:
- the ruleType
-
getTargetProducts
@Accessor(qualifier="targetProducts", type=GETTER) public Collection<ProductModel> getTargetProducts()Generated method - Getter of theAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the targetProducts
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Initial setter ofAbstractBundleRule.catalogVersionattribute defined at extensionconfigurablebundleservices. Can only be used at creation of model - before first save.- Parameters:
value- the catalogVersion - Catalog Version
-
setConditionalProducts
@Accessor(qualifier="conditionalProducts", type=SETTER) public void setConditionalProducts(Collection<ProductModel> value) Generated method - Setter ofAbstractBundleRule.conditionalProductsattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the conditionalProducts
-
setId
Generated method - Initial setter ofAbstractBundleRule.idattribute defined at extensionconfigurablebundleservices. Can only be used at creation of model - before first save.- Parameters:
value- the id - Identifier
-
setName
Generated method - Setter ofAbstractBundleRule.nameattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the name - Name of the bundle rule
-
setRuleType
Generated method - Setter ofAbstractBundleRule.ruleTypeattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the ruleType
-
setTargetProducts
@Accessor(qualifier="targetProducts", type=SETTER) public void setTargetProducts(Collection<ProductModel> value) Generated method - Setter ofAbstractBundleRule.targetProductsattribute defined at extensionconfigurablebundleservices.- Parameters:
value- the targetProducts
-