public class Where extends Object implements Where, Predicates
| Modifier and Type | Field and Description |
|---|---|
protected List<Expression> |
expressions |
protected FilterId |
filterId |
protected ImportDeclaration |
importDeclaration |
protected ParameterDeclaration |
parameterDeclaration |
protected List<Parameter> |
parameters |
protected TextContent |
textContent |
protected VariableDeclaration |
variableDeclaration |
| Constructor and Description |
|---|
Where() |
Where(Expression expr) |
Where(Expression[] exprs) |
Where(FilterId filterId) |
Where(String content) |
Where(String content,
Parameter[] params) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(QueryVisitor visitor) |
void |
addExpression(Expression e) |
int |
getExpressionCount() |
List<Expression> |
getExpressions() |
FilterId |
getFilterId()
Gets the value of the filterId property.
|
ImportDeclaration |
getImportDeclaration()
Gets the value of the importDeclaration property.
|
ParameterDeclaration |
getParameterDeclaration()
Gets the value of the parameterDeclaration property.
|
List<Parameter> |
getParameters()
Gets the value of the parameters property.
|
TextContent |
getTextContent()
Gets the value of the textContent property.
|
VariableDeclaration |
getVariableDeclaration()
Gets the value of the variableDeclaration property.
|
Variable[] |
getVariables() |
void |
setFilterId(FilterId value)
Sets the value of the filterId property.
|
void |
setImportDeclaration(ImportDeclaration value)
Sets the value of the importDeclaration property.
|
void |
setParameterDeclaration(ParameterDeclaration value)
Sets the value of the parameterDeclaration property.
|
void |
setTextContent(TextContent value)
Sets the value of the textContent property.
|
void |
setVariableDeclaration(VariableDeclaration value)
Sets the value of the variableDeclaration property.
|
protected List<Expression> expressions
protected TextContent textContent
protected ImportDeclaration importDeclaration
protected ParameterDeclaration parameterDeclaration
protected VariableDeclaration variableDeclaration
protected FilterId filterId
public Where()
public Where(Expression expr)
public Where(Expression[] exprs)
public Where(String content)
public Where(FilterId filterId)
public void addExpression(Expression e)
public List<Expression> getExpressions()
getExpressions in interface Predicatespublic int getExpressionCount()
public TextContent getTextContent()
TextContentpublic void setTextContent(TextContent value)
value - allowed object is TextContentpublic ImportDeclaration getImportDeclaration()
ImportDeclarationpublic void setImportDeclaration(ImportDeclaration value)
value - allowed object is ImportDeclarationpublic List<Parameter> getParameters()
This accessor method returns a reference to the live list, not a snapshot.
Therefore any modification you make to the returned list will be present
inside the JAXB object. This is why there is not a set method
for the parameters property.
For example, to add a new item, do as follows:
getParameters().add(newItem);
Objects of the following type(s) are allowed in the list Parameter
public ParameterDeclaration getParameterDeclaration()
ParameterDeclarationpublic void setParameterDeclaration(ParameterDeclaration value)
value - allowed object is ParameterDeclarationpublic VariableDeclaration getVariableDeclaration()
VariableDeclarationpublic void setVariableDeclaration(VariableDeclaration value)
value - allowed object is VariableDeclarationpublic FilterId getFilterId()
FilterIdpublic void setFilterId(FilterId value)
value - allowed object is FilterIdpublic void accept(QueryVisitor visitor)
accept in interface Predicatespublic Variable[] getVariables()
Copyright © 2021. All rights reserved.