Examples of DocumentId


Examples of org.hibernate.search.annotations.DocumentId

   */
  private Annotation getIdAnnotation(XProperty member, ConfigContext context) {
    Annotation idAnnotation = null;

    // check for explicit DocumentId
    DocumentId documentIdAnn = member.getAnnotation( DocumentId.class );
    if ( documentIdAnn != null ) {
      idAnnotation = documentIdAnn;
      documentIdAnnotatedMember = member;
    }
    // check for JPA @Id
View Full Code Here

Examples of org.hibernate.search.annotations.DocumentId

   */
  private Annotation getIdAnnotation(XProperty member, InitContext context) {
    Annotation idAnnotation = null;

    // check for explicit DocumentId
    DocumentId documentIdAnn = member.getAnnotation( DocumentId.class );
    if ( documentIdAnn != null ) {
      explicitDocumentId = true;
      idAnnotation = documentIdAnn;
    }
    // check for JPA @Id
View Full Code Here

Examples of org.hibernate.search.annotations.DocumentId

   */
  private Annotation getIdAnnotation(XProperty member, TypeMetadata.Builder typeMetadataBuilder, ConfigContext context) {
    Annotation idAnnotation = null;

    // check for explicit DocumentId
    DocumentId documentIdAnnotation = member.getAnnotation( DocumentId.class );
    if ( documentIdAnnotation != null ) {
      idAnnotation = documentIdAnnotation;
    }
    // check for JPA @Id
    if ( context.isJpaPresent() ) {
View Full Code Here

Examples of org.hibernate.search.annotations.DocumentId

      ParseContext parseContext) {

    org.hibernate.search.annotations.Field fieldAnnotation =
        member.getAnnotation( org.hibernate.search.annotations.Field.class );
    NumericField numericFieldAnnotation = member.getAnnotation( NumericField.class );
    DocumentId idAnn = member.getAnnotation( DocumentId.class );
    if ( fieldAnnotation != null ) {
      if ( isFieldInPath( fieldAnnotation, member, pathsContext, prefix ) || !parseContext.isMaxLevelReached() ) {
        PropertyMetadata.Builder propertyMetadataBuilder = new PropertyMetadata.Builder( member )
            .dynamicBoostStrategy( AnnotationProcessingHelper.getDynamicBoost( member ) );
View Full Code Here

Examples of org.zanata.webtrans.shared.model.DocumentId

        FilterConstraints filterConstraints = FilterConstraints.builder().build();

        List<HTextFlow> textFlows =
                textFlowDAO.getNavigationByDocumentId(
                        new DocumentId(document.getId(), document.getDocId()),
                        hLocale, resultTransformer, filterConstraints);

        List<TransUnitStatus> statusList =
                Lists.newArrayListWithExpectedSize(textFlows.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.