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

E10663-11

oracle.rules.sdk2.decisiontable
Class DimensionNode.ValuesProperty

java.lang.Object
  extended by oracle.rules.sdk2.dictionary.DictionaryProperty<T>
      extended by oracle.rules.sdk2.dictionary.SettableProperty<java.lang.String[]>
          extended by oracle.rules.sdk2.decisiontable.DimensionNode.ValuesProperty
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DimensionNode

public class DimensionNode.ValuesProperty
extends SettableProperty<java.lang.String[]>

A Values property is a translated settable String array-valued property.

See Also:
Serialized Form

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
 
Constructor Summary
DimensionNode.ValuesProperty(DictionaryComponent containingComponent, java.lang.String propertyName)
           
 
Method Summary
 java.lang.String[] getDiffValue(boolean translate)
          get (possibly translated) diff value
 java.lang.String[] getOptions()
          Get the valid key (untranslated) values for the property
 java.lang.String[] getTranslatedOptions()
          Get the translated values for the property
 java.lang.String[] getTranslatedValue()
          Get translated property value.
 java.lang.String[] getValue(boolean translate)
          Get property value, optionally translated
 void setTranslatedValue(java.lang.String... translatedValue)
          the following code fragment is always a no-op: setTranslatedValue(getValue(true))
 void setValue(java.lang.String... value)
          Set the value of the property
 
Methods inherited from class oracle.rules.sdk2.dictionary.SettableProperty
getDiffValue
 
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
 

Constructor Detail

DimensionNode.ValuesProperty

public DimensionNode.ValuesProperty(DictionaryComponent containingComponent,
                                    java.lang.String propertyName)
Method Detail

getValue

public java.lang.String[] getValue(boolean translate)
Get property value, optionally translated

Returns:
String value

getTranslatedValue

public java.lang.String[] getTranslatedValue()
Get translated property value. Default implementation uses the dictionary string translator. Override if needed.

Returns:
array of translated values if they exist, else untranslated values

setValue

public void setValue(java.lang.String... value)
Description copied from class: SettableProperty
Set the value of the property

Overrides:
setValue in class SettableProperty<java.lang.String[]>

setTranslatedValue

public void setTranslatedValue(java.lang.String... translatedValue)
the following code fragment is always a no-op: setTranslatedValue(getValue(true))


getOptions

public java.lang.String[] getOptions()
Get the valid key (untranslated) values for the property

Returns:
String[] of valid values

getTranslatedOptions

public java.lang.String[] getTranslatedOptions()
Get the translated values for the property

Returns:
String[] of valid values

getDiffValue

public java.lang.String[] getDiffValue(boolean translate)
get (possibly translated) diff value

Parameters:
translate - flag
Returns:
translated diff value, or diff value
See Also:
DimensionNode.ValuesProperty.getTranslatedDiffValue()

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.