Schnittstelle IEntityExaminer

Alle Superschnittstellen:
IDatabaseObjectExaminer
Alle bekannten Implementierungsklassen:
EntityExaminer

public interface IEntityExaminer extends IDatabaseObjectExaminer
Version:
2024-12-29
Autor:
Silvan Wyss
  • Methodendetails

    • allNewAndEditedMandatoryFieldsAreSet

      boolean allNewAndEditedMandatoryFieldsAreSet(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if all new and mandatory fields of the given entity are set, false otherwise.
    • canBeDeleted

      boolean canBeDeleted(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if the given entity can be deleted, false otherwise.
    • canBeInsertedIntoTable

      boolean canBeInsertedIntoTable(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if the given entity can be inserted into a ITable, false otherwise.
    • canSetParentTable

      boolean canSetParentTable(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if a parent table can be set to the given entity, false otherwise.
    • canSetParentTable

      <E extends IEntity> boolean canSetParentTable(IEntity entity, ITable<E> table)
      Typparameter:
      E - is the type of the IEntitys of the givne table.
      Parameter:
      entity -
      table -
      Gibt zurück:
      true if the given table can be set as parent table to the given entity, false otherwise.
    • isReferenced

      boolean isReferenced(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if the given entity is referenced, false otherwise.
    • isReferencedIgnoringLocallyDeletedEntities

      boolean isReferencedIgnoringLocallyDeletedEntities(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if the given entity is referenced where the locally deleted IEntitys are ignored, false otherwise.
    • isReferencedInLocalData

      boolean isReferencedInLocalData(IEntity entity)
      Parameter:
      entity -
      Gibt zurück:
      true if the given entity is referenced in the local data, false otherwise.
    • referencesGivenEntity

      boolean referencesGivenEntity(IEntity sourceEntity, IEntity targetEntity)
      Parameter:
      sourceEntity -
      targetEntity -
      Gibt zurück:
      true if the given sourceEntity referecned the given targetEntity, false otherwise.