org.plasma.query.model
Class Clause

java.lang.Object
  extended by org.plasma.query.model.Clause

public class Clause
extends Object


Field Summary
protected  From from
           
protected  GroupBy groupBy
           
protected  OrderBy orderBy
           
protected  Select select
           
protected  Where where
           
 
Constructor Summary
Clause()
           
Clause(From from)
           
Clause(GroupBy groupBy)
           
Clause(OrderBy orderBy)
           
Clause(Select select)
           
Clause(Where where)
           
 
Method Summary
 void accept(QueryVisitor visitor)
           
 From getFrom()
          Gets the value of the from property.
 GroupBy getGroupBy()
          Gets the value of the GroupBy property.
 OrderBy getOrderBy()
          Gets the value of the orderBy property.
 Select getSelect()
          Gets the value of the select property.
 Where getWhere()
          Gets the value of the where property.
 void setFrom(From value)
          Sets the value of the from property.
 void setGroupBy(GroupBy value)
          Sets the value of the GroupBy property.
 void setOrderBy(OrderBy value)
          Sets the value of the orderBy property.
 void setSelect(Select value)
          Sets the value of the select property.
 void setWhere(Where value)
          Sets the value of the where property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderBy

protected OrderBy orderBy

groupBy

protected GroupBy groupBy

where

protected Where where

from

protected From from

select

protected Select select
Constructor Detail

Clause

public Clause()

Clause

public Clause(Select select)

Clause

public Clause(From from)

Clause

public Clause(Where where)

Clause

public Clause(OrderBy orderBy)

Clause

public Clause(GroupBy groupBy)
Method Detail

getOrderBy

public OrderBy getOrderBy()
Gets the value of the orderBy property.

Returns:
possible object is OrderBy

setOrderBy

public void setOrderBy(OrderBy value)
Sets the value of the orderBy property.

Parameters:
value - allowed object is OrderBy

getGroupBy

public GroupBy getGroupBy()
Gets the value of the GroupBy property.

Returns:
possible object is GroupBy

setGroupBy

public void setGroupBy(GroupBy value)
Sets the value of the GroupBy property.

Parameters:
value - allowed object is GroupBy

getWhere

public Where getWhere()
Gets the value of the where property.

Returns:
possible object is Where

setWhere

public void setWhere(Where value)
Sets the value of the where property.

Parameters:
value - allowed object is Where

getFrom

public From getFrom()
Gets the value of the from property.

Returns:
possible object is From

setFrom

public void setFrom(From value)
Sets the value of the from property.

Parameters:
value - allowed object is From

getSelect

public Select getSelect()
Gets the value of the select property.

Returns:
possible object is Select

setSelect

public void setSelect(Select value)
Sets the value of the select property.

Parameters:
value - allowed object is Select

accept

public void accept(QueryVisitor visitor)


Copyright © 2013. All rights reserved.