public abstract class AbstractPojoDescriptorBuilderLimited extends AbstractLoggableComponent implements PojoDescriptorBuilder
PojoDescriptorBuilder
interface.Modifier and Type | Field and Description |
---|---|
private static PojoDescriptorBuilder |
INSTANCE |
private Map<Class<?>,AbstractPojoDescriptorImpl<?>> |
pojoMap |
Constructor and Description |
---|
AbstractPojoDescriptorBuilderLimited()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
<POJO> AbstractPojoDescriptorImpl<POJO> |
createDescriptor(Class<POJO> pojoType)
This method creates the
pojo descriptor for the given
pojoType . |
<POJO> AbstractPojoDescriptorImpl<POJO> |
getDescriptor(Class<POJO> pojoClass)
This method gets (or creates) the
descriptor for the given pojoClass . |
<POJO> AbstractPojoDescriptorImpl<POJO> |
getDescriptor(GenericType<POJO> pojoType)
This method gets (or creates) the
descriptor for the given pojoType . |
AbstractPojoDescriptorImpl<?> |
getDescriptor(Type pojoType)
This method gets (or creates) the
descriptor for the given pojoType . |
static PojoDescriptorBuilder |
getInstance() |
protected ReflectionUtilLimited |
getReflectionUtil()
This method gets the instance of
ReflectionUtilLimited . |
Map<String,Object> |
pojo2Map(Object pojo)
|
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
private static final PojoDescriptorBuilder INSTANCE
private final Map<Class<?>,AbstractPojoDescriptorImpl<?>> pojoMap
public AbstractPojoDescriptorBuilderLimited()
public static PojoDescriptorBuilder getInstance()
protected ReflectionUtilLimited getReflectionUtil()
ReflectionUtilLimited
.ReflectionUtilLimited
.public <POJO> AbstractPojoDescriptorImpl<POJO> getDescriptor(Class<POJO> pojoClass)
PojoDescriptorBuilder
descriptor
for the given pojoClass
.getDescriptor
in interface PojoDescriptorBuilder
POJO
- is the templated type of the pojoType
.pojoClass
- is the Class
reflecting the Pojo
to introspect.pojoClass
.public AbstractPojoDescriptorImpl<?> getDescriptor(Type pojoType)
PojoDescriptorBuilder
descriptor
for the given pojoType
.getDescriptor
in interface PojoDescriptorBuilder
pojoType
- is the Type
reflecting the Pojo
to introspect.pojoType
.PojoDescriptorBuilder.getDescriptor(GenericType)
public <POJO> AbstractPojoDescriptorImpl<POJO> getDescriptor(GenericType<POJO> pojoType)
PojoDescriptorBuilder
descriptor
for the given pojoType
.getDescriptor
in interface PojoDescriptorBuilder
POJO
- is the templated type of the pojoType
.pojoType
- is the GenericType
reflecting the Pojo
to introspect.pojoType
.public <POJO> AbstractPojoDescriptorImpl<POJO> createDescriptor(Class<POJO> pojoType)
pojo descriptor
for the given
pojoType
.POJO
- is the templated type of the pojoType
.pojoType
- is the GenericType
reflecting the Pojo
.Pojo
.PojoDescriptorBuilder.getDescriptor(java.lang.Class)
public Map<String,Object> pojo2Map(Object pojo)
PojoDescriptorBuilder
Map
reflecting the given Pojo
. Map
may be simple
.pojo2Map
in interface PojoDescriptorBuilder
pojo
- is the Pojo
to convert.Map
reflecting the given Pojo
.PojoPathNavigator.pojo2Map(Object)
Copyright © 2001–2016 mmm-Team. All rights reserved.