Interface SchemaProblemsSupplier

All Known Implementing Classes:
BinaryFieldDef, BooleanFieldDef, EntityDef, EntityRelationshipDef, FieldDef, IndexDef, IndexFieldDef, NumericFieldDef, RecordFieldDef, SchemaDef, TemporalFieldDef, TextFieldDef, UuidFieldDef

public interface SchemaProblemsSupplier
Implemented by schema elements that can check themselves, and optionally their children, for SchemaProblems.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the problems found in this element without checking its children.
    getSchemaProblems(boolean includeChildren)
    Returns a new list with this element's problems, plus those of its children when includeChildren is true.
    default void
    getSchemaProblems(List<SchemaProblem> problems, boolean includeChildren)
    Adds this element's problems to the list, plus those of its children when includeChildren is true; the default adds none.
  • Method Details

    • getSchemaProblems

      default void getSchemaProblems(List<SchemaProblem> problems, boolean includeChildren)
      Adds this element's problems to the list, plus those of its children when includeChildren is true; the default adds none.
    • getSchemaProblems

      default List<SchemaProblem> getSchemaProblems(boolean includeChildren)
      Returns a new list with this element's problems, plus those of its children when includeChildren is true.
    • getSchemaProblems

      default List<SchemaProblem> getSchemaProblems()
      Returns the problems found in this element without checking its children.