Package org.eclipse.persistence.jpa.jpql.tools.spi

Examples of org.eclipse.persistence.jpa.jpql.tools.spi.IEntity


    if (ExpressionTools.stringIsNotEmpty(identificationVariable) &&
        isValidProposal(identificationVariable, word)) {

      // Resolve the identification variable
      Resolver resolver = queryContext.getResolver(identificationVariable);
      IEntity entity = queryContext.getProvider().getEntity(resolver.getType());

      // The identification variable identifies an entity, add the extra information
      if (entity != null) {
        proposals.addRangeIdentificationVariable(identificationVariable, entity);
      }
View Full Code Here


    if (ExpressionTools.stringIsNotEmpty(identificationVariable) &&
        isValidProposal(identificationVariable, word)) {

      // Resolve the identification variable
      Resolver resolver = queryContext.getResolver(identificationVariable);
      IEntity entity = queryContext.getProvider().getEntity(resolver.getType());

      // The identification variable identifies an entity, add the extra information
      if (entity != null) {
        proposals.addRangeIdentificationVariable(identificationVariable, entity);
      }
View Full Code Here

   *
   * @param type The entity class
   * @return The external form wrapping the given Java type
   */
  public IEntity addEntity(Class<?> type) {
    IEntity entity = buildEntity(type);
    entities.put(type.getName(), entity);
    managedTypes.put(type.getName(), entity);
    return entity;
  }
View Full Code Here

    if (ExpressionTools.stringIsNotEmpty(identificationVariable) &&
        isValidProposal(identificationVariable, word)) {

      // Resolve the identification variable
      Resolver resolver = queryContext.getResolver(identificationVariable);
      IEntity entity = queryContext.getProvider().getEntity(resolver.getType());

      // The identification variable identifies an entity, add the extra information
      if (entity != null) {
        proposals.addRangeIdentificationVariable(identificationVariable, entity);
      }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.tools.spi.IEntity

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.