org.pentaho.platform.util.beans
Interface PropertyNameFormatter

All Known Implementing Classes:
ActionSequenceCompatibilityFormatter, AlternateIndexFormatter, SuffixAppenderFormatter

public interface PropertyNameFormatter

PropertyNameFormatters are used to synchronize property names coming from a non Java Bean spec compliant system with the actual property names (camelCase) on the target bean.

Author:
aphillips
See Also:
BeanUtil#setValue(Object, String, Object, ValueSetErrorCallback, PropertyNameFormatter...)

Method Summary
 String format(String name)
          Format the name to match the bean property name.
 

Method Detail

format

String format(String name)
Format the name to match the bean property name.

Parameters:
name - the name to translate into the property name
Returns:
the property name to match the bean