Class AbstractBean

java.lang.Object
io.github.mmm.bean.AbstractBean
All Implemented Interfaces:
ReadableBean, WritableBean, io.github.mmm.marshall.id.StructuredIdMappingObject, io.github.mmm.marshall.MarshallableObject, io.github.mmm.marshall.Marshaller<Object>, io.github.mmm.marshall.Marshalling<Object>, io.github.mmm.marshall.MarshallingObject, io.github.mmm.marshall.UnmarshallableObject, io.github.mmm.marshall.Unmarshaller<Object>, AttributeReadOnly, io.github.mmm.validation.Validatable, io.github.mmm.value.ReadablePath, io.github.mmm.value.WritablePath
Direct Known Subclasses:
AbstractVirtualBean, Bean, BeanAccessor

public abstract class AbstractBean extends Object implements WritableBean
Abstract base implementation of WritableBean.
ATTENTION:
If you plan to implement beans as Java class instead of using interfaces, you always need to have a public constructor with WritableBean as a single argument. Otherwise read-only support can not work.
See Also:
  • Constructor Details

    • AbstractBean

      public AbstractBean(WritableBean writable)
      The constructor.
      Parameters:
      writable - the WritableBean to wrap as read-only bean or null to create a mutable bean.
  • Method Details