Package | Description |
---|---|
net.sf.mmm.util.bean.api |
Provides the API for generic java beans defined as simple interface.
|
net.sf.mmm.util.pojo.descriptor.api |
Provides the API for introspection of
Pojo s. |
net.sf.mmm.util.pojo.descriptor.base |
Contains the basic implementation of the
Introspection-API . |
Modifier and Type | Method and Description |
---|---|
default WritableProperty<?> |
BeanAccess.getRequiredProperty(String name) |
Modifier and Type | Method and Description |
---|---|
Object |
PojoDescriptor.addPropertyItem(POJO pojo,
String propertyName,
Object item)
|
<ACCESSOR extends PojoPropertyAccessor> |
PojoDescriptor.getAccessor(String property,
PojoPropertyAccessorMode<ACCESSOR> mode,
boolean required)
|
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.
|
PojoPropertyDescriptor |
PojoDescriptor.getPropertyDescriptor(TypedProperty<?> property)
This method gets the
descriptor for the given property . |
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 |
---|---|
<V> V |
AbstractPojoDescriptor.getProperty(POJO pojo,
TypedProperty<V> property) |
<V> void |
AbstractPojoDescriptor.setProperty(POJO pojo,
TypedProperty<V> property,
V value) |
Copyright © 2001–2016 mmm-Team. All rights reserved.