congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TypeSafeActivator.applySize
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.hibernate.cfg.beanvalidation.TypeSafeActivator.applySize (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.beanvalidationTypeSafeActivatorapplySize

Popular methods of TypeSafeActivator

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

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Sublime Text plugins
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