Package org.hibernate.validator.internal.metadata.core

Examples of org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptions


  /**
   * @return returns the annotation ignores from the non annotation based meta data providers
   */
  private AnnotationProcessingOptions getAnnotationProcessingOptionsFromNonDefaultProviders() {
    AnnotationProcessingOptions options = new AnnotationProcessingOptions();
    for ( MetaDataProvider metaDataProvider : metaDataProviders ) {
      options.merge( metaDataProvider.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here


    // if we only have one mapping we can return the context of just this mapping
    if ( mappings.size() == 1 ) {
      return mappings.iterator().next().getAnnotationProcessingOptions();
    }

    AnnotationProcessingOptions options = new AnnotationProcessingOptionsImpl();

    for ( DefaultConstraintMapping mapping : mappings ) {
      options.merge( mapping.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

        SOFT,
        EnumSet.of( IDENTITY_COMPARISONS )
    );


    AnnotationProcessingOptions annotationProcessingOptions = getAnnotationProcessingOptionsFromNonDefaultProviders();
    AnnotationMetaDataProvider defaultProvider = new AnnotationMetaDataProvider(
        constraintHelper,
        parameterNameProvider,
        annotationProcessingOptions
    );
View Full Code Here

  /**
   * @return returns the annotation ignores from the non annotation based meta data providers
   */
  private AnnotationProcessingOptions getAnnotationProcessingOptionsFromNonDefaultProviders() {
    AnnotationProcessingOptions options = new AnnotationProcessingOptionsImpl();
    for ( MetaDataProvider metaDataProvider : metaDataProviders ) {
      options.merge( metaDataProvider.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

    );
  }

  @Override
  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptions();
  }
View Full Code Here

  private final Map<Class<?>, List<Member>> cascadedMembers;
  private final Map<Class<?>, List<Class<?>>> defaultSequences;

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
    this.constraintMap = newHashMap();
    this.cascadedMembers = newHashMap();
    this.defaultSequences = newHashMap();
  }
View Full Code Here

    this.methodCascadeConfig = newHashMap();
    this.configuredClasses = newHashSet();
    this.defaultGroupSequences = newHashMap();
    this.deprecatedDefaultGroupSequenceProviders = newHashMap();
    this.defaultGroupSequenceProviders = newHashMap();
    this.annotationProcessingOptions = new AnnotationProcessingOptions();
  }
View Full Code Here

        SOFT
    );
  }

  public AnnotationProcessingOptions getAnnotationProcessingOptions() {
    return new AnnotationProcessingOptions();
  }
View Full Code Here

        SOFT,
        EnumSet.of( IDENTITY_COMPARISONS )
    );


    AnnotationProcessingOptions annotationProcessingOptions = getAnnotationProcessingOptionsFromNonDefaultProviders();
    AnnotationMetaDataProvider defaultProvider = new AnnotationMetaDataProvider(
        constraintHelper,
        annotationProcessingOptions
    );
    this.metaDataProviders.add( defaultProvider );
View Full Code Here

  /**
   * @return returns the annotation ignores from the non annotation based meta data providers
   */
  private AnnotationProcessingOptions getAnnotationProcessingOptionsFromNonDefaultProviders() {
    AnnotationProcessingOptions options = new AnnotationProcessingOptions();
    for ( MetaDataProvider metaDataProvider : metaDataProviders ) {
      options.merge( metaDataProvider.getAnnotationProcessingOptions() );
    }

    return options;
  }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.