@Singleton @Named public class PojoPropertyAccessorSetBuilder extends AbstractPojoPropertyAccessorBuilder<PojoPropertyAccessorOneArg> implements PojoPropertyAccessorOneArgBuilder
PojoPropertyAccessorOneArgBuilder
interface for
setter-access
.Modifier and Type | Field and Description |
---|---|
private static String |
METHOD_PREFIX_SET
method name prefix for classic setter
|
Constructor and Description |
---|
PojoPropertyAccessorSetBuilder()
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, isIntegerType
private static final String METHOD_PREFIX_SET
public PojoPropertyAccessorSetBuilder()
public PojoPropertyAccessorOneArg create(Method method, PojoDescriptor<?> descriptor, PojoDescriptorDependencies dependencies)
PojoPropertyAccessorBuilder
accessor
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)
PojoPropertyAccessorBuilder
accessor
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()
PojoPropertyAccessorBuilder
getMode
in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorOneArg>
getMode
in interface PojoPropertyAccessorOneArgBuilder
Copyright © 2001–2016 mmm-Team. All rights reserved.