Package org.joda.beans
Base interfaces and annotations defining Joda-Beans.
Joda-Beans is a library that can be used to provide enhanced Java Beans. These extensions provide the tools for framework writers to access bean and property information in a consistent and fast manner, typically without reflection.
A Joda-Bean implements the Bean
interface. In turn, this requires the
creation of a MetaBean
implementation, typically an inner class.
Both also require the provision of implementations of Property
and
MetaProperty
to express the properties of the bean.
Other packages provide implementations of the interfaces and a code generator.
-
Interface Summary Interface Description Bean A bean consisting of a set of properties.BeanBuilder<T extends Bean> A builder for a bean, providing a safe way to create it.DynamicBean A dynamic bean that allows properties to be added and removed.DynamicMetaBean A dynamic meta-bean which works withDynamicBean
.ImmutableBean An immutable bean consisting of a set of properties.MetaBean A meta-bean, defining those aspects of a bean which are not specific to a particular instance, such as the type and set of meta-properties.MetaBeanProvider A provider ofMetaBean
instances for bean classes.MetaProperty<P> A meta-property, defining those aspects of a property which are not specific to a particular bean, such as the property type and name.Property<P> A property that is linked to a specific bean.TypedMetaBean<T extends Bean> A meta-bean that captures the type of the bean. -
Class Summary Class Description JodaBeanUtils A set of utilities to assist when working with beans and properties.PropertyPath<P> A multi-stage property path. -
Enum Summary Enum Description PropertyStyle An enumeration of property styles. -
Annotation Types Summary Annotation Type Description MetaProvider Specifies the type of theMetaBeanProvider
that can provide aMetaBean
for the annotated type.