Klasse EntityExaminer
java.lang.Object
ch.nolix.system.databaseobject.modelexaminer.DatabaseObjectExaminer
ch.nolix.system.objectdata.modelexaminer.EntityExaminer
- Alle implementierten Schnittstellen:
IDatabaseObjectExaminer, IEntityExaminer
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanbooleancanBeDeleted(IEntity entity) booleancanBeInsertedIntoTable(IEntity entity) booleancanSetParentTable(IEntity entity) booleancanSetParentTable(IEntity entity, ITable<? extends IEntity> table) booleanbooleanbooleanbooleanreferencesGivenEntity(IEntity sourceEntity, IEntity entity) Von Klasse geerbte Methoden DatabaseObjectExaminer
isNewOrDeleted, isNewOrEdited, isNewOrEditedOrDeleted, isNewOrLoaded, isNewOrLoadedOrEditedVon Klasse geerbte Methoden Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden IDatabaseObjectExaminer
isNewOrDeleted, isNewOrEdited, isNewOrEditedOrDeleted, isNewOrLoaded, isNewOrLoadedOrEdited
-
Konstruktordetails
-
EntityExaminer
public EntityExaminer()
-
-
Methodendetails
-
allNewAndEditedMandatoryFieldsAreSet
- Angegeben von:
allNewAndEditedMandatoryFieldsAreSetin SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if all new and mandatory fields of the given entity are set, false otherwise.
-
canBeDeleted
- Angegeben von:
canBeDeletedin SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if the given entity can be deleted, false otherwise.
-
canBeInsertedIntoTable
- Angegeben von:
canBeInsertedIntoTablein SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if the given entity can be inserted into a
ITable, false otherwise.
-
canSetParentTable
- Angegeben von:
canSetParentTablein SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if a parent table can be set to the given entity, false otherwise.
-
canSetParentTable
- Angegeben von:
canSetParentTablein SchnittstelleIEntityExaminer- Parameter:
entity-table-- Gibt zurück:
- true if the given table can be set as parent table to the given entity, false otherwise.
-
isReferencedIgnoringLocallyDeletedEntities
- Angegeben von:
isReferencedIgnoringLocallyDeletedEntitiesin SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if the given entity is referenced ignoring the locally deleted
IEntitys, false otherwise.
-
isReferencedInLocalDataIgnoringLocallyDeletedEntities
- Angegeben von:
isReferencedInLocalDataIgnoringLocallyDeletedEntitiesin SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if the given entity is referenced in the local data ignoring the
locally deleted
IEntitys, false otherwise.
-
isReferencedInPersistedDataIgnoringLocallyDeletedEntities
- Angegeben von:
isReferencedInPersistedDataIgnoringLocallyDeletedEntitiesin SchnittstelleIEntityExaminer- Parameter:
entity-- Gibt zurück:
- true if the given entity is referenced in the persisted data ignoring
the locally deleted
IEntitys, false otherwise.
-
referencesGivenEntity
- Angegeben von:
referencesGivenEntityin SchnittstelleIEntityExaminer- Parameter:
sourceEntity-entity-- Gibt zurück:
- true if the given sourceEntity referecned the given targetEntity, false otherwise.
-