Class JDOQLElements
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.ejb.ejbqlc.JDOQLElements
-
public class JDOQLElements extends Object
An JDOQLElements instance represents the result of the EJBQLC compile step.- Author:
- Michael Bouschen, Shing Wai Chan
-
-
Constructor Summary
Constructors Constructor Description JDOQLElements(String candidateClassName, String parameters, String variables, String filter, String ordering, String result, String resultType, boolean isPCResult, boolean isAggregate, String[] parameterEjbNames)
Constructor taking JDOQL elements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCandidateClassName()
Returns the fully qulified name of the candidate class.String
getFilter()
Returns the filter expression.String
getOrdering()
Returns the ordering expression.String[]
getParameterEjbNames()
Returns parameterEjbNames arrayString
getParameters()
Returns the parameter declaration string.String
getResult()
Returns the result expression.String
getResultType()
Returns the result type.String
getVariables()
Returns the variable declarations string.boolean
isAggregate()
Returns whether the result of the JDOQL query is associated to an aggregate function.boolean
isPCResult()
Returns whether the result of the JDOQL query is a collection of pc instances or not.void
setAggregate(boolean isAggregate)
Sets whether the result of the JDOQL query is a associated to an aggregate function.void
setCandidateClassName(String candidateClassName)
Sets the fully qulified name of the candidate class.void
setFilter(String filter)
Sets the filter expression.void
setOrdering(String ordering)
Sets the ordering expression.void
setParameterEjbNames(String[] parameterEjbNames)
set parameterEjbNames arrayvoid
setParameters(String parameters)
Sets the parameter declarations string.void
setPCResult(boolean isPCResult)
Sets whether the result of the JDOQL query is a collection of pc instances or not.void
setResult(String result)
Sets the result expression.void
setResultType(String resultType)
Sets the result type.void
setVariables(String variables)
Sets the variable declarations string.String
toString()
Returns a string representation of this JDOQLElements instance.
-
-
-
Method Detail
-
getCandidateClassName
public String getCandidateClassName()
Returns the fully qulified name of the candidate class.
-
setCandidateClassName
public void setCandidateClassName(String candidateClassName)
Sets the fully qulified name of the candidate class.
-
getParameters
public String getParameters()
Returns the parameter declaration string.
-
setParameters
public void setParameters(String parameters)
Sets the parameter declarations string.
-
getVariables
public String getVariables()
Returns the variable declarations string.
-
setVariables
public void setVariables(String variables)
Sets the variable declarations string.
-
getFilter
public String getFilter()
Returns the filter expression.
-
setFilter
public void setFilter(String filter)
Sets the filter expression.
-
getOrdering
public String getOrdering()
Returns the ordering expression.
-
setOrdering
public void setOrdering(String ordering)
Sets the ordering expression.
-
getResult
public String getResult()
Returns the result expression.
-
setResult
public void setResult(String result)
Sets the result expression.
-
getResultType
public String getResultType()
Returns the result type. The result type is the name of the element type of the JDO query result set.
-
setResultType
public void setResultType(String resultType)
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
public String[] getParameterEjbNames()
Returns parameterEjbNames array
-
setParameterEjbNames
public void setParameterEjbNames(String[] parameterEjbNames)
set parameterEjbNames array
-
-