net.sf.beanlib.provider.collector
Class OrderedMethodCollector
java.lang.Object
net.sf.beanlib.provider.collector.OrderedMethodCollector
- All Implemented Interfaces:
- BeanMethodCollector
public class OrderedMethodCollector
- extends Object
- implements BeanMethodCollector
Supports collecting JavaBean public setter methods.
This class differs from the
PublicSetterMethodCollector
in that
- Immutable and
Date
property setter methods are placed before
the other setter methods in the returned Method
array; and
Collection
and Map
setter methods
are guaranteed to be placed after the other setter methods in the returned
Method
array.
- Author:
- Joe D. Velopar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderedMethodCollector
public OrderedMethodCollector()
collect
public Method[] collect(Object bean)
- Specified by:
collect
in interface BeanMethodCollector
getMethodPrefix
public String getMethodPrefix()
- Specified by:
getMethodPrefix
in interface BeanMethodCollector