|
||||||||||
| 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<PojoPropertyAccessorNonArg>
net.sf.mmm.util.pojo.descriptor.impl.accessor.PojoPropertyAccessorSizeBuilder
@Singleton @Named public class PojoPropertyAccessorSizeBuilder
This is the implementation of the PojoPropertyAccessorNonArgBuilder
interface for getter-access.
| Field Summary | |
|---|---|
private static String[] |
METHOD_PREFIXES
the method name prefixes for getter. |
private static String[] |
METHOD_SUFFIXES
the method name suffixes for size getter. |
| Constructor Summary | |
|---|---|
PojoPropertyAccessorSizeBuilder()
The constructor. |
|
| Method Summary | |
|---|---|
PojoPropertyAccessorNonArg |
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. |
PojoPropertyAccessorNonArg |
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. |
PojoPropertyAccessorNonArgMode |
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_PREFIXES
private static final String[] METHOD_SUFFIXES
| Constructor Detail |
|---|
public PojoPropertyAccessorSizeBuilder()
| Method Detail |
|---|
public PojoPropertyAccessorNonArg 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<PojoPropertyAccessorNonArg>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 PojoPropertyAccessorNonArg 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<PojoPropertyAccessorNonArg>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 PojoPropertyAccessorNonArgMode getMode()
getMode in interface PojoPropertyAccessorBuilder<PojoPropertyAccessorNonArg>getMode in interface PojoPropertyAccessorNonArgBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||