| Modifier and Type | Field and Description |
|---|---|
| public static final String | JOINS_LIST
Notifies the content of the list of |
| private AbstractRangeVariableDeclarationStateObject | rangeVariableDeclaration
The state object of the range variable declaration. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractIdentificationVariableDeclarationStateObject(AbstractFromClauseStateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| protected | AbstractIdentificationVariableDeclarationStateObject(AbstractFromClauseStateObject
The parent of this state object, which cannot be parent, String nullThe "root" object root, String The identification variable defining the given path identificationVariable)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addChildren(List<StateObject>
The list used to store the children children)Overrides org. StateObject to the given list.
|
| public JoinStateObject | Returns: A newJoinStateObjectThe join association path expression path, String The new variable defining the join association path identificationVariable)Adds a new |
| public JoinStateObject | Returns: A newJoinStateObjectOne of the joining types: joinType)LEFT JOIN, LEFT OUTER
JOIN, INNER JOIN or JOINAdds a new |
| public JoinStateObject | Returns: A newJoinStateObjectOne of the joining types: joinType, ListIterator<String> LEFT JOIN, LEFT OUTER
JOIN, INNER JOIN or JOINThe join association path expression paths, String The new variable defining the join association path identificationVariable)Adds a new |
| public JoinStateObject | Returns: A newJoinStateObjectThe join association path expression path, String The new variable defining the join association path identificationVariable)Adds a new |
| public JoinStateObject | Returns: A newJoinStateObjectOne of the joining types: joinType, String LEFT JOIN, LEFT OUTER
JOIN, INNER JOIN or JOINThe join association path expression path, String The new variable defining the join association path identificationVariable)Adds a new |
| public JoinStateObject | Returns: A newJoinStateObjectThe join association path expression path, String The new variable defining the join association path identificationVariable)Adds a new |
| public JoinStateObject | Returns: A newJoinStateObjectThe join association path expression path, String The new variable defining the join association path identificationVariable)Adds a new |
| protected abstract AbstractRangeVariableDeclarationStateObject | |
| public IdentificationVariableDeclaration | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | Returns: A case insensitive unique identifier declaring the "root" of the declarationReturns the identification variable identifying the "root". |
| public IdentificationVariableStateObject | getIdentificationVariableStateObject()
Returns the |
| public AbstractFromClauseStateObject | getParent()
Overrides org. Implements org. StateObject.
|
| public AbstractRangeVariableDeclarationStateObject | Returns: The concrete instanceReturns the |
| public String | Returns: The "root" objectReturns the "root" object for objects which may not be reachable by navigation. |
| public StateObject | Returns: TheStateObject representing one of the possible valid "root"Returns the |
| public ListIterable | identificationVariables()
Implements org. IdentificationVariableStateObject that are used by this state object.
|
| protected void | initialize()
Overrides org. |
| public boolean | isEquivalent(StateObject
The stateObject)StateObject to compare its content to this oneOverrides org. Implements org. StateObject is equivalent to this one, i.e. the
information of both StateObject is the same.
|
| protected String | listName()
Implements abstract org. |
| public void | |
| public void | setExpression(IdentificationVariableDeclaration
The expression)parsed object representing an
identification variable declarationKeeps a reference of the |
| public void | setIdentificationVariable(String
The new identification variable identificationVariable)Sets the new identification variable that will range over the "root". |
| public void | setRootPath(String
The "root" object root)Sets the "root" object for objects which may not be reachable by navigation. |
| protected void | toTextInternal(Appendable
The writer used to print out the string representation writer)Implements abstract org. StateObject, which should not be used to
define a true string representation of a JPQL query but should be used for
debugging purposes.
|
| JOINS_LIST | back to summary |
|---|---|
| public static final String JOINS_LIST Notifies the content of the list of | |
| rangeVariableDeclaration | back to summary |
|---|---|
| private AbstractRangeVariableDeclarationStateObject rangeVariableDeclaration The state object of the range variable declaration. | |
| AbstractIdentificationVariableDeclarationStateObject | back to summary |
|---|---|
| protected AbstractIdentificationVariableDeclarationStateObject(AbstractFromClauseStateObject parent) Creates a new
| |
| AbstractIdentificationVariableDeclarationStateObject | back to summary |
|---|---|
| protected AbstractIdentificationVariableDeclarationStateObject(AbstractFromClauseStateObject parent, String root, String identificationVariable) Creates a new
| |
| addChildren | back to summary |
|---|---|
| protected void addChildren(List<StateObject> children) Overrides org. Doc from org. Adds the children of this
| |
| addInnerJoin | back to summary |
|---|---|
| public JoinStateObject addInnerJoin(String path, String identificationVariable) Adds a new
| |
| addJoin | back to summary |
|---|---|
| public JoinStateObject addJoin(String joinType) Adds a new
| |
| addJoin | back to summary |
|---|---|
| public JoinStateObject addJoin(String joinType, ListIterator<String> paths, String identificationVariable) Adds a new
| |
| addJoin | back to summary |
|---|---|
| public JoinStateObject addJoin(String path, String identificationVariable) Adds a new
| |
| addJoin | back to summary |
|---|---|
| public JoinStateObject addJoin(String joinType, String path, String identificationVariable) Adds a new
| |
| addLeftJoin | back to summary |
|---|---|
| public JoinStateObject addLeftJoin(String path, String identificationVariable) Adds a new
| |
| addLeftOuterJoin | back to summary |
|---|---|
| public JoinStateObject addLeftOuterJoin(String path, String identificationVariable) Adds a new
| |
| buildRangeVariableDeclarationStateObject | back to summary |
|---|---|
| protected abstract AbstractRangeVariableDeclarationStateObject buildRangeVariableDeclarationStateObject() Creates | |
| getExpression | back to summary |
|---|---|
| public IdentificationVariableDeclaration getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getIdentificationVariable | back to summary |
|---|---|
| public String getIdentificationVariable() Returns the identification variable identifying the "root".
| |
| getIdentificationVariableStateObject | back to summary |
|---|---|
| public IdentificationVariableStateObject getIdentificationVariableStateObject() Returns the
| |
| getParent | back to summary |
|---|---|
| public AbstractFromClauseStateObject getParent() Overrides org. Implements org. Doc from org. Returns the parent of this
| |
| getRangeVariableDeclaration | back to summary |
|---|---|
| public AbstractRangeVariableDeclarationStateObject getRangeVariableDeclaration() Returns the
| |
| getRootPath | back to summary |
|---|---|
| public String getRootPath() Returns the "root" object for objects which may not be reachable by navigation.
| |
| getRootStateObject | back to summary |
|---|---|
| public StateObject getRootStateObject() Returns the
| |
| identificationVariables | back to summary |
|---|---|
| public ListIterable Implements org. Returns the
| |
| initialize | back to summary |
|---|---|
| protected void initialize() Overrides org. Doc from org. Initializes this state object.
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| listName | back to summary |
|---|---|
| protected String listName() Implements abstract org. Doc from org. Returns the name that is uniquely identifying the list. | |
| parseJoin | back to summary |
|---|---|
| public void parseJoin(String jpqlFragment) Parses the given JPQL fragment that should contain a single
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(IdentificationVariableDeclaration expression) Keeps a reference of the
| |
| setIdentificationVariable | back to summary |
|---|---|
| public void setIdentificationVariable(String identificationVariable) Sets the new identification variable that will range over the "root".
| |
| setRootPath | back to summary |
|---|---|
| public void setRootPath(String root) Sets the "root" object for objects which may not be reachable by navigation.
| |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |