| 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 | Description |
|---|---|---|
<R> MetaProperty<R> |
DynamicMetaBean.metaProperty(java.lang.String propertyName) |
Gets a meta-property by name.
|
default <R> MetaProperty<R> |
MetaBean.metaProperty(java.lang.String propertyName) |
Gets a meta-property by name.
|
MetaProperty<P> |
Property.metaProperty() |
Gets the meta-property representing the parts of the property that are
common across all instances, such as the name.
|
| Modifier and Type | Method | Description |
|---|---|---|
default java.lang.Iterable<MetaProperty<?>> |
MetaBean.metaPropertyIterable() |
Gets an iterator of meta-properties.
|
java.util.Map<java.lang.String,MetaProperty<?>> |
MetaBean.metaPropertyMap() |
Gets the map of meta-properties, keyed by property name.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <P> java.util.function.Function<Bean,P> |
JodaBeanUtils.chain(java.util.function.Function<Bean,? extends Bean> fn1,
MetaProperty<P> mp2) |
Chains a function to a meta-property.
|
static <P> java.util.function.Function<Bean,P> |
JodaBeanUtils.chain(MetaProperty<? extends Bean> mp1,
MetaProperty<P> mp2) |
Chains two meta-properties together.
|
static java.lang.Class<?> |
JodaBeanUtils.collectionType(MetaProperty<?> prop,
java.lang.Class<?> targetClass) |
Extracts the collection content type as a
Class from a meta-property. |
static java.util.List<java.lang.Class<?>> |
JodaBeanUtils.collectionTypeTypes(MetaProperty<?> prop,
java.lang.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 java.lang.Class<?> |
JodaBeanUtils.extractTypeClass(MetaProperty<?> prop,
java.lang.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 java.lang.Class<?> |
JodaBeanUtils.mapKeyType(MetaProperty<?> prop,
java.lang.Class<?> targetClass) |
Extracts the map key type as a
Class from a meta-property. |
static java.lang.Class<?> |
JodaBeanUtils.mapValueType(MetaProperty<?> prop,
java.lang.Class<?> targetClass) |
Extracts the map value type as a
Class from a meta-property. |
static java.util.List<java.lang.Class<?>> |
JodaBeanUtils.mapValueTypeTypes(MetaProperty<?> prop,
java.lang.Class<?> targetClass) |
Extracts the map value type generic type parameters as a
Class from a meta-property. |
BeanBuilder<T> |
BeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
Sets the value of a single property into the builder.
|
| Modifier and Type | Class | 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 | Description |
|---|---|---|
MetaProperty<P> |
BasicProperty.metaProperty() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.ConcurrentMap<MetaProperty<?>,java.lang.Object> |
BufferingBeanBuilder.getBuffer() |
Gets the buffer holding the state of the builder.
|
| Modifier and Type | Method | Description |
|---|---|---|
<P> P |
BasicBeanBuilder.get(MetaProperty<P> metaProperty) |
|
<P> P |
BasicImmutableBeanBuilder.get(MetaProperty<P> metaProperty) |
|
<P> P |
BufferingBeanBuilder.get(MetaProperty<P> metaProperty) |
Gets the buffered value associated with the specified property name.
|
static <P> BasicProperty<P> |
BasicProperty.of(Bean bean,
MetaProperty<P> metaProperty) |
Factory to create a property avoiding duplicate generics.
|
BeanBuilder<T> |
BasicBeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
|
BeanBuilder<T> |
BasicImmutableBeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
|
BeanBuilder<T> |
BufferingBeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
DirectMetaProperty<P> |
A meta-property implementation designed for use by the code generator.
|
| Modifier and Type | Method | Description |
|---|---|---|
MetaProperty<java.lang.Object> |
DirectMetaPropertyMap.get(java.lang.Object propertyName) |
|
<R> MetaProperty<R> |
DirectMetaBean.metaProperty(java.lang.String propertyName) |
|
<R> MetaProperty<R> |
MinimalMetaBean.metaProperty(java.lang.String propertyName) |
|
protected MetaProperty<?> |
DirectMetaBean.metaPropertyGet(java.lang.String propertyName) |
Gets the meta-property by name.
|
MetaProperty<?> |
DirectMetaPropertyMap.put(java.lang.String key,
MetaProperty<?> value) |
|
MetaProperty<?> |
DirectMetaPropertyMap.remove(java.lang.Object key) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<java.util.Map.Entry<java.lang.String,MetaProperty<?>>> |
DirectMetaPropertyMap.entrySet() |
|
java.util.Map<java.lang.String,MetaProperty<?>> |
MinimalMetaBean.metaPropertyMap() |
|
java.util.Collection<MetaProperty<?>> |
DirectMetaPropertyMap.values() |
| Modifier and Type | Method | Description |
|---|---|---|
<P> P |
DirectFieldsBeanBuilder.get(MetaProperty<P> metaProperty) |
|
<P> P |
DirectPrivateBeanBuilder.get(MetaProperty<P> metaProperty) |
|
MetaProperty<?> |
DirectMetaPropertyMap.put(java.lang.String key,
MetaProperty<?> value) |
|
BeanBuilder<T> |
DirectFieldsBeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
|
BeanBuilder<T> |
DirectPrivateBeanBuilder.set(MetaProperty<?> metaProperty,
java.lang.Object value) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DirectMetaPropertyMap.putAll(java.util.Map<? extends java.lang.String,? extends MetaProperty<?>> m) |
| Modifier and Type | Method | Description |
|---|---|---|
<R> MetaProperty<R> |
LightMetaBean.metaProperty(java.lang.String propertyName) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,MetaProperty<?>> |
LightMetaBean.metaPropertyMap() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,MetaProperty<?>> |
ReflectiveMetaBean.metaPropertyMap() |
| Modifier and Type | Method | Description |
|---|---|---|
MetaProperty<?> |
DefaultDeserializer.findMetaProperty(java.lang.Class<?> beanType,
MetaBean metaBean,
java.lang.String propertyName) |
|
MetaProperty<?> |
SerDeserializer.findMetaProperty(java.lang.Class<?> beanType,
MetaBean metaBean,
java.lang.String propertyName) |
Lookup the meta-property for the specified property name.
|
| Modifier and Type | Method | Description |
|---|---|---|
SerIterator |
CollectSerIteratorFactory.create(java.lang.Object value,
MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
GuavaSerIteratorFactory.create(java.lang.Object value,
MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
SerIteratorFactory.create(java.lang.Object value,
MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterator |
SerIteratorFactory.create(java.lang.Object value,
MetaProperty<?> prop,
java.lang.Class<?> beanClass,
boolean allowPrimitiveArrays) |
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
CollectSerIteratorFactory.createIterable(MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
GuavaSerIteratorFactory.createIterable(MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
SerIteratorFactory.createIterable(MetaProperty<?> prop,
java.lang.Class<?> beanClass) |
Creates an iterator wrapper for a meta-property value.
|
SerIterable |
SerIteratorFactory.createIterable(MetaProperty<?> prop,
java.lang.Class<?> beanClass,
boolean allowPrimitiveArrays) |
Creates an iterator wrapper for a meta-property value.
|
static java.lang.Class<?> |
SerOptional.extractType(MetaProperty<?> metaProp,
java.lang.Class<?> beanType) |
Extracts the value of the property from a bean, unwrapping any optional.
|
static java.lang.Object |
SerOptional.extractValue(MetaProperty<?> metaProp,
Bean bean) |
Extracts the value of the property from a bean, unwrapping any optional.
|
void |
DefaultDeserializer.setValue(BeanBuilder<?> builder,
MetaProperty<?> metaProp,
java.lang.Object value) |
|
void |
SerDeserializer.setValue(BeanBuilder<?> builder,
MetaProperty<?> metaProp,
java.lang.Object value) |
Sets the parsed value into the builder.
|
static java.lang.Object |
SerOptional.wrapValue(MetaProperty<?> metaProp,
java.lang.Class<?> beanType,
java.lang.Object value) |
Wraps the value of a property if it is an optional.
|
Copyright © 2007–2018 Joda.org. All rights reserved.