Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.kernel.exps
Class Divide

    java.lang.Object
      org.apache.openjpa.kernel.exps.Val
          org.apache.openjpa.kernel.exps.MathVal
              org.apache.openjpa.kernel.exps.Divide

All Implemented Interfaces:
  Serializable, Value

     class Divide

extends MathVal

Value produced by one value being divided by another.

Author:
  Abe White

Constructor Summary
`Divide(Val val1, Val val2)` Constructor.

Method Summary
`protected Object` | `operate(Object o1, Class c1, Object o2, Class c2)` Return the result of this mathematical operation on the two values.

Methods inherited from class org.apache.openjpa.kernel.exps.MathVal
`acceptVisit, eval, getType, setImplicitType`

Methods inherited from class org.apache.openjpa.kernel.exps.Val
`eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Divide

    public Divide(Val val1,
                  Val val2)

  Constructor. Provide the values to divide.

Method Detail

### operate

    protected Object operate(Object o1,
                             Class c1,
                             Object o2,
                             Class c2)

  Description copied from class: `MathVal`
  Return the result of this mathematical operation on the two values.

  Specified by:
    `operate` in class `MathVal`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.