|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.5.0) E10663-05 |
||||||||
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.datamodel.ModelComponent
oracle.rules.sdk2.decisiontable.Bucket
public class Bucket
A Bucket defines an atomic value for a Dimension of a decision table. A Bucket is always contained in a BucketSet. The FORM of a Bucket is stored as a BucketSet property. A FORM_LOV Bucket stores its value in its NAME property. A FORM_RANGE Bucket has 2 properties to get/set:
The name property of a range bucket is not settable or stored. It is constructed from the bucket and the next bucket properties.
Bucket comparison simply uses the ordering of the Buckets in the parent table. In this way, bucket lists in the dimension nodes will be ordered as per their bucket set.
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 | |
---|---|
int |
compareTo(java.lang.Object o) |
SettableProperty<java.lang.Boolean> |
getExcludedProperty() Get Excluded Property. |
Expression |
getExpression() Get the Expression associated with the bucket. |
DictionaryProperty<Expression> |
getExpressionProperty() Get Expression Property |
SettableProperty<java.lang.Boolean> |
getIncludedProperty() Get Included Property. |
java.lang.String |
getName() Get name of Bucket. |
SettableProperty<java.lang.Boolean> |
getOtherwiseProperty() Get Otherwise Property. |
Bucket |
init() initialize the bucket to default values. |
boolean |
isExcluded() Is this bucket excluded from the bucket set? |
boolean |
isIncluded() Is Endpoint Included |
boolean |
isOtherwise() Is this the special "otherwise" bucket? |
boolean |
isRange() |
boolean |
isRemovable() Is this bucket removable? |
void |
setExcluded(boolean flag) Set whether or not to exclude this bucket |
void |
setIncluded(boolean included) Set Endpoint Included flag |
Methods inherited from class oracle.rules.sdk2.datamodel.ModelComponent |
---|
getParent, getParentTable, getVisibleProperty, isVisible, setVisible |
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, getIndex, getIndex, getNameProperty, getNext, getObjectPath, getOptions, getPrevious, getProperties, getProperty, getSelected, hasDiff, isAliasDistinct, isEmpty, isFullyQualifiedName, isNameDistinct, keySet, put, 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 boolean isRange()
public DictionaryProperty<Expression> getExpressionProperty()
public Expression getExpression()
public SettableProperty<java.lang.Boolean> getIncludedProperty()
public boolean isIncluded()
public void setIncluded(boolean included)
included
- - The INCLUDED flagpublic SettableProperty<java.lang.Boolean> getOtherwiseProperty()
public boolean isOtherwise()
public SettableProperty<java.lang.Boolean> getExcludedProperty()
public boolean isExcluded()
public void setExcluded(boolean flag)
flag
- whether or not to excludepublic boolean isRemovable()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getName()
getName
in class DictionaryComponent
public Bucket init()
Bucket newBucket = bucketTable.add().init()
.init
in class DictionaryComponent
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.5.0) E10663-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |