|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryObject
oracle.rules.sdk2.dictionary.DictionaryComponent
oracle.rules.sdk2.ruleset.RuleComponent
oracle.rules.sdk2.ruleset.RuleSet
public class RuleSet
A RuleSet has a name, a table of Rules, and a table of RuleSheets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.rules.sdk2.dictionary.DictionaryComponent |
|---|
DictionaryComponent.Diff, DictionaryComponent.DiffType |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.lang.String |
generateRL()Validates then generates RL code for the rule set. |
SettableProperty<java.lang.Boolean> |
getActiveProperty()Get Active Property. |
java.lang.String |
getCalendarForm()Get Calendar Form (Date, Time, or DateTime). |
java.lang.String[] |
getCalendarFormOptions() |
SettableProperty<java.lang.String> |
getCalendarFormProperty()Get CalendarForm Property. |
int |
getCalendarFormSelected() |
java.lang.String |
getEffectiveEndDate()Get Effective End Date. |
SettableProperty<java.lang.String> |
getEffectiveEndDateProperty()Get EffectiveEndDate Property. |
java.lang.String |
getEffectiveStartDate()Get Effective Start Date. |
SettableProperty<java.lang.String> |
getEffectiveStartDateProperty()Get EffectiveStartDate Property. |
Rule |
getRule(int index)Get the Rule at the given index |
Rule |
getRuleByID(DOID id)Get the Rule with the given ID |
Rule |
getRuleByName(java.lang.String name)Get the Rule with the given name |
RuleSheetTable |
getRuleSheetTable()Get the table of rule sheets (decision tables) used to access and rearrange rule sheets in the RuleSet. |
TableProperty<RuleSheet> |
getRuleSheetTableProperty()Get RuleSheetTable Property. |
RuleTable |
getRuleTable()Get the table of rules used to access and rearrange rules in the RuleSet. |
TableProperty<Rule> |
getRuleTableProperty()Get RuleTable Property. |
SimpleTestTable |
getVisibilityFilter() |
boolean |
isActive()Returns value of the active property. |
boolean |
isCustomizable()are the date effectivity properties customizable? |
boolean |
isValid()is the rule set valid? |
boolean |
isVisibilityFilterEnabled() |
java.lang.Object |
put(java.lang.String key, java.lang.Object value)Generic property setter. |
void |
setActive(boolean active)sets the active property |
void |
setCalendarForm(java.lang.String form) |
void |
setCustomizable(boolean flag)set whether this expression is customizable |
void |
setEffectiveEndDate(java.lang.String date) |
void |
setEffectiveStartDate(java.lang.String date) |
void |
setVisibilityFilterEnabled(boolean flag) |
| Methods inherited from class oracle.rules.sdk2.ruleset.RuleComponent |
|---|
get, getParent, getParentTable, parentAction, parentComponent, parentFunction, parentPattern, parentRule, parentRuleCommon, parentRuleSheet, parentVariable, RHSRuleVariables |
| Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponent |
|---|
clear, containsKey, containsValue, entrySet, get, getAlias, getAlias, getAliasProperty, getAllReferences, getCustom, getDependents, getDescription, getDescriptionProperty, getDiff, getDiffProperties, getDiffs, getFullyQualifiedAlias, getFullyQualifiedName, getName, getNameProperty, getNext, getObjectPath, getOptions, getPrevious, getProperties, getProperty, getSelected, hasDiff, init, isAliasDistinct, isEmpty, isFullyQualifiedName, isNameDistinct, keySet, putAll, remove, setAlias, setCustom, setDescription, setName, size, validate, validate, values |
| Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject |
|---|
equals, exists, getAEReferences, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getLevel, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, validate |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Method Detail |
|---|
public Rule getRule(int index)
public Rule getRuleByID(DOID id)
public Rule getRuleByName(java.lang.String name)
public java.lang.String generateRL()
throws SDKException
SDKExceptionpublic TableProperty<Rule> getRuleTableProperty()
public RuleTable getRuleTable()
public TableProperty<RuleSheet> getRuleSheetTableProperty()
public RuleSheetTable getRuleSheetTable()
public boolean isCustomizable()
public void setCustomizable(boolean flag)
flag - booleanpublic SettableProperty<java.lang.Boolean> getActiveProperty()
public boolean isActive()
public void setActive(boolean active)
active - boolean valuepublic SettableProperty<java.lang.String> getEffectiveStartDateProperty()
public java.lang.String getEffectiveStartDate()
public void setEffectiveStartDate(java.lang.String date)
public SettableProperty<java.lang.String> getEffectiveEndDateProperty()
public java.lang.String getEffectiveEndDate()
public void setEffectiveEndDate(java.lang.String date)
public SettableProperty<java.lang.String> getCalendarFormProperty()
public java.lang.String getCalendarForm()
public void setCalendarForm(java.lang.String form)
public java.lang.String[] getCalendarFormOptions()
public int getCalendarFormSelected()
public boolean isValid()
public SimpleTestTable getVisibilityFilter()
public boolean isVisibilityFilterEnabled()
public void setVisibilityFilterEnabled(boolean flag)
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
DictionaryComponentA put() with either null key or null value throws a NullPointerException.
A put() with a key that is not a String throws a ClassCastException
A put() of a value that is not of the correct type for the key throws a ClassCastException.
Bean properties which have no set() method are read only, and cannot be modified using the put(). Attempting to do so throws a runtime IllegalArgumentException. PROP_ID, and PROP_*_SELECTED are always read only.
put in interface java.util.Map<java.lang.String,java.lang.Object>put in class DictionaryComponentkey - the key of the property to setvalue - the value of the named property to set
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||