Package | Description |
---|---|
net.sf.mmm.util.pojo.descriptor.api |
Provides the API for introspection of
Pojo s. |
net.sf.mmm.util.pojo.descriptor.api.accessor |
Provides the accessors of the API for introspection of
Pojo s. |
net.sf.mmm.util.pojo.descriptor.base |
Contains the basic 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.reflect.api |
Provides the API for utilities that help to deal with reflection.
|
Modifier and Type | Method and Description |
---|---|
Object |
PojoDescriptor.addPropertyItem(POJO pojo,
String propertyName,
Object item)
|
Object |
PojoDescriptor.getProperty(POJO pojo,
String property)
|
<V> V |
PojoDescriptor.getProperty(POJO pojo,
TypedProperty<V> property)
This method gets the value of the specified property in a type-safe way.
|
Object |
PojoDescriptor.getPropertyItem(POJO pojo,
String propertyName,
int index)
This method gets the item with the given
index from the list-like property with the given propertyName of the given pojo using the
indexed
getter accessor . |
int |
PojoDescriptor.getPropertySize(POJO pojo,
String propertyName)
|
Boolean |
PojoDescriptor.removePropertyItem(POJO pojo,
String propertyName,
Object item)
This method removes the given
item from an array or Collection using the
remove
property with the given propertyName from the given pojo
accessor . |
Object |
PojoDescriptor.setProperty(POJO pojo,
String property,
Object value)
|
<V> void |
PojoDescriptor.setProperty(POJO pojo,
TypedProperty<V> property,
V value)
This method sets the value of the specified property in a type-safe way.
|
Object |
PojoDescriptor.setPropertyItem(POJO pojo,
String propertyName,
int index,
Object item)
This method sets the given
item at the given index in the list-like
property with the given propertyName of the given pojo using
the indexed
setter accessor . |
Modifier and Type | Method and Description |
---|---|
Object |
PojoPropertyAccessorNonArg.invoke(Object pojoInstance)
This method invokes the according property-method of
pojoInstance with the given arguments. |
Object |
PojoPropertyAccessorIndexedNonArg.invoke(Object pojoInstance,
int index)
This method invokes the according property-method of
pojoInstance with the given arguments. |
Object |
PojoPropertyAccessorIndexedOneArg.invoke(Object pojoInstance,
int index,
Object item)
This method invokes the according property-method of
pojoInstance with the given arguments. |
Object |
PojoPropertyAccessorOneArg.invoke(Object pojoInstance,
Object argument)
This method invokes the according property-method of
pojoInstance with the given arguments. |
Object |
PojoPropertyAccessorTwoArg.invoke(Object pojoInstance,
Object argument1,
Object argument2)
This method invokes the according property-method of
pojoInstance with the given arguments. |
Modifier and Type | Method and Description |
---|---|
<V> V |
AbstractPojoDescriptor.getProperty(POJO pojo,
TypedProperty<V> property) |
<V> void |
AbstractPojoDescriptor.setProperty(POJO pojo,
TypedProperty<V> property,
V value) |
Modifier and Type | Method and Description |
---|---|
Object |
PojoPropertyAccessorProxyGetByKey.invoke(Object pojoInstance) |
Object |
PojoPropertyAccessorProxyGetByIndex.invoke(Object pojoInstance) |
Object |
PojoPropertyAccessorProxySetByKey.invoke(Object pojoInstance,
Object argument) |
Object |
PojoPropertyAccessorProxySetByIndex.invoke(Object pojoInstance,
Object argument) |
Modifier and Type | Class and Description |
---|---|
class |
AccessFailedException
An
AccessFailedException is thrown if a reflective call failed because the
executing code does NOT have access to the according definition. |
class |
AnnotationNotForTargetException
A
AnnotationNotForTargetException is thrown if an Annotation should be resolved
for a specific ElementType that it is NOT targeted for. |
class |
AnnotationNotRuntimeException
A
AnnotationNotRuntimeException is thrown if an Annotation should be resolved at
runtime but has NOT the Retention RetentionPolicy.RUNTIME . |
class |
InstantiationFailedException
An
InstantiationFailedException indicates that the instantiation of a
Class failed for arbitrary reasons. |
class |
InvocationFailedException
An
InvocationFailedException is thrown if an invocation failed. |
class |
TypeNotFoundException
A
TypeNotFoundException is thrown if a Type was requested (e.g. |
Copyright © 2001–2016 mmm-Team. All rights reserved.