public Set<ConstraintViolation> validate() {
		Set<ConstraintViolation> errors = new LinkedHashSet<ConstraintViolation>();
		for (int record = 1; record <= 3; ++record) {
			errors.addAll(validate(record));
		}
		return errors;
	}
public Set < ConstraintViolation > validate ( ) { Set < ConstraintViolation > errors = new LinkedHashSet < ConstraintViolation > ( ) ; for ( int record = 1 ; record <= 3 ; ++ record ) { errors . addAll ( validate ( record ) ) ; } return errors ; }
Checks all data sets in IIM records 1, 2 and 3 for constraint violations.

@return list of constraint violations, empty set if IIM file is valid