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

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

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

origin: hibernate/hibernate-orm

applyLength( property, descriptor, propertyDesc );
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

applyLength( property, descriptor, propertyDesc );
origin: org.hibernate/com.springsource.org.hibernate.core

applyLength( property, descriptor, propertyDesc );
origin: org.hibernate/com.springsource.org.hibernate

applyLength( property, descriptor, propertyDesc );
org.hibernate.cfg.beanvalidationTypeSafeActivatorapplyLength

Popular methods of TypeSafeActivator

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

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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