oracle.rules.sdk2.dictionary
Class UserTranslatedProperty
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryProperty<T>
oracle.rules.sdk2.dictionary.SettableProperty<java.lang.String>
oracle.rules.sdk2.dictionary.UserTranslatedProperty
- All Implemented Interfaces:
- java.io.Serializable
public class UserTranslatedProperty
- extends SettableProperty<java.lang.String>
A user-translated property allows the user to set a new translated value.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getTranslatedValue()
Get translated property value. |
java.lang.String |
getValue(boolean translate)
Get optionally 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 |
UserTranslatedProperty
public UserTranslatedProperty(DictionaryComponent containingComponent,
java.lang.String propertyName)
getTranslatedValue
public java.lang.String getTranslatedValue()
- Get translated property value.
- Returns:
- translated value
getValue
public java.lang.String getValue(boolean translate)
- Get optionally translated property value.
If no translation, return untranslated value.
- Returns:
- optionally translated value
setTranslatedValue
public void setTranslatedValue(java.lang.String value)
- Set the translated value of the property
- Parameters:
value
-
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.