code: public void check(FieldDescriptorDef fieldDef, String checkLevel) throws ConstraintException
      {
          ensureColumn(fieldDef, checkLevel);
          ensureJdbcType(fieldDef, checkLevel);
          ensureConversion(fieldDef, checkLevel);
          ensureLength(fieldDef, checkLevel);
          ensurePrecisionAndScale(fieldDef, checkLevel);
          checkLocking(fieldDef, checkLevel);
          checkSequenceName(fieldDef, checkLevel);
          checkId(fieldDef, checkLevel);
          if (fieldDef.isAnonymous())
          {
              checkAnonymous(fieldDef, checkLevel);
          }
          else
          {
              checkReadonlyAccessForNativePKs(fieldDef, checkLevel);
          }
      }
docs: Checks the given field descriptor.
  
  @param fieldDef   The field descriptor
  @param checkLevel The amount of checks to perform
  @exception ConstraintException If a constraint has been violated