public interface IlrBRLRule extends IlrBusinessRule, IlrMutableBRLRuleElement
A representation of the Rule Model object 'BRL Rule'.
A BRL Rule represents a Business Rule that is associated to a BRL language. Association to the language
is done using the 'language' annotation, whose value is the name of the Business Rule Language, as declared
by the Business Rule Language Extension Point. A BRL Rule object implements IlrBRLRuleElement
that allows this rule to be manipulated by the BRL framework.
IlrBrlPackage.getBRLRule()| Modifier and Type | Method and Description |
|---|---|
java.util.Set<?> |
getCategoryFilter() |
java.lang.String |
getDefinition()
Returns the value of the 'Definition' attribute.
|
IlrBRLDefinition |
getLanguageDefinition() |
java.lang.String |
getPackageName() |
java.lang.String |
getRootFilter()
Returns the value of the 'Root Filter' attribute.
|
java.lang.String |
getRootName()
Returns the value of the 'Root Name' attribute.
|
java.util.List<IlrBRLTemplateInfo> |
getTemplateInfo() |
java.util.Map<?,?> |
getTranslationProperties() |
void |
setCategoryFilter(java.util.Set<?> categoryFilter) |
void |
setDefinition(java.lang.String value)
Sets the value of the '
Definition' attribute. |
void |
setPackageName(java.lang.String pckgName) |
void |
setRootFilter(java.lang.String value)
Sets the value of the '
Root Filter' attribute. |
void |
setRootName(java.lang.String value)
Sets the value of the '
Root Name' attribute. |
void |
setTemplateInfo(java.util.List<IlrBRLTemplateInfo> templateInfo) |
void |
setTranslationProperties(java.util.Map<?,?> properties) |
getCategories, getLocale, getTemplate, isSetTemplate, setLocale, setTemplate, unsetTemplategetOverriddenRules, getPriority, setPriorityisActive, setActivegetDocumentation, getPackage, setDocumentation, setPackagegetFolder, setFoldergetRuleProject, setRuleProjectdeleteElement, getOriginal, getResource, isWorkingCopygetName, getUuid, setName, setUuidcloneElement, createAnnotation, deleteElement, fillWith, getAdapter, getDisplayName, getModel, isDeleted, isValid, setPropertyValue, setPropertyValuegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereClass, getPropertyValue, getPropertyValue, isInstanceOfgetScopeNamesetSyntaxTreesetDocumentation, setPropertyValuegetSyntaxTreegetDocumentation, getLocale, getName, getPropertyValuegetLocalejava.lang.String getDefinition()
getDefinition in interface IlrBRLParserInput,
setDefinition(String),
IlrBrlPackage.getBRLRule_Definition()void setDefinition(java.lang.String value)
Definition' attribute.
setDefinition in interface IlrMutableBRLRuleElementvalue - the new value of the 'Definition' attribute.,
getDefinition()java.lang.String getRootName()
getRootName in interface IlrBRLParserInput,
setRootName(String),
IlrBrlPackage.getBRLRule_RootName()void setRootName(java.lang.String value)
Root Name' attribute.
setRootName in interface IlrMutableBRLRuleElementvalue - the new value of the 'Root Name' attribute.,
getRootName()java.lang.String getRootFilter()
setRootFilter(String),
IlrBrlPackage.getBRLRule_RootFilter()void setRootFilter(java.lang.String value)
Root Filter' attribute.
setRootFilter in interface IlrMutableBRLRuleElementvalue - the new value of the 'Root Filter' attribute.getRootFilter()IlrBRLDefinition getLanguageDefinition()
getLanguageDefinition in interface IlrBRLParserInputBRLDefinition object representing the business rule
language definition for the appropriate locale.java.util.Set<?> getCategoryFilter()
getCategoryFilter in interface IlrBRLElementgetCategoryFilter in interface IlrBRLParserInputString objects representing the acceptable
categories. If null or the empty set is returned, the
category filter is empty and no vocabulary elements are visiblevoid setCategoryFilter(java.util.Set<?> categoryFilter)
setCategoryFilter in interface IlrMutableBRLElementcategoryFilter - Categories in the category filter that are represented by a set of strings.java.util.List<IlrBRLTemplateInfo> getTemplateInfo()
getTemplateInfo in interface IlrBRLRuleElementvoid setTemplateInfo(java.util.List<IlrBRLTemplateInfo> templateInfo)
setTemplateInfo in interface IlrMutableBRLRuleElementtemplateInfo - The template information to attach to the rule. A list of IlrBRLTemplateInfo objects.java.lang.String getPackageName()
getPackageName in interface IlrBRLRuleElementjava.util.Map<?,?> getTranslationProperties()
getTranslationProperties in interface IlrBRLRuleElementvoid setPackageName(java.lang.String pckgName)
setPackageName in interface IlrMutableBRLRuleElementpckgName - The package name of the rule.void setTranslationProperties(java.util.Map<?,?> properties)
setTranslationProperties in interface IlrMutableBRLRuleElementproperties - A Map of property/value elements.© Copyright IBM Corp. 1987, 2017