/** @see com.vaadin.data.Validatable#isValid() */
 @Override
 public boolean isValid() {
   if (validators != null) {
     for (Validator validator : validators) {
       if (!validator.isValid(this.getValue())) {
         return false;
       }
     }
   }
   return true;
 }
예제 #2
0
 public boolean isValid(Object value) {
   return validator.isValid(converter.parse((FIELD_DATA_TYPE) value));
 }