|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorBuilder<PojoPropertyAccessorTwoArg>
net.sf.mmm.util.pojo.descriptor.impl.accessor.PojoPropertyAccessorSetMappedBuilder
@Singleton @Named public class PojoPropertyAccessorSetMappedBuilder
This is the implementation of the PojoPropertyAccessorTwoArgBuilder
interface for mapped
setter-access.
| Field Summary | |
|---|---|
private static String |
METHOD_PREFIX_PUT
method name prefix for classic getter |
private static String |
METHOD_PREFIX_SET
method name prefix for classic setter |
private static String[] |
METHOD_PREFIXES
alternative method name prefixes for boolean getters. |
| Constructor Summary | |
|---|---|
PojoPropertyAccessorSetMappedBuilder()
The constructor. |
|
| Method Summary | |
|---|---|
PojoPropertyAccessorTwoArg |
create(Field field,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies)
This method creates the accessor for the given
field if that field is suitable for this builder (e.g. |
PojoPropertyAccessorTwoArg |
create(Method method,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies)
This method creates the accessor for the given
method if that method is suitable for this builder (e.g. |
PojoPropertyAccessorTwoArgMode |
getMode()
This method gets the mode of this builder. |
| Methods inherited from class net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorBuilder |
|---|
getPropertyName, getPropertyName, getPropertyName, isBooleanType, isIntegerType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String METHOD_PREFIX_SET
private static final String METHOD_PREFIX_PUT
private static final String[] METHOD_PREFIXES
| Constructor Detail |
|---|
public PojoPropertyAccessorSetMappedBuilder()
| Method Detail |
|---|
public PojoPropertyAccessorTwoArg create(Method method,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies)
accessor for the given
method if that method is suitable for this builder (e.g.
starts with "set").
create in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorTwoArg>method - the method to access.descriptor - is the descriptor of the
Pojo having the given
method.dependencies - are the PojoDescriptorDependencies with
injected helper components.
accessor for the given
method or null if the method
is NOT suitable for this builder.
public PojoPropertyAccessorTwoArg create(Field field,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies)
accessor for the given
field if that field is suitable for this builder (e.g.
contains a container type).
create in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorTwoArg>field - is the field.descriptor - is the descriptor of the
Pojo having the given
field.dependencies - are the PojoDescriptorDependencies with
injected helper components.
accessor for the given
field or null if the field
is NOT suitable for this builder.public PojoPropertyAccessorTwoArgMode getMode()
getMode in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorTwoArg>getMode in interface PojoPropertyAccessorTwoArgBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||