Package org.eclipse.persistence.jpa.jpql.tools.model.query

Examples of org.eclipse.persistence.jpa.jpql.tools.model.query.FunctionExpressionStateObject


  /**
   * {@inheritDoc}
   */
  public T function(String identifier, String functionName, String... arguments) {

    StateObject stateObject = new FunctionExpressionStateObject(
      getParent(),
      identifier,
      functionName,
      literals(arguments)
    );
View Full Code Here


   */
  public T function(String identifier, String functionName, T... arguments) {

    checkBuilders(arguments);

    StateObject stateObject = new FunctionExpressionStateObject(
      getParent(),
      identifier,
      functionName,
      stateObjects(arguments)
    );
View Full Code Here

   * {@inheritDoc}
   */
  @Override
  public void visit(FunctionExpression expression) {

    FunctionExpressionStateObject stateObject = new FunctionExpressionStateObject(
      parent,
      expression.getIdentifier(),
      expression.getUnquotedFunctionName(),
      buildChildren(expression.getExpression())
    );

    stateObject.setExpression(expression);
    this.stateObject = stateObject;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.tools.model.query.FunctionExpressionStateObject

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.