private ConstraintMapping configureTransforms(ConstraintMapping constraints) { constraints.type(TransformSort.class) .property("sortedColumnName", FIELD).constraint(new NotBlankDef()); .property("columns", FIELD).constraint(new NotEmptyDef()); .property("droppedColumnName", FIELD).constraint(new NotBlankDef()); .property("oldColumnName", FIELD).constraint(new NotBlankDef()) .property("newColumnName", FIELD).constraint(new NotBlankDef()); .property("newColumnName", FIELD).constraint(new NotBlankDef()) .property("expression", FIELD).constraint(new NotBlankDef()); .property("sql", FIELD).constraint(new NotBlankDef()); .property("sourceColumnName", FIELD).constraint(new NotBlankDef()) .property("fieldTransformation", FIELD).constraint(new NotNullDef()); .property("format", FIELD).constraint(new NotBlankDef()); .property("sourceColumnName", FIELD).constraint(new NotBlankDef()) .property("newColumnName", FIELD).constraint(new NotBlankDef()) .property("dropSourceColumn", FIELD).constraint(new NotNullDef()) .property("sourceColumnName", FIELD).constraint(new NotBlankDef()) .property("newColumnNamePrefix", FIELD).constraint(new NotBlankDef()) .property("dropSourceColumn", FIELD).constraint(new NotNullDef()) .property("sourceColumnName", FIELD).constraint(new NotBlankDef())