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 TranslatedProperty

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

All Implemented Interfaces:
java.io.Serializable

public class TranslatedProperty
extends SettableProperty<java.lang.String>
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
TranslatedProperty(DictionaryComponent containingComponent, java.lang.String propertyName)
           

 

Method Summary
 java.lang.String getDiffValue()
          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()
          Get translated property value.
 void setTranslatedValue(java.lang.String value)
          Set the translated value of the property

 

Methods inherited from class oracle.rules.sdk2.dictionary.SettableProperty
getOptions, 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

 

Constructor Detail

TranslatedProperty

public TranslatedProperty(DictionaryComponent containingComponent,
                          java.lang.String propertyName)

Method Detail

getTranslatedValue

public java.lang.String getTranslatedValue()
Get translated property value.
Returns:
translated value

setTranslatedValue

public void setTranslatedValue(java.lang.String value)
Set the translated value of the property
Parameters:
value -

getTranslatedOptions

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

getDiffValue

public java.lang.String getDiffValue()
Get the translated value of the property accounting for diffs. Do not confuse this method with Diff#getTranslatedValue. getTranslatedDiffValue should be used instead of TranslatedProperty.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.
Overrides:
getDiffValue in class SettableProperty<java.lang.String>
Returns:
translated 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.