Class PropertyPathExpressionValueSetter
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.deferred.PropertyPathExpressionValueSetter
-
- All Implemented Interfaces:
ValueSetter
public class PropertyPathExpressionValueSetter extends Object implements ValueSetter
Implementation ofValueSetterthat evaluates aPropertyPathExpressionon the target bean to determine the new value used in setting.
-
-
Constructor Summary
Constructors Constructor Description PropertyPathExpressionValueSetter(GtfsReader reader, EntitySchemaCache schemaCache, GtfsRelationalDao dao, org.onebusaway.collections.beans.PropertyPathExpression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetValue(org.onebusaway.csv_entities.schema.BeanWrapper bean, String propertyName)Updates the specified property of the specified bean as appropriate.
-
-
-
Constructor Detail
-
PropertyPathExpressionValueSetter
public PropertyPathExpressionValueSetter(GtfsReader reader, EntitySchemaCache schemaCache, GtfsRelationalDao dao, org.onebusaway.collections.beans.PropertyPathExpression expression)
-
-
Method Detail
-
setValue
public void setValue(org.onebusaway.csv_entities.schema.BeanWrapper bean, String propertyName)Description copied from interface:ValueSetterUpdates the specified property of the specified bean as appropriate.- Specified by:
setValuein interfaceValueSetter
-
-