@Test public void testIsValidForFieldType() { assertTrue(constraint.isValidForFieldType(StringType.TYPE)); }
@Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); }
StringLengthConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } }
StringLengthConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } StringLengthConstraint(String type);  StringLengthConstraint(String type, int value); }
StringLengthConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } StringLengthConstraint(String type);  StringLengthConstraint(String type, int value); @Override boolean isValidForFieldType(Type fieldType); }
StringLengthConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } StringLengthConstraint(String type);  StringLengthConstraint(String type, int value); @Override boolean isValidForFieldType(Type fieldType); static final String MINLENGTH; static final String MAXLENGTH; }