| |
|
| java.lang.Object org.jpox.store.expression.ScalarExpression org.jpox.store.expression.NewObjectExpression
NewObjectExpression | public class NewObjectExpression extends ScalarExpression (Code) | | Representation of an expression "new MyObject(param1, param2)" as the result in a JDOQL query.
version: $Revision: 1.7 $ |
ctrArgs | List ctrArgs(Code) | | The arguments to use in the constructor.
|
newClass | Class newClass(Code) | | The class that we need to construct an instance of.
|
NewObjectExpression | public NewObjectExpression(QueryExpression qs, Class cls, List args)(Code) | | Constructor.
Parameters: qs - The query expression Parameters: cls - The class to construct an instance of Parameters: args - the constructor args |
createNewObject | public Object createNewObject(Object[] values)(Code) | | Method to return the new object using the passed values for the arguments.
Parameters: values - The values of the arguments The new object |
getArgumentExpressions | public List getArgumentExpressions()(Code) | | Accessor for the constructor argument expressions.
List of constructor argument expressions |
getNewClass | public Class getNewClass()(Code) | | Accessor for the class of which we should create a new instance.
The class |
|
|
|