Klasse FieldExaminer

java.lang.Object
ch.nolix.system.databaseobject.modelexaminer.DatabaseObjectExaminer
ch.nolix.system.objectdata.fieldexaminer.FieldExaminer
Alle implementierten Schnittstellen:
IDatabaseObjectExaminer, IFieldExaminer
Bekannte direkte Unterklassen:
MultiReferenceExaminer, MultiValueFieldTool, OptionalReferenceExaminer, OptionalValueFieldExaminer, ReferenceExaminer, ValueFieldExaminer

public class FieldExaminer extends DatabaseObjectExaminer implements IFieldExaminer
Version:
2024-12-30
Autor:
Silvan Wyss
  • Konstruktordetails

    • FieldExaminer

      public FieldExaminer()
  • Methodendetails

    • belongsToEntity

      public boolean belongsToEntity(IField field)
      Angegeben von:
      belongsToEntity in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field belongs to a IEntity, false otherwise.
    • belongsToLoadedEntity

      public boolean belongsToLoadedEntity(IField field)
      Angegeben von:
      belongsToLoadedEntity in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field belongs to a loaded IEntity, false otherwise.
    • canReferenceBackBaseReference

      public boolean canReferenceBackBaseReference(IField field, IBaseReference<? extends IEntity> abstractReference)
      Angegeben von:
      canReferenceBackBaseReference in Schnittstelle IFieldExaminer
      Parameter:
      field -
      abstractReference -
      Gibt zurück:
      true if the given field can reference back the given baseReference, false otherwise.
    • isForMultiContent

      public boolean isForMultiContent(IField field)
      Angegeben von:
      isForMultiContent in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field is for multi content, false otherwise.
    • isForSingleContent

      public boolean isForSingleContent(IField field)
      Angegeben von:
      isForSingleContent in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field is for single content, false otherwise.
    • isMandatoryButEmpty

      public boolean isMandatoryButEmpty(IField field)
      Angegeben von:
      isMandatoryButEmpty in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field is mandatory but empty, false otherwise.
    • isSetForCaseWhenIsMandatoryAndNewOrEdited

      public boolean isSetForCaseWhenIsMandatoryAndNewOrEdited(IField field)
      Angegeben von:
      isSetForCaseWhenIsMandatoryAndNewOrEdited in Schnittstelle IFieldExaminer
      Parameter:
      field -
      Gibt zurück:
      true if the given field is new or edited but set, false otherwise.