Interface EntityEditor.EditorPersistence
- Enclosing interface:
EntityEditor<R extends EntityEditor<R>>
public static interface EntityEditor.EditorPersistence
Manages the
EntityPersistence used by this editor, by default the one provided for the entity type by the
EntityPersistence.Factory registered for its domain, if any.-
Method Summary
Modifier and TypeMethodDescriptionget()voidset(@Nullable EntityPersistence persistence) Replaces the persistence this editor uses, by default the one the domain'sEntityPersistence.Factoryprovides for its entity type.
-
Method Details
-
get
EntityPersistence get()- Returns:
- the
EntityPersistenceused by this editor
-
set
Replaces the persistence this editor uses, by default the one the domain'sEntityPersistence.Factoryprovides for its entity type. Where that one does something of its own, recording each change for example, wrap it rather than replace it: the one set calling the oneget()returns before.- Parameters:
persistence- theEntityPersistenceto use, null for the factory's
-