Tabnine Logo
TypeSafeActivator.applyMax
Code IndexAdd Tabnine to your IDE (free)

How to use
applyMax
method
in
org.hibernate.cfg.beanvalidation.TypeSafeActivator

Best Java code snippets using org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyMax (Showing top 5 results out of 315)

origin: hibernate/hibernate-orm

applySize( property, descriptor, propertyDesc );
applyMin( property, descriptor, dialect );
applyMax( property, descriptor, dialect );
origin: org.hibernate/hibernate-annotations

private static boolean applyConstraints(Set<ConstraintDescriptor<?>> constraintDescriptors,
                   Property property,
                   PropertyDescriptor propertyDesc,
                   Set<Class<?>> groups, boolean canApplyNotNull) {
  boolean hasNotNull = false;
  for (ConstraintDescriptor<?> descriptor : constraintDescriptors) {
    if ( groups != null && Collections.disjoint( descriptor.getGroups(), groups) ) continue;
    if ( canApplyNotNull ) {
      hasNotNull = hasNotNull || applyNotNull( property, descriptor );
    }
    // apply bean validation specific constraints
    applyDigits( property, descriptor );
    applySize( property, descriptor, propertyDesc );
    applyMin( property, descriptor );
    applyMax( property, descriptor );
    // apply hibernate validator specific constraints - we cannot import any HV specific classes though!
    applyLength( property, descriptor, propertyDesc );
    // pass an empty set as composing constraints inherit the main constraint and thus are matching already
    hasNotNull = hasNotNull || applyConstraints(
        descriptor.getComposingConstraints(),
        property, propertyDesc, null,
        canApplyNotNull );
  }
  return hasNotNull;
}
origin: org.hibernate.orm/hibernate-core

applySize( property, descriptor, propertyDesc );
applyMin( property, descriptor, dialect );
applyMax( property, descriptor, dialect );
origin: org.hibernate/com.springsource.org.hibernate.core

applySize( property, descriptor, propertyDesc );
applyMin( property, descriptor, dialect );
applyMax( property, descriptor, dialect );
origin: org.hibernate/com.springsource.org.hibernate

applySize( property, descriptor, propertyDesc );
applyMin( property, descriptor, dialect );
applyMax( property, descriptor, dialect );
org.hibernate.cfg.beanvalidationTypeSafeActivatorapplyMax

Popular methods of TypeSafeActivator

  • applyConstraints
  • applyDDL
  • applyDigits
  • applyLength
  • applyMin
  • applyNotNull
  • applySize
  • findPropertyByName
  • getValidatorFactory
  • applySQLCheck
  • applyCallbackListeners
  • applyRelationalConstraints
  • applyCallbackListeners,
  • applyRelationalConstraints,
  • resolveProvidedFactory,
  • getColumn,
  • isComposite

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • JFrame (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now