Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-03


oracle.rules.sdk2.dictionary
Class SettableProperty<T>

java.lang.Object
  extended by oracle.rules.sdk2.dictionary.DictionaryProperty<T>
      extended by oracle.rules.sdk2.dictionary.SettableProperty<T>

Type Parameters:
T - the class of the property, usually String
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TranslatedProperty

public class SettableProperty<T>
extends DictionaryProperty<T>

A SettableProperty can be set, and options for valid values can be retrieved

See Also:
Serialized Form

Nested Class Summary
static class SettableProperty.Diff<T>
          Describe differences between 2 SettableProperty this and that, and allow the differences from that to be appled to this so this and that are the same.

 

Nested classes/interfaces inherited from class oracle.rules.sdk2.dictionary.DictionaryProperty
DictionaryProperty.DiffType

 

Method Summary
 T getDiffValue()
          Get the value of the property accounting for diffs.
 java.lang.String[] getOptions()
          Get the valid values for the property
 void setValue(T value)
          Set the value of the property

 

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

setValue

public void setValue(T value)
Set the value of the property
Parameters:
value -

getOptions

public java.lang.String[] getOptions()
Get the valid values for the property
Returns:
String[] of valid values

getDiffValue

public T getDiffValue()
Get the value of the property accounting for diffs. Do not confuse this method with SettableProperty.Diff.getValue(). getDiffValue should be used instead of DictionaryProperty.getValue() when rendering this property in "diff mode". diffValue is rarely different from value. One case is if AdvancedMode has a diff, then the diff value is TRUE to force the UI to render Patterns, etc.
Returns:
value of type T

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-03


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.