@Singleton @Named public class PojoPropertyAccessorRemoveBuilder extends AbstractPojoPropertyAccessorBuilder<PojoPropertyAccessorOneArg> implements PojoPropertyAccessorOneArgBuilder
PojoPropertyAccessorOneArgBuilder interface for
add-access.| Modifier and Type | Field and Description |
|---|---|
private static String |
METHOD_PREFIX_REMOVE
method name prefix for a remove method.
|
| Constructor and Description |
|---|
PojoPropertyAccessorRemoveBuilder()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PojoPropertyAccessorOneArg |
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. |
PojoPropertyAccessorOneArg |
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. |
PojoPropertyAccessorOneArgMode |
getMode()
This method gets the mode of this builder.
|
getPropertyName, getPropertyName, getPropertyName, isBooleanType, isIntegerTypeprivate static final String METHOD_PREFIX_REMOVE
public PojoPropertyAccessorRemoveBuilder()
public PojoPropertyAccessorOneArg 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<PojoPropertyAccessorOneArg>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 PojoPropertyAccessorOneArg 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<PojoPropertyAccessorOneArg>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 PojoPropertyAccessorOneArgMode getMode()
PojoPropertyAccessorBuildergetMode in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorOneArg>getMode in interface PojoPropertyAccessorOneArgBuilderCopyright © 2001–2016 mmm-Team. All rights reserved.