| Package | Description |
|---|---|
| net.sf.mmm.util.pojo.descriptor.api |
Provides the API for introspection of
Pojos. |
| net.sf.mmm.util.pojo.descriptor.api.accessor |
Provides the accessors of the API for introspection of
Pojos. |
| net.sf.mmm.util.pojo.descriptor.api.attribute |
Provides the common attribute-interfaces of the API for introspection of
Pojos. |
| net.sf.mmm.util.pojo.descriptor.base |
Contains the basic implementation of the
Introspection-API. |
| net.sf.mmm.util.pojo.descriptor.base.accessor |
Contains the basic implementation of the
Introspection-Accessor-API. |
| net.sf.mmm.util.pojo.descriptor.impl |
Contains the implementation of the
Introspection-API. |
| net.sf.mmm.util.pojo.descriptor.impl.accessor |
Contains the implementation of the
Introspection-Accessor-API. |
| net.sf.mmm.util.pojo.path.api |
Provides the API for navigating a
PojoPath. |
| net.sf.mmm.util.pojo.path.base |
Contains the base-implementation of the
PojoPath API. |
| net.sf.mmm.util.reflect.api |
Provides the API for utilities that help to deal with reflection.
|
| net.sf.mmm.util.reflect.base |
Contains the base-implementations of the
Reflection-Util API. |
| net.sf.mmm.util.reflect.impl |
Contains implementations of the
Reflection-Util API and other internals
of this reflection-util. |
| net.sf.mmm.util.value.api |
Provides the API for generic handling of values.
|
| net.sf.mmm.util.value.base |
Contains the base-implementations of the
value API. |
| net.sf.mmm.util.value.impl |
Contains the implementation of the
Value-Util API. |
| Modifier and Type | Method and Description |
|---|---|
<POJO> PojoDescriptor<POJO> |
PojoDescriptorBuilder.getDescriptor(GenericType<POJO> pojoType)
This method gets (or creates) the
descriptor for the given pojoType. |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
PojoPropertyAccessor.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
PojoPropertyAccessor.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
| Modifier and Type | Method and Description |
|---|---|
GenericType<POJO> |
PojoAttributeType.getPojoType()
This method gets the
GenericType reflecting the Pojo this object
is related to. |
| Modifier and Type | Field and Description |
|---|---|
private GenericType<POJO> |
AbstractPojoDescriptor.pojoType |
| Modifier and Type | Field and Description |
|---|---|
private Map<GenericType<?>,PojoDescriptorImpl<?>> |
AbstractPojoDescriptorBuilder.pojoMap |
| Modifier and Type | Method and Description |
|---|---|
GenericType<POJO> |
AbstractPojoDescriptor.getPojoType()
This method gets the
GenericType reflecting the Pojo this object
is related to. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <POJO> PojoDescriptorImpl<POJO> |
AbstractPojoDescriptorBuilder.createDescriptor(GenericType<POJO> pojoType)
This method creates the
pojo descriptor for the given
pojoType. |
<POJO> AbstractPojoDescriptorImpl<POJO> |
AbstractPojoDescriptorBuilderLimited.getDescriptor(GenericType<POJO> pojoType)
This method gets (or creates) the
descriptor for the given pojoType. |
<POJO> PojoDescriptorImpl<POJO> |
AbstractPojoDescriptorBuilder.getDescriptor(GenericType<POJO> pojoType)
This method gets (or creates) the
descriptor for the given pojoType. |
| Constructor and Description |
|---|
AbstractPojoDescriptor(GenericType<POJO> pojoType,
PojoDescriptorBuilder pojoDescriptorBuilder)
The constructor.
|
| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
AbstractPojoPropertyAccessorProxyAdapterComponentType.propertyType |
private GenericType<?> |
AbstractPojoPropertyAccessorBase.propertyType |
private GenericType<?> |
AbstractPojoPropertyAccessorMethod.returnType |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
AbstractPojoPropertyAccessorProxyAdapterComponentType.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
AbstractPojoPropertyAccessorProxy.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
AbstractPojoPropertyAccessorBase.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
AbstractPojoPropertyAccessorProxy.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
AbstractPojoPropertyAccessorMethod.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
AbstractPojoPropertyAccessorField.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
| Modifier and Type | Method and Description |
|---|---|
protected <P> PojoDescriptorImpl<P> |
PojoDescriptorBuilderImpl.createDescriptor(GenericType<P> pojoType)
This method creates the
pojo descriptor for the given
pojoType. |
| Constructor and Description |
|---|
AbstractPojoDescriptorImpl(GenericType<POJO> pojoType,
PojoDescriptorBuilder pojoDescriptorBuilder)
The constructor.
|
PojoDescriptorImpl(GenericType<POJO> pojoType,
PojoDescriptorBuilder pojoDescriptorBuilder)
The constructor.
|
| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
AbstractPojoPropertyAccessorMethodLimited.propertyType |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
PojoPropertyAccessorProxyGetSize.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
AbstractPojoPropertyAccessorMethodLimited.getPropertyType()
This method gets the
GenericType of this property. |
GenericType<?> |
PojoPropertyAccessorProxySetMapped.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxySetIndexed.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxyRemove.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxyGetSize.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxyGetMapped.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxyGetIndexed.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
PojoPropertyAccessorProxyAdd.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
AbstractPojoPropertyAccessorSetMethod.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
GenericType<?> |
AbstractPojoPropertyAccessorGetMethod.getReturnType()
This method gets the
GenericType of the object returned when this accessor is
invoked. |
| Constructor and Description |
|---|
AbstractPojoPropertyAccessorGetMethod(String propertyName,
GenericType<?> propertyType,
Class<?> declaringClass)
The constructor.
|
AbstractPojoPropertyAccessorMethodLimited(String propertyName,
GenericType<?> propertyType,
Class<?> declaringClass)
The constructor.
|
AbstractPojoPropertyAccessorSetMethod(String propertyName,
GenericType<?> propertyType,
Class<?> declaringClass)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
PojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
GenericType<?> |
PojoPathNavigator.getType(Type pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
PojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
AbstractPojoPathNavigator.CachingPojoPath.pojoType |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
AbstractPojoPathNavigator.CachingPojoPath.getPojoType()
|
GenericType<?> |
AbstractPojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
GenericType<?> |
AbstractPojoPathNavigator.getType(Type pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractPojoPathNavigator.convert(AbstractPojoPathNavigator.CachingPojoPath currentPath,
PojoPathContext context,
Object pojo,
Class<?> targetClass,
GenericType<?> targetType)
This method converts the given
pojo to the given targetClass (or even
targetType) as necessary. |
protected AbstractPojoPathNavigator.PojoPathState |
AbstractPojoPathNavigator.createStateByType(GenericType initialPojoType,
String pojoPath,
PojoPathMode mode,
PojoPathContext context)
This method gets the
AbstractPojoPathNavigator.PojoPathState for the given context. |
GenericType<?> |
AbstractPojoPathNavigator.getType(GenericType<?> pojoType,
String pojoPath,
boolean failOnUnsafePath,
PojoPathContext context)
This method determines the result-type for the given
starting at
the given pojoType using the given context. |
void |
AbstractPojoPathNavigator.CachingPojoPath.setPojoType(GenericType<?> pojoType)
This method sets the
pojo-type. |
| Constructor and Description |
|---|
CachingPojoPath(Object pojo,
Class<?> pojoClass,
GenericType<?> pojoType)
The constructor for the root-path.
|
PojoPathCache(Class<?> initialPojoClass,
GenericType<?> initialPojoType)
The constructor.
|
| Modifier and Type | Field and Description |
|---|---|
static GenericType<?>[] |
GenericType.NO_TYPES
An empty
GenericType-array. |
| Modifier and Type | Method and Description |
|---|---|
<T> GenericType<T> |
GenericTypeFactory.createGenericType(Class<T> type)
This method creates the
GenericType representing the given type. |
GenericType<?> |
GenericTypeFactory.createGenericType(Type type)
This method creates the
GenericType representing the given type. |
GenericType<?> |
GenericTypeFactory.createGenericType(Type type,
Class<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
GenericTypeFactory.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
GenericType.getComponentType()
This method gets the component-type of this
GenericType if it represents an array,
Collection or Map. |
GenericType<?> |
GenericType.getKeyType()
This method gets the key-type of this
GenericType if it represents a Map. |
GenericType<?> |
GenericType.getTypeArgument(int index)
This method gets the type-argument at the given
index. |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
GenericTypeFactory.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
boolean |
GenericType.isAssignableFrom(GenericType<?> subType)
This method determines if this
GenericType is equal to or a super-type of the given
subType. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGenericType<T>
This is the implementation of the
GenericType interface. |
class |
SimpleGenericTypeLimited<T>
This is a very simple implementation of
GenericType that is GWT compatible and therefore limited to core
features. |
| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
SimpleGenericTypeLimited.componentType |
private GenericType<?> |
SimpleGenericTypeLimited.keyType |
static GenericType<Object> |
SimpleGenericTypeLimited.TYPE_OBJECT
The
GenericType for Object. |
static GenericType<Void> |
SimpleGenericTypeLimited.TYPE_VOID
The
GenericType for Void. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract GenericType<?> |
AbstractGenericType.create(Type type)
This method creates the
GenericType that encapsulates the given type. |
<T> GenericType<T> |
ReflectionUtilLimitedImpl.createGenericType(Class<T> type)
This method creates the
GenericType representing the given type. |
<T> GenericType<T> |
ReflectionUtilImpl.createGenericType(Class<T> type)
This method creates the
GenericType representing the given type. |
GenericType<?> |
ReflectionUtilLimitedImpl.createGenericType(Type type)
This method creates the
GenericType representing the given type. |
GenericType<?> |
ReflectionUtilImpl.createGenericType(Type type)
This method creates the
GenericType representing the given type. |
GenericType<?> |
ReflectionUtilLimitedImpl.createGenericType(Type type,
Class<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
ReflectionUtilImpl.createGenericType(Type type,
Class<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
ReflectionUtilLimitedImpl.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
ReflectionUtilImpl.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
SimpleGenericTypeLimited.getComponentType()
This method gets the component-type of this
GenericType if it represents an array,
Collection or Map. |
abstract GenericType<?> |
AbstractGenericType.getDefiningType()
This method gets the defining type.
|
GenericType<?> |
SimpleGenericTypeLimited.getKeyType()
This method gets the key-type of this
GenericType if it represents a Map. |
GenericType<?> |
SimpleGenericTypeLimited.getTypeArgument(int index)
This method gets the type-argument at the given
index. |
| Modifier and Type | Method and Description |
|---|---|
GenericType<?> |
ReflectionUtilLimitedImpl.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
GenericType<?> |
ReflectionUtilImpl.createGenericType(Type type,
GenericType<?> definingType)
This method creates the
GenericType representing the given type in the context of
the given definingType. |
boolean |
SimpleGenericTypeLimited.isAssignableFrom(GenericType<?> subType)
This method determines if this
GenericType is equal to or a super-type of the given
subType. |
boolean |
AbstractGenericType.isAssignableFrom(GenericType<?> subType)
This method determines if this
GenericType is equal to or a super-type of the given
subType. |
protected Type |
AbstractGenericType.resolveTypeVariable(TypeVariable<?> typeVariable,
GenericType<?> declaringType)
This method resolves the given
typeVariable in the context of the given declaringType. |
private Type |
AbstractGenericType.resolveTypeVariable(TypeVariable<?> typeVariable,
GenericType<?> declaringType,
Class<?> declaringClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericTypeImpl<T>
This is the implementation of the
GenericType interface. |
class |
SimpleGenericTypeImpl<T>
This is an implementation of the
GenericType interface for a simple Class. |
| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
SimpleGenericTypeImpl.componentType |
private GenericType<?> |
GenericTypeImpl.componentType |
private GenericType<?> |
GenericTypeImpl.definingType |
private GenericType<?> |
SimpleGenericTypeImpl.keyType |
private GenericType<?> |
GenericTypeImpl.keyType |
static GenericType<?> |
SimpleGenericTypeImpl.TYPE_INT
The
GenericType for int. |
static GenericType<Object> |
SimpleGenericTypeImpl.TYPE_OBJECT
The
GenericType for Object. |
static GenericType<?> |
SimpleGenericTypeImpl.TYPE_VOID
The
GenericType for void. |
private GenericType<?>[] |
GenericTypeImpl.typesArguments |
| Modifier and Type | Method and Description |
|---|---|
protected GenericType<?> |
SimpleGenericTypeImpl.create(Type genericType)
This method creates the
GenericType that encapsulates the given type. |
protected GenericType<?> |
GenericTypeImpl.create(Type genericType)
This method creates the
GenericType that encapsulates the given type. |
GenericType<?> |
SimpleGenericTypeImpl.getComponentType()
This method gets the component-type of this
GenericType if it represents an array,
Collection or Map. |
GenericType<?> |
GenericTypeImpl.getComponentType()
This method gets the component-type of this
GenericType if it represents an array,
Collection or Map. |
GenericType<?> |
SimpleGenericTypeImpl.getDefiningType()
This method gets the defining type.
|
GenericType<?> |
GenericTypeImpl.getDefiningType()
This method gets the defining type.
|
GenericType<?> |
SimpleGenericTypeImpl.getKeyType()
This method gets the key-type of this
GenericType if it represents a Map. |
GenericType<?> |
GenericTypeImpl.getKeyType()
This method gets the key-type of this
GenericType if it represents a Map. |
GenericType<?> |
SimpleGenericTypeImpl.getTypeArgument(int index)
This method gets the type-argument at the given
index. |
GenericType<?> |
GenericTypeImpl.getTypeArgument(int index)
This method gets the type-argument at the given
index. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractGenericType<T> |
GenericTypeImpl.create(Type genericType,
GenericType<?> genericDefiningType)
This method creates a new instance of this class.
|
| Constructor and Description |
|---|
GenericTypeImpl(Type valueType,
GenericType<?> definingType)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends TARGET> |
ValueConverter.convert(SOURCE value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
| Modifier and Type | Method and Description |
|---|---|
<T extends TARGET> |
AbstractSimpleValueConverter.convert(SOURCE value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Class> |
ValueConverterToClass.convert(CharSequence value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
<T> T |
ComposedValueConverterImpl.convert(Object value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
<T extends CONTAINER> |
AbstractValueConverterToContainer.convert(Object value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
<T extends TARGET> |
ComposedValueConverterImpl.ComposedTargetTypeConverter.convert(Object value,
Object valueSource,
GenericType<T> genericTargetType)
This method converts the given
pojo to the <TARGET>-type. |
<T extends EntityTo> |
ValueConverterEntityToEto.convert(PersistenceEntity value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
<T extends TARGET> |
AbstractValueConverterToCompatiblePojo.convert(SOURCE value,
Object valueSource,
GenericType<T> targetType)
This method converts the given
pojo to the <TARGET>-type. |
protected void |
AbstractConverterToArray.convertContainerEntry(Object element,
int index,
ARRAY container,
Object valueSource,
GenericType<? extends ARRAY> targetType,
Object value)
This method converts a single entry of a container.
|
protected void |
ValueConverterToCollection.convertContainerEntry(Object element,
int index,
Collection container,
Object valueSource,
GenericType<? extends Collection> targetType,
Object value)
This method converts a single entry of a container.
|
protected abstract void |
AbstractValueConverterToContainer.convertContainerEntry(Object element,
int index,
CONTAINER container,
Object valueSource,
GenericType<? extends CONTAINER> targetType,
Object value)
This method converts a single entry of a container.
|
protected void |
ValueConverterToMap.convertContainerEntry(Object element,
int index,
Map container,
Object valueSource,
GenericType<? extends Map> targetType,
Object originalValue)
This method converts a single entry of a container.
|
protected <T extends CONTAINER> |
AbstractValueConverterToContainer.convertFromArray(Object arrayValue,
Object valueSource,
GenericType<T> targetType)
This method performs the
conversion for array values. |
protected <T extends CONTAINER> |
AbstractValueConverterToContainer.convertFromCollection(Collection collectionValue,
Object valueSource,
GenericType<T> targetType)
This method performs the
conversion for Collection values. |
protected <T extends CONTAINER> |
AbstractValueConverterToContainer.convertFromString(String stringValue,
Object valueSource,
GenericType<T> targetType)
This method performs the
conversion for String values. |
protected Object |
ComposedValueConverterImpl.convertRecursive(Object value,
Object valueSource,
GenericType<?> targetType,
Class<?> currentTargetClass,
ValueConverter previousConverter,
ComposedValueConverterImpl.TargetClass2ConverterMap converterMap)
This method performs the
conversion recursive. |
protected <T extends TARGET> |
ComposedValueConverterImpl.ComposedTargetTypeConverter.convertRecursive(Object value,
Object valueSource,
GenericType<T> genericTargetType,
Class<?> sourceClass)
This method performs the
conversion recursive. |
protected <T extends ARRAY> |
AbstractConverterToArray.createContainer(GenericType<T> targetType,
int length)
This method creates the according container for the given
containerType. |
protected abstract <T extends CONTAINER> |
AbstractValueConverterToContainer.createContainer(GenericType<T> targetType,
int length)
This method creates the according container for the given
containerType. |
protected <T extends Collection> |
ValueConverterToCollection.createContainer(GenericType<T> targetType,
int length)
This method creates the according container for the given
containerType. |
protected <T extends Map> |
ValueConverterToMap.createContainer(GenericType<T> targetType,
int length)
This method creates the according container for the given
containerType. |
protected boolean |
ComposedValueConverterImpl.isApplicable(ValueConverter<?,?> converter,
GenericType<?> targetType)
This method determines if the given
converter is applicable for the given targetType. |
Copyright © 2001–2015 mmm-Team. All rights reserved.