Class PropertyPathExpressionValueSetter

  • All Implemented Interfaces:
    ValueSetter

    public class PropertyPathExpressionValueSetter
    extends Object
    implements ValueSetter
    Implementation of ValueSetter that evaluates a PropertyPathExpression on the target bean to determine the new value used in setting.
    • 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: ValueSetter
        Updates the specified property of the specified bean as appropriate.
        Specified by:
        setValue in interface ValueSetter