Package oracle.rules.sdk2.dictionary
Class ValuesProperty
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DimensionNode.ValuesProperty,DSLParameter.RelatedTypeValuesProperty
A Values property is a translated settable String array-valued property.
- Since:
- 12.1.2
- Author:
- ganradha
- See Also:
-
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
ConstructorsConstructorDescriptionValuesProperty(DictionaryComponent containingComponent, String propertyName, String propertyIdName) -
Method Summary
Modifier and TypeMethodDescriptionString[]getDiffValue(boolean translate) Get (possibly translated) diff valueString[]Get the valid untranslated values for the propertyString[]Get the valid translated values for the propertyString[]Get translated property values.String[]getValue(boolean translate) Get property values, optionally translatedabstract voidsetTranslatedValue(String... translatedValue) Set Translated property values The following code fragment is always a no-op:setTranslatedValue(getValue(true))voidSet the value of the propertyMethods inherited from class oracle.rules.sdk2.dictionary.SettableProperty
getDiffValue, getDiffValueMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryProperty
getContainedDiffs, getDiff, getDiffs, getName, getName, getTranslatedName, getValue, hasDiff, removeDiff
-
Constructor Details
-
ValuesProperty
public ValuesProperty(DictionaryComponent containingComponent, String propertyName, String propertyIdName)
-
-
Method Details
-
setValue
Description copied from class:SettablePropertySet the value of the property- Overrides:
setValuein classSettableProperty<String[]>
-
getValue
Get property values, optionally translated- Returns:
- String[] value
-
getTranslatedValue
Get translated property values.- Returns:
- translated values
-
setTranslatedValue
Set Translated property values The following code fragment is always a no-op:setTranslatedValue(getValue(true)) -
getOptions
Get the valid untranslated values for the property- Returns:
- String[] of valid values
-
getTranslatedOptions
Get the valid translated values for the property- Returns:
- String[] of valid values
-
getDiffValue
Get (possibly translated) diff value- Parameters:
translate- flag- Returns:
- translated diff value, or diff value
- See Also:
-
getTranslatedDiffValue()
-