public abstract class ValueInterpreter extends Object
Defines operations required to interpret metadata property values.
Constructor and Description |
---|
ValueInterpreter() |
Modifier and Type | Method and Description |
---|---|
abstract MetadataPropertyType |
getInterpretedValueType()
Gets the type of the interpreted value.
|
PropertyValue |
toInterpretedValue(PropertyValue originalValue)
Interprets the provided property value.
|
PropertyValue |
toSourceValue(PropertyValue interpretedValue)
Converts an interpreted value back to its original form.
|
public abstract MetadataPropertyType getInterpretedValueType()
Gets the type of the interpreted value.
public final PropertyValue toInterpretedValue(PropertyValue originalValue)
Interprets the provided property value.
originalValue
- The value to interpret.public final PropertyValue toSourceValue(PropertyValue interpretedValue)
Converts an interpreted value back to its original form.
interpretedValue
- The interpreted value to convert.