Package org.hibernate.validation.metadata

Examples of org.hibernate.validation.metadata.AnnotationIgnores


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

  public XmlMappingParser(ConstraintHelper constraintHelper) {
    this.constraintHelper = constraintHelper;
    this.annotationIgnores = new AnnotationIgnores();
    this.constraintMap = new HashMap<Class<?>, List<MetaConstraint<?, ? extends Annotation>>>();
    this.cascadedMembers = new HashMap<Class<?>, List<Member>>();
    this.defaultSequences = new HashMap<Class<?>, List<Class<?>>>();
  }
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.annotationIgnores = new AnnotationIgnores();
    this.constraintMap = new HashMap<Class<?>, List<MetaConstraint<?, ? extends Annotation>>>();
    this.cascadedMembers = new HashMap<Class<?>, List<Member>>();
    this.defaultSequences = new HashMap<Class<?>, List<Class<?>>>();
  }
View Full Code Here

  private <T> void initBeanMetaData(Set<InputStream> mappingStreams) {

    XmlMappingParser mappingParser = new XmlMappingParser( constraintHelper );
    mappingParser.parse( mappingStreams );

    AnnotationIgnores annotationIgnores = mappingParser.getAnnotationIgnores();
    for ( Class<?> clazz : mappingParser.getProcessedClasses() ) {
      Class<T> beanClass = ( Class<T> ) clazz;
      BeanMetaDataImpl<T> metaData = new BeanMetaDataImpl<T>(
          beanClass, constraintHelper, annotationIgnores
      );
View Full Code Here

TOP

Related Classes of org.hibernate.validation.metadata.AnnotationIgnores

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.