net.cafeto.queryserialize
Class Expression
java.lang.Object
net.cafeto.queryserialize.Expression
- All Implemented Interfaces:
- Serializable
public class Expression
- extends Object
- implements Serializable
- Author:
- fospitia
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Expression
public Expression()
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.