| 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.light |
Implementation of light immutable Joda-Beans.
|
| org.joda.beans.impl.reflection |
Implementation of Joda-Beans using reflection.
|
| org.joda.beans.ser |
Serialization of Joda-Beans.
|
| 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.
|
default <R> MetaProperty<R> |
MetaBean.metaProperty(String propertyName)
Gets a meta-property by name.
|
<R> MetaProperty<R> |
DynamicMetaBean.metaProperty(String propertyName)
Gets a meta-property by name.
|
| Modifier and Type | Method and Description |
|---|---|
default 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 <P> Function<Bean,P> |
JodaBeanUtils.chain(Function<Bean,? extends Bean> fn1,
MetaProperty<P> mp2)
Chains a function to a meta-property.
|
static <P> Function<Bean,P> |
JodaBeanUtils.chain(MetaProperty<? extends Bean> mp1,
MetaProperty<P> mp2)
Chains two meta-properties together.
|
static <P> Function<Bean,P> |
JodaBeanUtils.chain(MetaProperty<? extends Bean> mp1,
MetaProperty<P> mp2)
Chains two meta-properties together.
|
static Class<?> |
JodaBeanUtils.collectionType(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the collection content type as a
Class from a meta-property. |
static List<Class<?>> |
JodaBeanUtils.collectionTypeTypes(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the map value type generic type parameters as a
Class from a meta-property. |
static boolean |
JodaBeanUtils.equalIgnoring(Bean bean1,
Bean bean2,
MetaProperty<?>... properties)
Checks if two beans are equal ignoring one or more properties.
|
static Class<?> |
JodaBeanUtils.extractTypeClass(MetaProperty<?> prop,
Class<?> targetClass,
int size,
int index)
Low-level method to extract generic type information.
|
<P> P |
BeanBuilder.get(MetaProperty<P> metaProperty)
Gets the value of a single property previously added to the builder.
|
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 value type as a
Class from a meta-property. |
static List<Class<?>> |
JodaBeanUtils.mapValueTypeTypes(MetaProperty<?> prop,
Class<?> targetClass)
Extracts the map value type generic type parameters as a
Class from a meta-property. |
BeanBuilder<T> |
BeanBuilder.set(MetaProperty<?> metaProperty,
Object 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.
|
class |
StandaloneMetaProperty<P>
A meta-property that exists separate from a bean.
|
| Modifier and Type | Method and Description |
|---|---|
MetaProperty<P> |
BasicProperty.metaProperty() |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentMap<MetaProperty<?>,Object> |
BufferingBeanBuilder.getBuffer()
Gets the buffer holding the state of the builder.
|
| Modifier and Type | Method and Description |
|---|---|
<P> P |
BufferingBeanBuilder.get(MetaProperty<P> metaProperty)
Gets the buffered value associated with the specified property name.
|
<P> P |
BasicImmutableBeanBuilder.get(MetaProperty<P> metaProperty) |
<P> P |
BasicBeanBuilder.get(MetaProperty<P> metaProperty) |
static <P> BasicProperty<P> |
BasicProperty.of(Bean bean,
MetaProperty<P> metaProperty)
Factory to create a property avoiding duplicate generics.
|
BeanBuilder<T> |
BufferingBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
BasicImmutableBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
BasicBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectMetaProperty<P>
A meta-property implementation designed for use by the code generator.
|
| Modifier and Type | Method and Description |
|---|---|
MetaProperty<Object> |
DirectMetaPropertyMap.get(Object propertyName) |
<R> MetaProperty<R> |
DirectMetaBean.metaProperty(String 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() |
Map<String,MetaProperty<?>> |
MinimalMetaBean.metaPropertyMap() |
Collection<MetaProperty<?>> |
DirectMetaPropertyMap.values() |
| Modifier and Type | Method and Description |
|---|---|
<P> P |
DirectPrivateBeanBuilder.get(MetaProperty<P> metaProperty) |
<P> P |
DirectFieldsBeanBuilder.get(MetaProperty<P> metaProperty) |
MetaProperty<?> |
DirectMetaPropertyMap.put(String key,
MetaProperty<?> value) |
BeanBuilder<T> |
DirectPrivateBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
DirectFieldsBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectMetaPropertyMap.putAll(Map<? extends String,? extends MetaProperty<?>> m) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,MetaProperty<?>> |
LightMetaBean.metaPropertyMap() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,MetaProperty<?>> |
ReflectiveMetaBean.metaPropertyMap() |
| Modifier and Type | Method and Description |
|---|---|
MetaProperty<?> |
SerDeserializer.findMetaProperty(Class<?> beanType,
MetaBean metaBean,
String propertyName)
Lookup the meta-property for the specified property name.
|
MetaProperty<?> |
DefaultDeserializer.findMetaProperty(Class<?> beanType,
MetaBean metaBean,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
SerIterator |
SerIteratorFactory.create(Object value,
MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
GuavaSerIteratorFactory.create(Object value,
MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
CollectSerIteratorFactory.create(Object value,
MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
SerIteratorFactory.createIterable(MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
GuavaSerIteratorFactory.createIterable(MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
CollectSerIteratorFactory.createIterable(MetaProperty<?> prop,
Class<?> beanClass)
Creates an iterator wrapper for a meta-property value.
|
static Class<?> |
SerOptional.extractType(MetaProperty<?> metaProp,
Class<?> beanType)
Extracts the value of the property from a bean, unwrapping any optional.
|
static Object |
SerOptional.extractValue(MetaProperty<?> metaProp,
Bean bean)
Extracts the value of the property from a bean, unwrapping any optional.
|
void |
SerDeserializer.setValue(BeanBuilder<?> builder,
MetaProperty<?> metaProp,
Object value)
Sets the parsed value into the builder.
|
void |
DefaultDeserializer.setValue(BeanBuilder<?> builder,
MetaProperty<?> metaProp,
Object value) |
static Object |
SerOptional.wrapValue(MetaProperty<?> metaProp,
Class<?> beanType,
Object value)
Wraps the value of a property if it is an optional.
|
Copyright © 2007–2017 Joda.org. All rights reserved.