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

Examples of org.eclipse.persistence.jpa.jpql.model.query.StateObject


   */
  public T multiply(T builder) {

    checkBuilders(builder);

    StateObject rightStateObject = pop();
    StateObject leftStateObject  = pop();

    StateObject stateObject = new MultiplicationExpressionStateObject(
      parent,
      leftStateObject,
      rightStateObject
    );

View Full Code Here


   */
  public T nullIf(T builder1, T builder2) {

    checkBuilders(builder1, builder2);

    StateObject rightStateObject = pop();
    StateObject leftStateObject  = pop();

    StateObject stateObject = new NullIfExpressionStateObject(
      parent,
      leftStateObject,
      rightStateObject
    );

View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T numeric(Number number) {
    StateObject stateObject = buildNumeric(number);
    add(stateObject);
    return (T) this;
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T numeric(String number) {
    StateObject stateObject = buildNumeric(number);
    add(stateObject);
    return (T) this;
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T parameter(String parameter) {
    StateObject stateObject = buildInputParameter(parameter);
    add(stateObject);
    return (T) this;
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T path(String path) {
    StateObject stateObject = buildStateFieldPath(path);
    add(stateObject);
    return (T) this;
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T size(String path) {
    StateObject stateObject = new SizeExpressionStateObject(parent, buildCollectionPath(path));
    add(stateObject);
    return (T) this;
  }
View Full Code Here

   */
  public T sqrt(T builder) {

    checkBuilders(builder);

    StateObject stateObject = new SqrtExpressionStateObject(parent, pop());
    add(stateObject);
    return (T) this;
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public T string(String literal) {
    StateObject stateObject = buildStringLiteral(literal);
    add(stateObject);
    return (T) this;
  }
View Full Code Here

   */
  public T sub(T builder) {

    checkBuilders(builder);

    StateObject stateObject = new SubExpressionStateObject(parent, pop());
    add(stateObject);
    return (T) this;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.model.query.StateObject

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.