Module io.github.mmm.bean
Package io.github.mmm.bean
Provides the API for generic java beans defined as simple class or interface avoiding lots of boilerplate code.
-
Interface Summary Interface Description BeanClass BeanFactory Interface for a factory to create instances ofWritableBean
.BeanType ReadableBean Read interface of aBean
holding arbitraryproperties
.VirtualBean WritableBean
that may bevirtual
so it can potentially represent types that do not exist as JavaClass
.WritableBean Writable interface ofReadableBean
. -
Class Summary Class Description AbstractBean Abstract base implementation ofWritableBean
.AbstractBeanFactory Abstract base implementation ofBeanFactory
for generated implementations.AbstractVirtualBean Implementation ofVirtualBean
as regular java class.AdvancedBean Implementation ofVirtualBean
as regular java class.Bean Regular implementation ofWritableBean
.BeanHelper Class with helper methods for internal reuse to avoid redundancies.DynamicBean StandardPropertyBuilders Implementation ofPropertyBuilders
that auto registers build properties and redirects to read-only properties ifread-only
. -
Annotation Types Summary Annotation Type Description AbstractInterface Annotation indicating that aWritableBean
-interface is abstract and can not be instantiated viaBeanFactory
.Mandatory Annotation indicating that a property is mandatory.Name Annotation to configurestable name
oralias
.