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
MetaProperty to express the properties of the bean.
Other packages provide implementations of the interfaces and a code generator.
Interface Summary Interface Description BeanA bean consisting of a set of properties. BeanBuilder<T extends Bean>A builder for a bean, providing a safe way to create it. DynamicBeanA dynamic bean that allows properties to be added and removed. DynamicMetaBeanA dynamic meta-bean which works with
ImmutableBeanAn immutable bean consisting of a set of properties. MetaBeanA 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. MetaBeanProviderA provider of
MetaBeaninstances 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 JodaBeanUtilsA set of utilities to assist when working with beans and properties.
Enum Summary Enum Description PropertyStyleAn enumeration of property styles.
Annotation Types Summary Annotation Type Description MetaProvider