public class BTGRuleModel extends BTGItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_BTGSEGMENTTOBTGRULESRELATION
Generated relation code constant for relation
BTGSegmentToBTGRulesRelation defining source attribute segment in extension btg. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CODE
Generated constant - Attribute key of
BTGRule.code attribute defined at extension btg. |
static java.lang.String |
CONDITIONS
Generated constant - Attribute key of
BTGRule.conditions attribute defined at extension btg. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
BTGRule.description attribute defined at extension btg. |
static java.lang.String |
RESULTS
Generated constant - Attribute key of
BTGRule.results attribute defined at extension btg. |
static java.lang.String |
RULETYPE
Generated constant - Attribute key of
BTGRule.ruleType attribute defined at extension btg. |
static java.lang.String |
SEGMENT
Generated constant - Attribute key of
BTGRule.segment attribute defined at extension btg. |
static java.lang.String |
SEGMENTPOS
Generated constant - Attribute key of
BTGRule.segmentPOS attribute defined at extension btg. |
CATALOGVERSION, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
BTGRuleModel()
Generated constructor - Default constructor for generic creation.
|
BTGRuleModel(CatalogVersionModel _catalogVersion,
java.lang.String _code,
BTGRuleType _ruleType,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
BTGRuleModel(CatalogVersionModel _catalogVersion,
java.lang.String _code,
ItemModel _owner,
BTGRuleType _ruleType,
java.lang.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 |
|---|---|
java.lang.String |
getCode()
Generated method - Getter of the
BTGRule.code attribute defined at extension btg. |
java.util.Collection<BTGConditionModel> |
getConditions()
Generated method - Getter of the
BTGRule.conditions attribute defined at extension btg. |
java.lang.String |
getDescription()
Generated method - Getter of the
BTGRule.description attribute defined at extension btg. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
BTGRule.description attribute defined at extension btg. |
java.util.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(java.lang.String value)
Generated method - Setter of
BTGRule.code attribute defined at extension btg. |
void |
setConditions(java.util.Collection<BTGConditionModel> value)
Generated method - Setter of
BTGRule.conditions attribute defined at extension btg. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
BTGRule.description attribute defined at extension btg. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
BTGRule.description attribute defined at extension btg. |
void |
setResults(java.util.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, 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 _BTGSEGMENTTOBTGRULESRELATION
BTGSegmentToBTGRulesRelation defining source attribute segment in extension btg.public static final java.lang.String CODE
BTGRule.code attribute defined at extension btg.public static final java.lang.String DESCRIPTION
BTGRule.description attribute defined at extension btg.public static final java.lang.String RULETYPE
BTGRule.ruleType attribute defined at extension btg.public static final java.lang.String SEGMENTPOS
BTGRule.segmentPOS attribute defined at extension btg.public static final java.lang.String SEGMENT
BTGRule.segment attribute defined at extension btg.public static final java.lang.String CONDITIONS
BTGRule.conditions attribute defined at extension btg.public static final java.lang.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, java.lang.String _code, BTGRuleType _ruleType, java.lang.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, java.lang.String _code, ItemModel _owner, BTGRuleType _ruleType, java.lang.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 java.lang.String getCode()
BTGRule.code attribute defined at extension btg.@Accessor(qualifier="conditions", type=GETTER) public java.util.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 java.lang.String getDescription()
BTGRule.description attribute defined at extension btg.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
BTGRule.description attribute defined at extension btg.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="results", type=GETTER) public java.util.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(java.lang.String value)
BTGRule.code attribute defined at extension btg.value - the code@Accessor(qualifier="conditions", type=SETTER) public void setConditions(java.util.Collection<BTGConditionModel> value)
BTGRule.conditions attribute defined at extension btg.value - the conditions@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
BTGRule.description attribute defined at extension btg.value - the description - rule text@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
BTGRule.description attribute defined at extension btg.value - the description - rule textloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="results", type=SETTER) public void setResults(java.util.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 © 2018 SAP SE. All Rights Reserved.