Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.function
Interface PropertyValue

All Known Implementing Classes:
PropertyValueImpl

public interface PropertyValue

Represents a property value for use in an PropertyTransformation.

Author:
Simon Templer

Method Summary
 PropertyEntityDefinition getProperty()
          Get the property.
 Object getValue()
          Get the property value.
<T> T
getValueAs(Class<T> type)
          Get the property value converted to the given type.
 

Method Detail

getValue

Object getValue()
Get the property value.

Returns:
the property value

getValueAs

<T> T getValueAs(Class<T> type)
             throws org.springframework.core.convert.ConversionException
Get the property value converted to the given type.

Parameters:
type - the type the value should be converted to
Returns:
the converted property value
Throws:
org.springframework.core.convert.ConversionException - if the conversion service is not available or the conversion fails or is not supported

getProperty

PropertyEntityDefinition getProperty()
Get the property.

Returns:
the property entity definition

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d