Examples of PathedPropertyReference


Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

      throw log.getUnknownAliasException( root.getText() );
    }

      Descriptors.Descriptor descriptor = SerializationContextHolder.getSerializationContext().getMessageDescriptor(entityNameForAlias);

    return new PathedPropertyReference(
        root.getText(),
            new ProtobufValueWrapperTypeDescriptor(descriptor),
        true
    );
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

      throw log.getNoSuchPropertyException( sourceType.toString(), propertyName.getText() );
    }

      Descriptors.Descriptor descriptor = sourceType.getMessageDescriptor().findFieldByName(propertyName.getText()).getMessageType();

      PathedPropertyReference property = new PathedPropertyReference(propertyName.getText(), new ProtobufValueWrapperTypeDescriptor(descriptor), false);

    return property;
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

    }

    if ( type.isEmbedded( propertyName ) ) {
         ProtobufValueWrapperTypeDescriptor sourceType = (ProtobufValueWrapperTypeDescriptor) type;
         Descriptors.Descriptor descriptor = sourceType.getMessageDescriptor().findFieldByName(propertyName).getMessageType();
         return new PathedPropertyReference(
               propertyName,
               new ProtobufValueWrapperTypeDescriptor(descriptor),
               false);
    }
    else {
      return new PathedPropertyReference(
          propertyName,
          new HSearchPropertyTypeDescriptor(),
          false
      );
    }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

  }

  @Override
  public PathedPropertyReferenceSource normalizeUnqualifiedPropertyReference(Tree property) {
    if ( aliasToEntityType.containsKey( property.getText() ) ) {
      return new PathedPropertyReference( property.getText(), null, true );
    }
    else {
      return new PathedPropertyReference( property.getText(), null, false );
    }
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

    throw new UnsupportedOperationException( "Not implemented yet" );
  }

  @Override
  public PathedPropertyReferenceSource normalizeQualifiedRoot(Tree identifier381) {
    return new PathedPropertyReference( identifier381.getText(), null, true );
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

    return new PathedPropertyReference( identifier381.getText(), null, true );
  }

  @Override
  public PathedPropertyReferenceSource normalizePropertyPathIntermediary(PropertyPath path, Tree propertyName) {
    return new PathedPropertyReference( propertyName.getText(), null, false );
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

    throw new UnsupportedOperationException( "Not implemented yet" );
  }

  @Override
  public PathedPropertyReferenceSource normalizePropertyPathTerminus(PropertyPath path, Tree propertyNameNode) {
    return new PathedPropertyReference( propertyNameNode.getText(), null, false );
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

      throw log.getUnknownAliasException( root.getText() );
    }

      Descriptors.Descriptor descriptor = serializationContext.getMessageDescriptor(entityNameForAlias);

    return new PathedPropertyReference(
        root.getText(),
            new ProtobufValueWrapperTypeDescriptor(descriptor),
        true
    );
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

      throw log.getNoSuchPropertyException( sourceType.toString(), propertyName.getText() );
    }

      Descriptors.Descriptor descriptor = sourceType.getMessageDescriptor().findFieldByName(propertyName.getText()).getMessageType();

      PathedPropertyReference property = new PathedPropertyReference(propertyName.getText(), new ProtobufValueWrapperTypeDescriptor(descriptor), false);

    return property;
  }
View Full Code Here

Examples of org.hibernate.hql.ast.origin.hql.resolve.path.PathedPropertyReference

    }

    if ( type.isEmbedded( propertyName ) ) {
         ProtobufValueWrapperTypeDescriptor sourceType = (ProtobufValueWrapperTypeDescriptor) type;
         Descriptors.Descriptor descriptor = sourceType.getMessageDescriptor().findFieldByName(propertyName).getMessageType();
         return new PathedPropertyReference(
               propertyName,
               new ProtobufValueWrapperTypeDescriptor(descriptor),
               false);
    }
    else {
      return new PathedPropertyReference(
          propertyName,
          new HSearchPropertyTypeDescriptor(),
          false
      );
    }
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.