public abstract class AbstractCaseExpression extends Object implements Expression
LanguageObject.Util| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCaseExpression() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone()
Implement clone to make objects cloneable.
|
boolean |
equals(Object obj) |
Expression |
getElseExpression()
Gets the expression in the ELSE part of this expression.
|
List |
getThen()
Gets the List of THEN expressions in this CASE expression.
|
Expression |
getThenExpression(int index)
Gets the expression of the THEN part at the given index.
|
Class |
getType()
Get the return type of this expression.
|
abstract int |
getWhenCount()
Gets the number of WHEN and THEN parts this case expression contains.
|
int |
hashCode() |
void |
setElseExpression(Expression elseExpression)
Sets the expression in the ELSE part of this expression.
|
protected void |
setThen(List then)
Sets the List of THEN expressions in this CASE expression
|
void |
setType(Class type)
Sets the type to which this expression has resolved.
|
abstract void |
setWhen(List whens,
List thens) |
String |
toString()
Return a String representation of this object using SQLStringVisitor.
|
finalize, getClass, notify, notifyAll, wait, wait, waitacceptVisitorpublic abstract int getWhenCount()
public Expression getThenExpression(int index)
index - public List getThen()
protected void setThen(List then)
then - public Expression getElseExpression()
public void setElseExpression(Expression elseExpression)
elseExpression - public Class getType()
ExpressiongetType in interface ExpressionExpression.getType()public void setType(Class type)
type - public abstract Object clone()
LanguageObjectclone in interface LanguageObjectclone in class Objectpublic String toString()
Copyright © 2019. All rights reserved.