-
- All Superinterfaces:
Entity
,MarshallableObject
,Marshaller<Object>
,Marshalling<Object>
,MarshallingObject
,ReadableBean
,UnmarshallableObject
,Unmarshaller<Object>
,Validatable
,WritableBean
- All Known Implementing Classes:
SimpleEntityBean
public interface EntityBean extends WritableBean, Entity
WritableBean
for 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
-
Fields inherited from interface io.github.mmm.bean.ReadableBean
PROPERTY_TYPE
-
-
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.marshall.MarshallableObject
writeObject
-
Methods inherited from interface io.github.mmm.bean.ReadableBean
copy, copy, get, getPropertyCount, getPropertyNameForAlias, getType, isDynamic, isEqualTo, isPolymorphic, isPrototype, isReadOnly, newInstance, 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
-
-
-
-
Method Detail
-
Id
@PropertyMethod default IdProperty<? extends EntityBean> Id()
-
getId
default Id<? extends EntityBean> getId()
-
-