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 Details

    • JDOQLElements

      public 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 Details

    • 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
    • toString

      public String toString()
      Returns a string representation of this JDOQLElements instance.
      Overrides:
      toString in class Object