You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BufferedValidatable.java 831B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.data;
  5. import java.io.Serializable;
  6. /**
  7. * <p>
  8. * This interface defines the combination of <code>Validatable</code> and
  9. * <code>Buffered</code> interfaces. The combination of the interfaces defines
  10. * if the invalid data is committed to datasource.
  11. * </p>
  12. *
  13. * @author Vaadin Ltd.
  14. * @version
  15. * @VERSION@
  16. * @since 3.0
  17. */
  18. public interface BufferedValidatable extends Buffered, Validatable,
  19. Serializable {
  20. /**
  21. * Tests if the invalid data is committed to datasource. The default is
  22. * <code>false</code>.
  23. */
  24. public boolean isInvalidCommitted();
  25. /**
  26. * Sets if the invalid data should be committed to datasource. The default
  27. * is <code>false</code>.
  28. */
  29. public void setInvalidCommitted(boolean isCommitted);
  30. }