ValueInterpreter
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class ValueInterpreter
Defines operations required to interpret metadata property values.
| Constructor | Description |
|---|---|
| ValueInterpreter() |
| Method | Description |
|---|---|
| getInterpretedValueType() | Gets the type of the interpreted value. |
| toInterpretedValue(PropertyValue originalValue) | Interprets the provided property value. |
| toSourceValue(PropertyValue interpretedValue) | Converts an interpreted value back to its original form. |
public ValueInterpreter()
public abstract MetadataPropertyType getInterpretedValueType()
Gets the type of the interpreted value.
Returns: MetadataPropertyType - The type of the interpreted value.
public final PropertyValue toInterpretedValue(PropertyValue originalValue)
Interprets the provided property value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| originalValue | PropertyValue | The value to interpret. |
Returns: PropertyValue - The interpreted value.
public final PropertyValue toSourceValue(PropertyValue interpretedValue)
Converts an interpreted value back to its original form.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| interpretedValue | PropertyValue | The interpreted value to convert. |
Returns: PropertyValue - The original value.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.