Package org.hibernate.search.annotations

Examples of org.hibernate.search.annotations.ContainedIn


    checkForContainedIn( member, typeMetadataBuilder, parseContext );

  }

  private void checkForContainedIn(XProperty member, TypeMetadata.Builder typeMetadataBuilder, ParseContext parseContext) {
    ContainedIn containedInAnnotation = member.getAnnotation( ContainedIn.class );
    if ( containedInAnnotation == null ) {
      return;
    }

    ContainedInMetadataBuilder containedInMetadataBuilder = new ContainedInMetadataBuilder( member );
View Full Code Here


      bindFieldAnnotation( member, propertiesMetadata, prefix, fieldAnn, context );
    }
  }

  private void checkForContainedIn(XProperty member, PropertiesMetadata propertiesMetadata) {
    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      ReflectionHelper.setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
    }
  }
View Full Code Here

      throw new SearchException( "@NumericField without a @Field on property '" + member.getName() + "'" );
    }
  }

  private void checkForContainedIn(XClass classHostingMember, XProperty member, PropertiesMetadata propertiesMetadata) {
    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      ReflectionHelper.setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
      //collection role in Hibernate is made of the actual hosting class of the member (see HSEARCH-780)
      this.containedInCollectionRoles
View Full Code Here

    checkForContainedIn( member, typeMetadataBuilder, parseContext );

  }

  private void checkForContainedIn(XProperty member, TypeMetadata.Builder typeMetadataBuilder, ParseContext parseContext) {
    ContainedIn containedInAnnotation = member.getAnnotation( ContainedIn.class );
    if ( containedInAnnotation == null ) {
      return;
    }

    updateContainedInMaxDepths( member, typeMetadataBuilder );
View Full Code Here

    checkForContainedIn( member, typeMetadataBuilder, parseContext );

  }

  private void checkForContainedIn(XProperty member, TypeMetadata.Builder typeMetadataBuilder, ParseContext parseContext) {
    ContainedIn containedInAnnotation = member.getAnnotation( ContainedIn.class );
    if ( containedInAnnotation == null ) {
      return;
    }

    ContainedInMetadataBuilder containedInMetadataBuilder = new ContainedInMetadataBuilder( member );
View Full Code Here

      bindFieldAnnotation( member, propertiesMetadata, prefix, fieldAnn, context );
    }
  }

  private void checkForContainedIn(XProperty member, PropertiesMetadata propertiesMetadata) {
    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      ReflectionHelper.setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
    }
  }
View Full Code Here

    }
    return fieldName;
  }

  private void checkForContainedIn(XClass classHostingMember, XProperty member, PropertiesMetadata propertiesMetadata) {
    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      updateContainedInMaxDepths( member, propertiesMetadata);
      ReflectionHelper.setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
      //collection role in Hibernate is made of the actual hosting class of the member (see HSEARCH-780)
View Full Code Here

    checkForContainedIn( member, typeMetadataBuilder, parseContext );

  }

  private void checkForContainedIn(XProperty member, TypeMetadata.Builder typeMetadataBuilder, ParseContext parseContext) {
    ContainedIn containedInAnnotation = member.getAnnotation( ContainedIn.class );
    if ( containedInAnnotation == null ) {
      return;
    }

    ContainedInMetadataBuilder containedInMetadataBuilder = new ContainedInMetadataBuilder( member );
View Full Code Here

      bindFieldAnnotation( member, propertiesMetadata, prefix, fieldAnn, context );
    }
  }

  private void checkForContainedIn(XProperty member, PropertiesMetadata propertiesMetadata) {
    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      ReflectionHelper.setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
    }
  }
View Full Code Here

      level--;
      maxLevel = oldMaxLevel; //set back the the old max level
    }

    ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
    if ( containedAnn != null ) {
      setAccessible( member );
      propertiesMetadata.containedInGetters.add( member );
    }
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.annotations.ContainedIn

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.