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 TypeMethodDescriptiondefault List<SchemaProblem> Returns the problems found in this element without checking its children.default List<SchemaProblem> getSchemaProblems(boolean includeChildren) Returns a new list with this element's problems, plus those of its children whenincludeChildrenis true.default voidgetSchemaProblems(List<SchemaProblem> problems, boolean includeChildren) Adds this element's problems to the list, plus those of its children whenincludeChildrenis true; the default adds none.
-
Method Details
-
getSchemaProblems
Adds this element's problems to the list, plus those of its children whenincludeChildrenis true; the default adds none. -
getSchemaProblems
Returns a new list with this element's problems, plus those of its children whenincludeChildrenis true. -
getSchemaProblems
Returns the problems found in this element without checking its children.
-