Class JDOQLElements
java.lang.Object
com.sun.jdo.spi.persistence.support.ejb.ejbqlc.JDOQLElements
An JDOQLElements instance represents the result of the EJBQLC compile step.
- Author:
- Michael Bouschen, Shing Wai Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qulified name of the candidate class.Returns the filter expression.Returns the ordering expression.String[]Returns parameterEjbNames arrayReturns the parameter declaration string.Returns the result expression.Returns the result type.Returns the variable declarations string.booleanReturns whether the result of the JDOQL query is associated to an aggregate function.booleanReturns whether the result of the JDOQL query is a collection of pc instances or not.voidsetAggregate(boolean isAggregate) Sets whether the result of the JDOQL query is a associated to an aggregate function.voidsetCandidateClassName(String candidateClassName) Sets the fully qulified name of the candidate class.voidSets the filter expression.voidsetOrdering(String ordering) Sets the ordering expression.voidsetParameterEjbNames(String[] parameterEjbNames) set parameterEjbNames arrayvoidsetParameters(String parameters) Sets the parameter declarations string.voidsetPCResult(boolean isPCResult) Sets whether the result of the JDOQL query is a collection of pc instances or not.voidSets the result expression.voidsetResultType(String resultType) Sets the result type.voidsetVariables(String variables) Sets the variable declarations string.toString()Returns a string representation of this JDOQLElements instance.
-
Constructor Details
-
Method Details
-
getCandidateClassName
Returns the fully qulified name of the candidate class. -
setCandidateClassName
Sets the fully qulified name of the candidate class. -
getParameters
Returns the parameter declaration string. -
setParameters
Sets the parameter declarations string. -
getVariables
Returns the variable declarations string. -
setVariables
Sets the variable declarations string. -
getFilter
Returns the filter expression. -
setFilter
Sets the filter expression. -
getOrdering
Returns the ordering expression. -
setOrdering
Sets the ordering expression. -
getResult
Returns the result expression. -
setResult
Sets the result expression. -
getResultType
Returns the result type. The result type is the name of the element type of the JDO query result set. -
setResultType
Sets the result type. The result type is the name of the element type of the JDO query result set. -
isPCResult
public boolean isPCResult()Returns whether the result of the JDOQL query is a collection of pc instances or not. -
setPCResult
public void setPCResult(boolean isPCResult) Sets whether the result of the JDOQL query is a collection of pc instances or not. -
isAggregate
public boolean isAggregate()Returns whether the result of the JDOQL query is associated to an aggregate function. -
setAggregate
public void setAggregate(boolean isAggregate) Sets whether the result of the JDOQL query is a associated to an aggregate function. -
getParameterEjbNames
Returns parameterEjbNames array -
setParameterEjbNames
set parameterEjbNames array -
toString
Returns a string representation of this JDOQLElements instance.
-