Interface IFieldExaminer

All Superinterfaces:
IDatabaseObjectExaminer
All Known Subinterfaces:
IMultiReferenceExaminer, IMultiValueFieldExaminer, IOptionalReferenceExaminer, IOptionalValueFieldExaminer, IReferenceExaminer, IValueFieldExaminer
All Known Implementing Classes:
FieldExaminer, MultiReferenceExaminer, MultiValueFieldTool, OptionalReferenceExaminer, OptionalValueFieldExaminer, ReferenceExaminer, ValueFieldExaminer

public interface IFieldExaminer extends IDatabaseObjectExaminer
Author:
Silvan Wyss
  • Method Details

    • belongsToEntity

      boolean belongsToEntity(IField field)
      Parameters:
      field -
      Returns:
      true if the given field belongs to a IEntity, false otherwise.
    • belongsToLoadedEntity

      boolean belongsToLoadedEntity(IField field)
      Parameters:
      field -
      Returns:
      true if the given field belongs to a loaded IEntity, false otherwise.
    • canReferenceBackBaseReference

      boolean canReferenceBackBaseReference(IField field, IBaseReference baseReference)
      Parameters:
      field -
      baseReference -
      Returns:
      true if the given field can reference back the given baseReference, false otherwise.
    • isForMultiContent

      boolean isForMultiContent(IField field)
      Parameters:
      field -
      Returns:
      true if the given field is for multi content, false otherwise.
    • isForSingleContent

      boolean isForSingleContent(IField field)
      Parameters:
      field -
      Returns:
      true if the given field is for single content, false otherwise.
    • isMandatoryButEmpty

      boolean isMandatoryButEmpty(IField field)
      Parameters:
      field -
      Returns:
      true if the given field is mandatory but empty, false otherwise.
    • isSetForCaseWhenIsMandatoryAndNewOrEdited

      boolean isSetForCaseWhenIsMandatoryAndNewOrEdited(IField field)
      Parameters:
      field -
      Returns:
      true if the given field is new or edited but set, false otherwise.