Class SchemaNamesValidator

  • All Implemented Interfaces:
    Validator<Schema>

    public final class SchemaNamesValidator
    extends Object
    implements Validator<Schema>
    Validates schema names to be compliant with: no underscores in names (camel case should bd used instead) names must have a minimum size.

    this validator ("namesValidator") has the following configurations:

    • minNameSize - minimum number of characters that a name must have
    • camelCase - validate the use of camel case, will complain if names contain '_'
    • validTypeNames - a comma separated list of allowed type names, defaults to ""
    • invalidTypeNames - a comma separated list of type names that are not allowed, default to ""
    • validFieldNames - a comma separated list of allowed field names, defaults to ""
    • invalidFieldNames - a comma separated list of field names that are not allowed, default to ""
    Author:
    Zoltan Farkas