-
- All Known Subinterfaces:
EntityBean
- All Known Implementing Classes:
SimpleEntityBean
public interface EntityThis is the interface for an entity that can be loaded from or saved to a database. It can be identified uniquely by itsprimary key. Typically you may want to useEntityBeanbut for legacy technologies such as JPA you have to use standard Java Beans.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTY_NAME_IDThe property name ofID.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Id<? extends Entity>getId()static <B extends Entity>
Id<B>getId(B bean)voidsetId(Id<? extends Entity> id)
-
-
-
Field Detail
-
PROPERTY_NAME_ID
static final String PROPERTY_NAME_ID
The property name ofID.- See Also:
- Constant Field Values
-
-