Package org.fryske_akademy.jpa
Interface EntityInterface
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractEntity,TimeView
- Author:
- eduard
-
Method Summary
Modifier and TypeMethodDescriptiongetId()an entity should have an idbooleanis the entity in the database
-
Method Details
-
getId
Serializable getId()an entity should have an id- Returns:
-
isTransient
boolean isTransient()is the entity in the database- Returns:
- true when not in the database
-