Skip navigation links
oracle.rules.sdk2.dictionary
Class TranslatedProperty
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryProperty<T>
oracle.rules.sdk2.dictionary.SettableProperty<java.lang.String>
oracle.rules.sdk2.dictionary.TranslatedProperty
- All Implemented Interfaces:
- java.io.Serializable
-
public class TranslatedProperty
- extends SettableProperty<java.lang.String>
- See Also:
- Serialized Form
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslatedProperty
public TranslatedProperty(DictionaryComponent containingComponent,
java.lang.String propertyName)
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
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.