|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.rules.sdk2.dictionary.DictionaryProperty<T>
oracle.rules.sdk2.dictionary.SettableProperty<java.lang.String>
oracle.rules.sdk2.dictionary.TranslatedProperty
oracle.rules.sdk2.dictionary.ChoosableProperty
public class ChoosableProperty
A Choosable property can be chosen using a Choice tree
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.rules.sdk2.dictionary.SettableProperty |
|---|
SettableProperty.Diff<T> |
| Nested classes/interfaces inherited from class oracle.rules.sdk2.dictionary.DictionaryProperty |
|---|
DictionaryProperty.DiffType |
| Method Summary | |
|---|---|
Choice |
getChoice()
get current choice |
java.util.List<Choice> |
getChoices()
return forest of valid choices |
java.util.List<Choice> |
getChoices(java.lang.String pattern)
The pattern is compared with the translated value of the choice. |
java.lang.String[] |
getOptions(boolean translate)
|
java.lang.String |
getTranslatedDiffValue()
Get the translated value of the property accounting for diffs. |
java.lang.String[] |
getTranslatedOptions()
Get the translated values for the property |
java.lang.String |
getTranslatedValue()
Subclasses should override. |
void |
setChoice(Choice choice)
set current choice setting to null sets the property value to "" |
void |
setTranslatedValue(java.lang.String translatedValue)
Set translated property value. |
| Methods inherited from class oracle.rules.sdk2.dictionary.TranslatedProperty |
|---|
getDiffValue, getOptions, getValue |
| Methods inherited from class oracle.rules.sdk2.dictionary.SettableProperty |
|---|
getDiffValue, setValue |
| Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryProperty |
|---|
getDiff, getDiffs, getName, getValue, hasDiff |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.List<Choice> getChoices()
public java.util.List<Choice> getChoices(java.lang.String pattern)
pattern -
public Choice getChoice()
public void setChoice(Choice choice)
public java.lang.String[] getTranslatedOptions()
TranslatedProperty
getTranslatedOptions in class TranslatedPropertypublic java.lang.String[] getOptions(boolean translate)
public java.lang.String getTranslatedDiffValue()
TranslatedPropertyTranslatedProperty.getTranslatedValue() when rendering this
property in "diff mode".
translatedDiffValue is rarely different from translatedValue. One case is
if AdvancedMode has a diff, then the diff value is TRUE to
force the UI to render Patterns, etc.
public void setTranslatedValue(java.lang.String translatedValue)
setTranslatedValue(getValue(true))
setTranslatedValue in class TranslatedPropertytranslatedValue - public java.lang.String getTranslatedValue()
getTranslatedValue in class TranslatedProperty
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||