public class BTGRuleModel extends BTGItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_BTGSEGMENTTOBTGRULESRELATION
Generated relation code constant for relation
BTGSegmentToBTGRulesRelation defining source attribute segment in extension btg. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
BTGRule.code attribute defined at extension btg. |
static String |
CONDITIONS
Generated constant - Attribute key of
BTGRule.conditions attribute defined at extension btg. |
static String |
DESCRIPTION
Generated constant - Attribute key of
BTGRule.description attribute defined at extension btg. |
static String |
RESULTS
Generated constant - Attribute key of
BTGRule.results attribute defined at extension btg. |
static String |
RULETYPE
Generated constant - Attribute key of
BTGRule.ruleType attribute defined at extension btg. |
static String |
SEGMENT
Generated constant - Attribute key of
BTGRule.segment attribute defined at extension btg. |
static String |
SEGMENTPOS
Generated constant - Attribute key of
BTGRule.segmentPOS attribute defined at extension btg. |
CATALOGVERSION, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
BTGRuleModel()
Generated constructor - Default constructor for generic creation.
|
BTGRuleModel(CatalogVersionModel _catalogVersion,
String _code,
BTGRuleType _ruleType,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
BTGRuleModel(CatalogVersionModel _catalogVersion,
String _code,
ItemModel _owner,
BTGRuleType _ruleType,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
BTGRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
BTGRule.code attribute defined at extension btg. |
Collection<BTGConditionModel> |
getConditions()
Generated method - Getter of the
BTGRule.conditions attribute defined at extension btg. |
String |
getDescription()
Generated method - Getter of the
BTGRule.description attribute defined at extension btg. |
String |
getDescription(Locale loc)
Generated method - Getter of the
BTGRule.description attribute defined at extension btg. |
Collection<BTGRuleResultModel> |
getResults()
Generated method - Getter of the
BTGRule.results attribute defined at extension btg. |
BTGRuleType |
getRuleType()
Generated method - Getter of the
BTGRule.ruleType attribute defined at extension btg. |
BTGSegmentModel |
getSegment()
Generated method - Getter of the
BTGRule.segment attribute defined at extension btg. |
void |
setCode(String value)
Generated method - Setter of
BTGRule.code attribute defined at extension btg. |
void |
setConditions(Collection<BTGConditionModel> value)
Generated method - Setter of
BTGRule.conditions attribute defined at extension btg. |
void |
setDescription(String value)
Generated method - Setter of
BTGRule.description attribute defined at extension btg. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
BTGRule.description attribute defined at extension btg. |
void |
setResults(Collection<BTGRuleResultModel> value)
Generated method - Setter of
BTGRule.results attribute defined at extension btg. |
void |
setRuleType(BTGRuleType value)
Generated method - Setter of
BTGRule.ruleType attribute defined at extension btg. |
void |
setSegment(BTGSegmentModel value)
Generated method - Setter of
BTGRule.segment attribute defined at extension btg. |
getCatalogVersion, getUid, setCatalogVersion, setUidgetComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String _BTGSEGMENTTOBTGRULESRELATION
BTGSegmentToBTGRulesRelation defining source attribute segment in extension btg.public static final String CODE
BTGRule.code attribute defined at extension btg.public static final String DESCRIPTION
BTGRule.description attribute defined at extension btg.public static final String RULETYPE
BTGRule.ruleType attribute defined at extension btg.public static final String SEGMENTPOS
BTGRule.segmentPOS attribute defined at extension btg.public static final String SEGMENT
BTGRule.segment attribute defined at extension btg.public static final String CONDITIONS
BTGRule.conditions attribute defined at extension btg.public static final String RESULTS
BTGRule.results attribute defined at extension btg.public BTGRuleModel()
public BTGRuleModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public BTGRuleModel(CatalogVersionModel _catalogVersion, String _code, BTGRuleType _ruleType, String _uid)
_catalogVersion - initial attribute declared by type BTGItem at extension btg_code - initial attribute declared by type BTGRule at extension btg_ruleType - initial attribute declared by type BTGRule at extension btg_uid - initial attribute declared by type BTGItem at extension btg@Deprecated public BTGRuleModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, BTGRuleType _ruleType, String _uid)
_catalogVersion - initial attribute declared by type BTGItem at extension btg_code - initial attribute declared by type BTGRule at extension btg_owner - initial attribute declared by type Item at extension core_ruleType - initial attribute declared by type BTGRule at extension btg_uid - initial attribute declared by type BTGItem at extension btg@Accessor(qualifier="code", type=GETTER) public String getCode()
BTGRule.code attribute defined at extension btg.@Accessor(qualifier="conditions", type=GETTER) public Collection<BTGConditionModel> getConditions()
BTGRule.conditions attribute defined at extension btg.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public String getDescription()
BTGRule.description attribute defined at extension btg.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
BTGRule.description attribute defined at extension btg.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="results", type=GETTER) public Collection<BTGRuleResultModel> getResults()
BTGRule.results attribute defined at extension btg.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="ruleType", type=GETTER) public BTGRuleType getRuleType()
BTGRule.ruleType attribute defined at extension btg.@Accessor(qualifier="segment", type=GETTER) public BTGSegmentModel getSegment()
BTGRule.segment attribute defined at extension btg.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
BTGRule.code attribute defined at extension btg.value - the code@Accessor(qualifier="conditions", type=SETTER) public void setConditions(Collection<BTGConditionModel> value)
BTGRule.conditions attribute defined at extension btg.value - the conditions@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
BTGRule.description attribute defined at extension btg.value - the description - rule text@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
BTGRule.description attribute defined at extension btg.value - the description - rule textloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="results", type=SETTER) public void setResults(Collection<BTGRuleResultModel> value)
BTGRule.results attribute defined at extension btg.value - the results@Accessor(qualifier="ruleType", type=SETTER) public void setRuleType(BTGRuleType value)
BTGRule.ruleType attribute defined at extension btg.value - the ruleType@Accessor(qualifier="segment", type=SETTER) public void setSegment(BTGSegmentModel value)
BTGRule.segment attribute defined at extension btg.value - the segmentCopyright © 2017 SAP SE. All Rights Reserved.