Interface IEntityExaminer
- All Superinterfaces:
IDatabaseObjectExaminer
- All Known Implementing Classes:
EntityExaminer
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanBeDeleted(IEntity entity) booleancanBeInsertedIntoTable(IEntity entity) booleancanSetParentTable(IEntity entity) booleancanSetParentTable(IEntity entity, ITable<? extends IEntity> table) booleanbooleanbooleanbooleanreferencesGivenEntity(IEntity sourceEntity, IEntity targetEntity) Methods inherited from interface IDatabaseObjectExaminer
isNewOrDeleted, isNewOrEdited, isNewOrEditedOrDeleted, isNewOrLoaded, isNewOrLoadedOrEdited
-
Method Details
-
allNewAndEditedMandatoryFieldsAreSet
- Parameters:
entity-- Returns:
- true if all new and mandatory fields of the given entity are set, false otherwise.
-
canBeDeleted
- Parameters:
entity-- Returns:
- true if the given entity can be deleted, false otherwise.
-
canBeInsertedIntoTable
-
canSetParentTable
- Parameters:
entity-- Returns:
- true if a parent table can be set to the given entity, false otherwise.
-
canSetParentTable
-
isReferencedIgnoringLocallyDeletedEntities
-
isReferencedInLocalDataIgnoringLocallyDeletedEntities
-
isReferencedInPersistedDataIgnoringLocallyDeletedEntities
-
referencesGivenEntity
-