|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PojoDescriptorBuilder
This is the interface used to get (or create)
the descriptor for a given
Pojo.
This functionality is an advanced alternative to
Introspector or commons-beanutils.
PojoDescriptor| Method Summary | ||
|---|---|---|
|
getDescriptor(Class<POJO> pojoClass)
This method gets (or creates) the descriptor for the
given pojoClass. |
|
|
getDescriptor(GenericType<POJO> pojoType)
This method gets (or creates) the descriptor for the
given pojoType. |
|
PojoDescriptor<?> |
getDescriptor(Type pojoType)
This method gets (or creates) the descriptor for the
given pojoType. |
|
Map<String,Object> |
pojo2Map(Object pojo)
This method creates a lazy, immutable Map reflecting the given
Pojo. |
|
| Method Detail |
|---|
<POJO> PojoDescriptor<POJO> getDescriptor(Class<POJO> pojoClass)
descriptor for the
given pojoClass.
POJO - is the templated type of the pojoType.pojoClass - is the Class reflecting the
Pojo to introspect.
pojoClass.PojoDescriptor<?> getDescriptor(Type pojoType)
descriptor for the
given pojoType.
pojoType - is the Type reflecting the
Pojo to introspect.
pojoType.getDescriptor(GenericType)<POJO> PojoDescriptor<POJO> getDescriptor(GenericType<POJO> pojoType)
descriptor for the
given pojoType.
POJO - is the templated type of the pojoType.pojoType - is the GenericType reflecting the
Pojo to introspect.
pojoType.Map<String,Object> pojo2Map(Object pojo)
Map reflecting the given
Pojo.Map may be
simple.
pojo - is the Pojo to convert.
Map reflecting the given
Pojo.PojoPathNavigator.pojo2Map(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||