org.plasma.query.model
Class Term

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

public class Term
extends java.lang.Object
implements Term


Field Summary
protected  ArithmeticOperator arithmeticOperator
           
protected  Entity entity
           
protected  Expression expression
           
protected  GroupOperator groupOperator
           
protected  Literal literal
           
protected  LogicalOperator logicalOperator
           
protected  NullLiteral nullLiteral
           
protected  Property property
           
protected  Query query
           
protected  RelationalOperator relationalOperator
           
protected  SubqueryOperator subqueryOperator
           
protected  Variable variable
           
protected  WildcardOperator wildcardOperator
           
protected  WildcardProperty wildcardProperty
           
 
Constructor Summary
Term()
           
Term(ArithmeticOperator oper)
           
Term(Entity entity)
           
Term(Expression expression)
           
Term(GroupOperator oper)
           
Term(Literal literal)
           
Term(LogicalOperator oper)
           
Term(NullLiteral literal)
           
Term(Property property)
           
Term(Query query)
           
Term(RelationalOperator oper)
           
Term(SubqueryOperator oper)
           
Term(Variable var)
           
Term(WildcardOperator oper)
           
Term(WildcardProperty wildcardProperty)
           
 
Method Summary
 void accept(QueryVisitor visitor)
           
 ArithmeticOperator getArithmeticOperator()
          Gets the value of the arithmeticOperator property.
 Entity getEntity()
          Gets the value of the entity property.
 Expression getExpression()
          Gets the value of the expression property.
 GroupOperator getGroupOperator()
          Gets the value of the groupOperator property.
 Literal getLiteral()
          Gets the value of the literal property.
 LogicalOperator getLogicalOperator()
          Gets the value of the logicalOperator property.
 NullLiteral getNullLiteral()
          Gets the value of the nullLiteral property.
 Property getProperty()
          Gets the value of the property property.
 Query getQuery()
          Gets the value of the query property.
 RelationalOperator getRelationalOperator()
          Gets the value of the relationalOperator property.
 SubqueryOperator getSubqueryOperator()
          Gets the value of the subqueryOperator property.
 Variable getVariable()
          Gets the value of the variable property.
 WildcardOperator getWildcardOperator()
          Gets the value of the wildcardOperator property.
 WildcardProperty getWildcardProperty()
          Gets the value of the wildcardProperty property.
 void setArithmeticOperator(ArithmeticOperator value)
          Sets the value of the arithmeticOperator property.
 void setEntity(Entity value)
          Sets the value of the entity property.
 void setExpression(Expression value)
          Sets the value of the expression property.
 void setGroupOperator(GroupOperator value)
          Sets the value of the groupOperator property.
 void setLiteral(Literal value)
          Sets the value of the literal property.
 void setLogicalOperator(LogicalOperator value)
          Sets the value of the logicalOperator property.
 void setNullLiteral(NullLiteral value)
          Sets the value of the nullLiteral property.
 void setProperty(Property value)
          Sets the value of the property property.
 void setQuery(Query value)
          Sets the value of the query property.
 void setRelationalOperator(RelationalOperator value)
          Sets the value of the relationalOperator property.
 void setSubqueryOperator(SubqueryOperator value)
          Sets the value of the subqueryOperator property.
 void setVariable(Variable value)
          Sets the value of the variable property.
 void setWildcardOperator(WildcardOperator value)
          Sets the value of the wildcardOperator property.
 void setWildcardProperty(WildcardProperty value)
          Sets the value of the wildcardProperty property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wildcardProperty

protected WildcardProperty wildcardProperty

subqueryOperator

protected SubqueryOperator subqueryOperator

wildcardOperator

protected WildcardOperator wildcardOperator

entity

protected Entity entity

expression

protected Expression expression

variable

protected Variable variable

nullLiteral

protected NullLiteral nullLiteral

literal

protected Literal literal

groupOperator

protected GroupOperator groupOperator

arithmeticOperator

protected ArithmeticOperator arithmeticOperator

relationalOperator

protected RelationalOperator relationalOperator

logicalOperator

protected LogicalOperator logicalOperator

property

protected Property property

query

protected Query query
Constructor Detail

Term

public Term()

Term

public Term(Property property)

Term

public Term(WildcardProperty wildcardProperty)

Term

public Term(Entity entity)

Term

public Term(RelationalOperator oper)

Term

public Term(LogicalOperator oper)

Term

public Term(ArithmeticOperator oper)

Term

public Term(GroupOperator oper)

Term

public Term(WildcardOperator oper)

Term

public Term(SubqueryOperator oper)

Term

public Term(Literal literal)

Term

public Term(NullLiteral literal)

Term

public Term(Variable var)

Term

public Term(Expression expression)

Term

public Term(Query query)
Method Detail

getWildcardProperty

public WildcardProperty getWildcardProperty()
Gets the value of the wildcardProperty property.

Returns:
possible object is WildcardProperty

setWildcardProperty

public void setWildcardProperty(WildcardProperty value)
Sets the value of the wildcardProperty property.

Parameters:
value - allowed object is WildcardProperty

getSubqueryOperator

public SubqueryOperator getSubqueryOperator()
Gets the value of the subqueryOperator property.

Returns:
possible object is SubqueryOperator

setSubqueryOperator

public void setSubqueryOperator(SubqueryOperator value)
Sets the value of the subqueryOperator property.

Parameters:
value - allowed object is SubqueryOperator

getWildcardOperator

public WildcardOperator getWildcardOperator()
Gets the value of the wildcardOperator property.

Returns:
possible object is WildcardOperator

setWildcardOperator

public void setWildcardOperator(WildcardOperator value)
Sets the value of the wildcardOperator property.

Parameters:
value - allowed object is WildcardOperator

getEntity

public Entity getEntity()
Gets the value of the entity property.

Returns:
possible object is Entity

setEntity

public void setEntity(Entity value)
Sets the value of the entity property.

Parameters:
value - allowed object is Entity

getExpression

public Expression getExpression()
Gets the value of the expression property.

Returns:
possible object is Expression

setExpression

public void setExpression(Expression value)
Sets the value of the expression property.

Parameters:
value - allowed object is Expression

getVariable

public Variable getVariable()
Gets the value of the variable property.

Returns:
possible object is Variable

setVariable

public void setVariable(Variable value)
Sets the value of the variable property.

Parameters:
value - allowed object is Variable

getNullLiteral

public NullLiteral getNullLiteral()
Gets the value of the nullLiteral property.

Returns:
possible object is NullLiteral

setNullLiteral

public void setNullLiteral(NullLiteral value)
Sets the value of the nullLiteral property.

Parameters:
value - allowed object is NullLiteral

getLiteral

public Literal getLiteral()
Gets the value of the literal property.

Returns:
possible object is Literal

setLiteral

public void setLiteral(Literal value)
Sets the value of the literal property.

Parameters:
value - allowed object is Literal

getGroupOperator

public GroupOperator getGroupOperator()
Gets the value of the groupOperator property.

Returns:
possible object is GroupOperator

setGroupOperator

public void setGroupOperator(GroupOperator value)
Sets the value of the groupOperator property.

Parameters:
value - allowed object is GroupOperator

getRelationalOperator

public RelationalOperator getRelationalOperator()
Gets the value of the relationalOperator property.

Returns:
possible object is RelationalOperator

setRelationalOperator

public void setRelationalOperator(RelationalOperator value)
Sets the value of the relationalOperator property.

Parameters:
value - allowed object is RelationalOperator

getLogicalOperator

public LogicalOperator getLogicalOperator()
Gets the value of the logicalOperator property.

Returns:
possible object is LogicalOperator

setLogicalOperator

public void setLogicalOperator(LogicalOperator value)
Sets the value of the logicalOperator property.

Parameters:
value - allowed object is LogicalOperator

getArithmeticOperator

public ArithmeticOperator getArithmeticOperator()
Gets the value of the arithmeticOperator property.

Returns:
possible object is ArithmeticOperator

setArithmeticOperator

public void setArithmeticOperator(ArithmeticOperator value)
Sets the value of the arithmeticOperator property.

Parameters:
value - allowed object is ArithmeticOperator

getProperty

public Property getProperty()
Gets the value of the property property.

Returns:
possible object is Property

setProperty

public void setProperty(Property value)
Sets the value of the property property.

Parameters:
value - allowed object is Property

getQuery

public Query getQuery()
Gets the value of the query property.

Returns:
possible object is Query

setQuery

public void setQuery(Query value)
Sets the value of the query property.

Parameters:
value - allowed object is Query

accept

public void accept(QueryVisitor visitor)


Copyright © 2013. All Rights Reserved.