@Test public void testIsValidForFieldType() { assertTrue(constraint.isValidForFieldType(StringType.TYPE)); }
@Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); }
EnumConstraint implements FieldConstraint, Serializable { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } }
EnumConstraint implements FieldConstraint, Serializable { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } EnumConstraint(); }
EnumConstraint implements FieldConstraint, Serializable { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } EnumConstraint(); @Override String getType(); @Override boolean isValidForFieldType(Type fieldType); String getName(); void setName(String name); }
EnumConstraint implements FieldConstraint, Serializable { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } EnumConstraint(); @Override String getType(); @Override boolean isValidForFieldType(Type fieldType); String getName(); void setName(String name); static final String ENUM; }