Package org.fryske_akademy.jpa
Interface EntityInterface
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractEntity,TimeView
public interface EntityInterface extends Serializable
- Author:
- eduard
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SerializablegetId()an entity should have an idbooleanisTransient()is the entity in the database
-
-
-
Method Detail
-
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
-
-