| 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 |
|---|---|
BeanBuilder<T> |
TypedMetaBean.builder() |
BeanBuilder<? extends Bean> |
MetaBean.builder()
Creates a bean builder that can be used to create an instance of this bean.
|
BeanBuilder<? extends DynamicBean> |
DynamicMetaBean.builder()
Creates a bean builder that can be used to create an instance of this bean.
|
BeanBuilder<T> |
BeanBuilder.set(MetaProperty<?> metaProperty,
Object value)
Sets the value of a single property into the builder.
|
BeanBuilder<T> |
BeanBuilder.set(String propertyName,
Object value)
Sets the value of a single property into the builder.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicBeanBuilder<T extends Bean>
Basic implementation of
BeanBuilder that wraps a real bean. |
class |
BasicImmutableBeanBuilder<T extends Bean>
Basic implementation of
BeanBuilder that wraps a MetaBean. |
class |
BufferingBeanBuilder<T extends Bean>
Implementation of
BeanBuilder that buffers data in a local map. |
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<T> |
BufferingBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
BasicImmutableBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
BasicBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
BufferingBeanBuilder.set(String propertyName,
Object value) |
BeanBuilder<T> |
BasicBeanBuilder.set(String propertyName,
Object value) |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectBeanBuilder<T extends Bean>
A builder implementation designed for use by the code generator.
|
class |
DirectFieldsBeanBuilder<T extends Bean>
A builder implementation designed for use by the code generator.
|
class |
DirectPrivateBeanBuilder<T extends Bean>
A builder implementation designed for use by the code generator.
|
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<T> |
MinimalMetaBean.builder() |
BeanBuilder<T> |
DirectPrivateBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
BeanBuilder<T> |
DirectFieldsBeanBuilder.set(MetaProperty<?> metaProperty,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
static <B extends Bean> |
MinimalMetaBean.of(Class<B> beanType,
String[] fieldNames,
Supplier<BeanBuilder<B>> builderSupplier,
Function<B,Object>... getters)
Obtains an instance of the meta-bean for immutable beans.
|
static <B extends Bean> |
MinimalMetaBean.of(Class<B> beanType,
String[] fieldNames,
Supplier<BeanBuilder<B>> builderSupplier,
List<Function<B,Object>> getters,
List<BiConsumer<B,Object>> setters)
Obtains an instance of the meta-bean for mutable beans.
|
static <B extends Bean> |
MinimalMetaBean.of(Class<B> beanType,
Supplier<BeanBuilder<B>> builderSupplier,
Function<B,Object>... getters)
Deprecated.
Use version that takes the field names
|
static <B extends Bean> |
MinimalMetaBean.of(Class<B> beanType,
Supplier<BeanBuilder<B>> builderSupplier,
List<Function<B,Object>> getters,
List<BiConsumer<B,Object>> setters)
Deprecated.
Use version that takes the field names
|
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<T> |
LightMetaBean.builder() |
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<T> |
ReflectiveMetaBean.builder() |
| Modifier and Type | Method and Description |
|---|---|
BeanBuilder<?> |
SerDeserializer.createBuilder(Class<?> beanType,
MetaBean metaBean)
Creates the stateful builder that captures state as the parse progresses.
|
BeanBuilder<?> |
DefaultDeserializer.createBuilder(Class<?> beanType,
MetaBean metaBean) |
| Modifier and Type | Method and Description |
|---|---|
Object |
SerDeserializer.build(Class<?> beanType,
BeanBuilder<?> builder)
Builds the resulting object.
|
Object |
DefaultDeserializer.build(Class<?> beanType,
BeanBuilder<?> builder) |
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) |
Copyright © 2007–2017 Joda.org. All rights reserved.