public class PojoPropertyDescriptorImpl extends AbstractPojoPropertyDescriptor
PojoPropertyDescriptor interface.| Modifier and Type | Field and Description |
|---|---|
private Map<PojoPropertyAccessorMode<?>,PojoPropertyAccessor> |
accessorMap |
private Collection<? extends PojoPropertyAccessor> |
accessors |
| Constructor and Description |
|---|
PojoPropertyDescriptorImpl(String propertyName)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<ACCESSOR extends PojoPropertyAccessor> |
getAccessor(PojoPropertyAccessorMode<ACCESSOR> mode)
This method gets the
accessor to access the represented property in the way given by
mode. |
Collection<? extends PojoPropertyAccessor> |
getAccessors()
This method gets all available
accessors for the represented
property. |
PojoPropertyAccessor |
putAccessor(PojoPropertyAccessor accessor)
This method puts the given
accessor into this property-descriptor. |
getField, getName, setField, toStringprivate final Map<PojoPropertyAccessorMode<?>,PojoPropertyAccessor> accessorMap
private final Collection<? extends PojoPropertyAccessor> accessors
public <ACCESSOR extends PojoPropertyAccessor> ACCESSOR getAccessor(PojoPropertyAccessorMode<ACCESSOR> mode)
PojoPropertyDescriptoraccessor to access the represented property in the way given by
mode.ACCESSOR - is the type of the requested accessor.mode - is the mode of the requested accessor. Use
PojoPropertyAccessorModes for available modes.mode or null if no such accessor exists.public Collection<? extends PojoPropertyAccessor> getAccessors()
PojoPropertyDescriptoraccessors for the represented
property.property descriptorspublic PojoPropertyAccessor putAccessor(PojoPropertyAccessor accessor)
AbstractPojoPropertyDescriptoraccessor into this property-descriptor. accessors.putAccessor in class AbstractPojoPropertyDescriptoraccessor - is the accessor to add.PojoPropertyAccessor with the same mode as the given
accessor that has been replaced by accessor or null if none has been replaced.PojoPropertyDescriptor.getAccessor(net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessorMode)Copyright © 2001–2016 mmm-Team. All rights reserved.