All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.deploy.parse.ReadValidationAnnotations Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.deploy.parse;

import io.ebeaninternal.server.deploy.meta.DeployBeanProperty;

/**
 * Reads validation NotNull and Size annotations for mapping.
 */
interface ReadValidationAnnotations {

  /**
   * Return true if the property has a NotNull validation annotation.
   */
  boolean isValidationNotNull(DeployBeanProperty property);

  /**
   * Return the max value of the Size validation annotations on the property.
   */
  int maxSize(DeployBeanProperty property);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy