org.plasma.query.model
Class Where

java.lang.Object
  extended by org.plasma.query.model.Where
All Implemented Interfaces:
Clause, Term, Where

public class Where
extends Object
implements Where


Field Summary
protected  List<Expression> expressions
           
protected  FilterId filterId
           
protected  ImportDeclaration importDeclaration
           
protected  ParameterDeclaration parameterDeclaration
           
protected  List<Parameter> parameters
           
protected  TextContent textContent
           
protected  VariableDeclaration variableDeclaration
           
 
Constructor Summary
Where()
           
Where(Expression expr)
           
Where(Expression[] exprs)
           
Where(FilterId filterId)
           
Where(String content)
           
Where(String content, Parameter[] params)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expressions

protected List<Expression> expressions

textContent

protected TextContent textContent

importDeclaration

protected ImportDeclaration importDeclaration

parameters

protected List<Parameter> parameters

parameterDeclaration

protected ParameterDeclaration parameterDeclaration

variableDeclaration

protected VariableDeclaration variableDeclaration

filterId

protected FilterId filterId
Constructor Detail

Where

public Where()

Where

public Where(Expression expr)

Where

public Where(Expression[] exprs)

Where

public Where(String content)

Where

public Where(String content,
             Parameter[] params)

Where

public Where(FilterId filterId)
Method Detail

addExpression

public void addExpression(Expression e)

getExpressions

public List<Expression> getExpressions()

getExpressionCount

public int getExpressionCount()

getTextContent

public TextContent getTextContent()
Gets the value of the textContent property.

Returns:
possible object is TextContent

setTextContent

public void setTextContent(TextContent value)
Sets the value of the textContent property.

Parameters:
value - allowed object is TextContent

getImportDeclaration

public ImportDeclaration getImportDeclaration()
Gets the value of the importDeclaration property.

Returns:
possible object is ImportDeclaration

setImportDeclaration

public void setImportDeclaration(ImportDeclaration value)
Sets the value of the importDeclaration property.

Parameters:
value - allowed object is ImportDeclaration

getParameters

public List<Parameter> getParameters()
Gets the value of the parameters property.

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


getParameterDeclaration

public ParameterDeclaration getParameterDeclaration()
Gets the value of the parameterDeclaration property.

Returns:
possible object is ParameterDeclaration

setParameterDeclaration

public void setParameterDeclaration(ParameterDeclaration value)
Sets the value of the parameterDeclaration property.

Parameters:
value - allowed object is ParameterDeclaration

getVariableDeclaration

public VariableDeclaration getVariableDeclaration()
Gets the value of the variableDeclaration property.

Returns:
possible object is VariableDeclaration

setVariableDeclaration

public void setVariableDeclaration(VariableDeclaration value)
Sets the value of the variableDeclaration property.

Parameters:
value - allowed object is VariableDeclaration

getFilterId

public FilterId getFilterId()
Gets the value of the filterId property.

Returns:
possible object is FilterId

setFilterId

public void setFilterId(FilterId value)
Sets the value of the filterId property.

Parameters:
value - allowed object is FilterId

accept

public void accept(QueryVisitor visitor)

getVariables

public Variable[] getVariables()


Copyright © 2014. All rights reserved.