public class AbstractBundleRuleModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CATALOGVERSION
Generated constant - Attribute key of
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. |
static java.lang.String |
CONDITIONALPRODUCTS
Generated constant - Attribute key of
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices. |
static java.lang.String |
ID
Generated constant - Attribute key of
AbstractBundleRule.id attribute defined at extension configurablebundleservices. |
static java.lang.String |
NAME
Generated constant - Attribute key of
AbstractBundleRule.name attribute defined at extension configurablebundleservices. |
static java.lang.String |
RULETYPE
Generated constant - Attribute key of
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices. |
static java.lang.String |
TARGETPRODUCTS
Generated constant - Attribute key of
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractBundleRuleModel()
Generated constructor - Default constructor for generic creation.
|
AbstractBundleRuleModel(CatalogVersionModel _catalogVersion)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractBundleRuleModel(CatalogVersionModel _catalogVersion,
java.lang.String _id,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AbstractBundleRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CatalogVersionModel |
getCatalogVersion()
Generated method - Getter of the
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. |
java.util.Collection<ProductModel> |
getConditionalProducts()
Generated method - Getter of the
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices. |
java.lang.String |
getId()
Generated method - Getter of the
AbstractBundleRule.id attribute defined at extension configurablebundleservices. |
java.lang.String |
getName()
Generated method - Getter of the
AbstractBundleRule.name attribute defined at extension configurablebundleservices. |
BundleRuleTypeEnum |
getRuleType()
Generated method - Getter of the
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices. |
java.util.Collection<ProductModel> |
getTargetProducts()
Generated method - Getter of the
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices. |
void |
setCatalogVersion(CatalogVersionModel value)
Generated method - Initial setter of
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. |
void |
setConditionalProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices. |
void |
setId(java.lang.String value)
Generated method - Initial setter of
AbstractBundleRule.id attribute defined at extension configurablebundleservices. |
void |
setName(java.lang.String value)
Generated method - Setter of
AbstractBundleRule.name attribute defined at extension configurablebundleservices. |
void |
setRuleType(BundleRuleTypeEnum value)
Generated method - Setter of
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices. |
void |
setTargetProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String ID
AbstractBundleRule.id attribute defined at extension configurablebundleservices.public static final java.lang.String CATALOGVERSION
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.public static final java.lang.String NAME
AbstractBundleRule.name attribute defined at extension configurablebundleservices.public static final java.lang.String RULETYPE
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.public static final java.lang.String CONDITIONALPRODUCTS
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.public static final java.lang.String TARGETPRODUCTS
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.public AbstractBundleRuleModel()
public AbstractBundleRuleModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion)
_catalogVersion - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices@Deprecated public AbstractBundleRuleModel(CatalogVersionModel _catalogVersion, java.lang.String _id, ItemModel _owner)
_catalogVersion - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices_id - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.@Accessor(qualifier="conditionalProducts", type=GETTER) public java.util.Collection<ProductModel> getConditionalProducts()
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
AbstractBundleRule.id attribute defined at extension configurablebundleservices.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
AbstractBundleRule.name attribute defined at extension configurablebundleservices.@Accessor(qualifier="ruleType", type=GETTER) public BundleRuleTypeEnum getRuleType()
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.@Accessor(qualifier="targetProducts", type=GETTER) public java.util.Collection<ProductModel> getTargetProducts()
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.value - the catalogVersion - Catalog Version@Accessor(qualifier="conditionalProducts", type=SETTER) public void setConditionalProducts(java.util.Collection<ProductModel> value)
AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.value - the conditionalProducts@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
AbstractBundleRule.id attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.value - the id - Identifier@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
AbstractBundleRule.name attribute defined at extension configurablebundleservices.value - the name - Name of the bundle rule@Accessor(qualifier="ruleType", type=SETTER) public void setRuleType(BundleRuleTypeEnum value)
AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.value - the ruleType@Accessor(qualifier="targetProducts", type=SETTER) public void setTargetProducts(java.util.Collection<ProductModel> value)
AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.value - the targetProductsCopyright © 2018 SAP SE. All Rights Reserved.