net.cafeto.queryserialize
Class Expression

java.lang.Object
  extended by net.cafeto.queryserialize.Expression
All Implemented Interfaces:
Serializable

public class Expression
extends Object
implements Serializable

Author:
fospitia
See Also:
Serialized Form

Constructor Summary
Expression()
           
 
Method Summary
 Expression alias(String alias)
           
 String getAlias()
           
 String getFunction()
           
 Object getLiteral()
           
 String getLogical()
           
 String getOperator()
           
 String getParameter()
           
 String getPath()
           
 CriteriaQuery getSubquery()
           
 String getTrim()
           
 List<Expression> getValues()
           
 boolean isNegated()
           
 void setAlias(String alias)
           
 void setFunction(String function)
           
 void setLiteral(Object literal)
           
 void setLogical(String logical)
           
 void setNegated(boolean negated)
           
 void setOperator(String operator)
           
 void setParameter(String parameter)
           
 void setPath(String path)
           
 void setSubquery(CriteriaQuery subquery)
           
 void setTrim(String trim)
           
 void setValues(List<Expression> values)
           
 String toJPQL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expression

public Expression()
Method Detail

isNegated

public boolean isNegated()
Returns:
the negated

setNegated

public void setNegated(boolean negated)
Parameters:
negated - the negated to set

getLogical

public String getLogical()
Returns:
the logical

setLogical

public void setLogical(String logical)
Parameters:
logical - the logical to set

getPath

public String getPath()
Returns:
the path

setPath

public void setPath(String path)
Parameters:
path - the path to set

getParameter

public String getParameter()
Returns:
the parameter

setParameter

public void setParameter(String parameter)
Parameters:
parameter - the parameter to set

getLiteral

public Object getLiteral()
Returns:
the literal

setLiteral

public void setLiteral(Object literal)
Parameters:
literal - the literal to set

getSubquery

public CriteriaQuery getSubquery()
Returns:
the subquery

setSubquery

public void setSubquery(CriteriaQuery subquery)
Parameters:
subquery - the subquery to set

getOperator

public String getOperator()
Returns:
the operator

setOperator

public void setOperator(String operator)
Parameters:
operator - the operator to set

getTrim

public String getTrim()
Returns:
the trim

setTrim

public void setTrim(String trim)
Parameters:
trim - the trim to set

getValues

public List<Expression> getValues()
Returns:
the values

setValues

public void setValues(List<Expression> values)
Parameters:
values - the values to set

getFunction

public String getFunction()
Returns:
the function

setFunction

public void setFunction(String function)
Parameters:
function - the function to set

getAlias

public String getAlias()
Returns:
the alias

setAlias

public void setAlias(String alias)
Parameters:
alias - the alias to set

alias

public Expression alias(String alias)
Parameters:
alias -
Returns:

toJPQL

public String toJPQL()
Returns:


Copyright © 2010. All Rights Reserved.