-
- 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 Implementing Classes:
AdvancedEntityBean,SimpleEntityBean
@AbstractInterface public interface EntityBean extends io.github.mmm.bean.WritableBean, Entity
WritableBeanfor an entity that can be loaded from or saved to a database. Can be identified uniquely by itsprimary key.- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.entity.Entity
PROPERTY_NAME_ID
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Id<? extends EntityBean>getId()default IdProperty<? extends EntityBean>Id()default voidsetId(Id<? extends Entity> id)-
Methods inherited from interface io.github.mmm.bean.ReadableBean
copy, get, getPropertyCount, getPropertyNameForAlias, getType, isDynamic, isEqualTo, isPolymorphic, isPrototype, newInstance, path, validate, write
-
-
-
-
Method Detail
-
Id
default IdProperty<? extends EntityBean> Id()
-
getId
default Id<? extends EntityBean> getId()
-
-