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

E10663-11

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:
DimensionNode.ValuesProperty, Pattern.VariableProperty, TranslatedProperty, UserTranslatedProperty

public class SettableProperty<T>
extends DictionaryProperty<T>

A SettableProperty can be set

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.
 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 -

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

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

E10663-11

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