Class DynamicBean

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

@BeanName("mmm_DynamicBean") public class DynamicBean extends Bean
A Bean that is always dynamic. Only exists for simplicity.
  • Constructor Details

    • DynamicBean

      public DynamicBean()
      The constructor.
    • DynamicBean

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

    • isDynamic

      public boolean isDynamic()
      Specified by:
      isDynamic in interface ReadableBean
      Overrides:
      isDynamic in class AbstractBean
      Returns:
      true if this Bean is dynamic meaning that is not strictly typed but allows to dynamically add properties, false otherwise.
      See Also: