Interface EntityBean

  • All Superinterfaces:
    io.github.mmm.property.AttributeReadOnly, Entity, 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.bean.ReadableBean, io.github.mmm.value.ReadablePath, io.github.mmm.marshall.UnmarshallableObject, io.github.mmm.marshall.Unmarshaller<Object>, io.github.mmm.validation.Validatable, io.github.mmm.bean.WritableBean, io.github.mmm.value.WritablePath
    All Known Subinterfaces:
    Edge<I,​O>, TypedEdge<I,​O>
    All Known Implementing Classes:
    AdvancedEntityBean, SimpleEntityBean

    @AbstractInterface
    public interface EntityBean
    extends io.github.mmm.bean.WritableBean, Entity
    WritableBean for an entity that can be loaded from or saved to a database. Can be identified uniquely by its primary key.
    Since:
    1.0.0
    • Field Summary

      • Fields inherited from interface io.github.mmm.bean.ReadableBean

        PROPERTY_TYPE, SUFFIX_PROPERTY
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default Id<? extends EntityBean> getId()  
      default IdProperty<? extends EntityBean> Id()  
      default void setId​(Id<? extends Entity> id)  
      • Methods inherited from interface io.github.mmm.property.AttributeReadOnly

        isReadOnly
      • Methods inherited from interface io.github.mmm.marshall.MarshallableObject

        writeObject
      • Methods inherited from interface io.github.mmm.bean.ReadableBean

        copy, get, getPropertyCount, getPropertyNameForAlias, getType, isDynamic, isEqualTo, isPolymorphic, isPrototype, newInstance, path, validate, write
      • Methods inherited from interface io.github.mmm.marshall.UnmarshallableObject

        readObject
      • Methods inherited from interface io.github.mmm.bean.WritableBean

        addProperty, createProperty, createProperty, getOrCreateProperty, getOrCreateProperty, getProperties, getProperty, getRequiredProperty, read, set, set, set
      • Methods inherited from interface io.github.mmm.value.WritablePath

        path