@Singleton @Named public class PojoPropertyAccessorSetIndexedBuilder extends AbstractPojoPropertyAccessorBuilder<PojoPropertyAccessorIndexedOneArg> implements PojoPropertyAccessorIndexedOneArgBuilder
PojoPropertyAccessorIndexedOneArgBuilder interface for
indexed setter-access.| Modifier and Type | Field and Description |
|---|---|
private static String[] |
METHOD_PREFIXES
alternative method name prefixes for boolean getters.
|
private static String[] |
METHOD_SUFFIXES
method name suffixes for indexed getters.
|
| Constructor and Description |
|---|
PojoPropertyAccessorSetIndexedBuilder()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PojoPropertyAccessorIndexedOneArg |
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. |
PojoPropertyAccessorIndexedOneArg |
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. |
PojoPropertyAccessorIndexedOneArgMode |
getMode()
This method gets the mode of this builder.
|
getPropertyName, getPropertyName, getPropertyName, isBooleanType, isIntegerTypeprivate static final String[] METHOD_PREFIXES
private static final String[] METHOD_SUFFIXES
public PojoPropertyAccessorSetIndexedBuilder()
public PojoPropertyAccessorIndexedOneArg create(Method method, PojoDescriptor<?> descriptor, PojoDescriptorDependencies dependencies)
PojoPropertyAccessorBuilderaccessor for the given method if that method is
suitable for this builder (e.g. starts with "set").create in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorIndexedOneArg>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 PojoPropertyAccessorIndexedOneArg create(Field field, PojoDescriptor<?> descriptor, PojoDescriptorDependencies dependencies)
PojoPropertyAccessorBuilderaccessor for the given field if that field is suitable
for this builder (e.g. contains a container type).create in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorIndexedOneArg>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 PojoPropertyAccessorIndexedOneArgMode getMode()
PojoPropertyAccessorBuildergetMode in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorIndexedOneArg>getMode in interface PojoPropertyAccessorIndexedOneArgBuilderCopyright © 2001–2016 mmm-Team. All rights reserved.