Package | Description |
---|---|
org.joda.beans |
Base interfaces and annotations defining Joda-Beans.
|
org.joda.beans.impl |
Base implementations of Joda-Bean interfaces.
|
org.joda.beans.impl.direct |
Implementation of Joda-Beans designed for extension by the code generator.
|
org.joda.beans.impl.reflection |
Implementation of Joda-Beans using reflection.
|
Modifier and Type | Method and Description |
---|---|
MetaProperty<P> |
Property.metaProperty()
Gets the meta-property representing the parts of the property that are
common across all instances, such as the name.
|
<R> MetaProperty<R> |
MetaBean.metaProperty(String propertyName)
Gets a meta-property by name.
|
Modifier and Type | Method and Description |
---|---|
Iterable<MetaProperty<?>> |
MetaBean.metaPropertyIterable()
Gets an iterator of meta-properties.
|
Map<String,MetaProperty<?>> |
MetaBean.metaPropertyMap()
Gets the map of meta-properties, keyed by property name.
|
Modifier and Type | Method and Description |
---|---|
static Class<?> |
JodaBeanUtils.collectionType(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the collection content type as a
Class from a meta-property. |
static Class<?> |
JodaBeanUtils.mapKeyType(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the map key type as a
Class from a meta-property. |
static Class<?> |
JodaBeanUtils.mapValueType(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the map key type as a
Class from a meta-property. |
BeanBuilder<T> |
BeanBuilder.set(MetaProperty<?> property,
Object value)
Sets the value of a single property into the builder.
|
BeanBuilder<T> |
BeanBuilder.setString(MetaProperty<?> property,
String value)
Sets the value of a single property into the builder.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicMetaProperty<P>
An abstract base meta-property.
|
Modifier and Type | Method and Description |
---|---|
MetaProperty<P> |
BasicProperty.metaProperty() |
<R> MetaProperty<R> |
BasicMetaBean.metaProperty(String propertyName) |
Modifier and Type | Method and Description |
---|---|
Iterable<MetaProperty<?>> |
BasicMetaBean.metaPropertyIterable() |
Modifier and Type | Method and Description |
---|---|
static <P> BasicProperty<P> |
BasicProperty.of(Bean bean,
MetaProperty<P> metaProperty)
Factory to create a property avoiding duplicate generics.
|
BeanBuilder<T> |
BasicBeanBuilder.set(MetaProperty<?> property,
Object value) |
BeanBuilder<T> |
BasicBeanBuilder.setString(MetaProperty<?> property,
String value) |
Modifier and Type | Class and Description |
---|---|
class |
DirectMetaProperty<P>
A meta-property implementation designed for use by
DirectBean . |
Modifier and Type | Method and Description |
---|---|
MetaProperty<Object> |
DirectMetaPropertyMap.get(Object propertyName) |
protected MetaProperty<?> |
DirectMetaBean.metaPropertyGet(String propertyName)
Gets the meta-property by name.
|
MetaProperty<?> |
DirectMetaPropertyMap.put(String key,
MetaProperty<?> value) |
MetaProperty<?> |
DirectMetaPropertyMap.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,MetaProperty<?>>> |
DirectMetaPropertyMap.entrySet() |
Collection<MetaProperty<?>> |
DirectMetaPropertyMap.values() |
Modifier and Type | Method and Description |
---|---|
MetaProperty<?> |
DirectMetaPropertyMap.put(String key,
MetaProperty<?> value) |
Modifier and Type | Method and Description |
---|---|
void |
DirectMetaPropertyMap.putAll(Map<? extends String,? extends MetaProperty<?>> m) |
Modifier and Type | Class and Description |
---|---|
class |
ReflectiveMetaProperty<P>
A meta-property implemented using a
PropertyDescriptor . |
Modifier and Type | Method and Description |
---|---|
<R> MetaProperty<R> |
ReflectiveMetaBean.metaProperty(String propertyName) |
Modifier and Type | Method and Description |
---|---|
Iterable<MetaProperty<?>> |
ReflectiveMetaBean.metaPropertyIterable() |
Map<String,MetaProperty<?>> |
ReflectiveMetaBean.metaPropertyMap() |
Copyright © 2007–2013 Joda.org. All rights reserved.