public class Case extends CompositeExpression implements ConditionalExpression
| Modifier and Type | Class and Description |
|---|---|
static class |
Case.WhenConstruct |
| Modifier | Constructor and Description |
|---|---|
protected |
Case() |
|
Case(Case.WhenConstruct... whens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Operator |
getOperator() |
DataType |
getReturnedDataType()
Validates the returned data type of the Expression.
|
List<Case.WhenConstruct> |
getWhenConstructs() |
int |
hashCode() |
String |
toString() |
void |
validate()
Validates correctness of the Expression
|
clone, getAppliableOperators, getExpressionsByCategoryprotected Case()
public Case(Case.WhenConstruct... whens)
public Operator getOperator()
getOperator in class CompositeExpressionpublic void validate()
throws MalformedExpressionException
Expressionvalidate in class ExpressionMalformedExpressionExceptionpublic List<Case.WhenConstruct> getWhenConstructs()
public DataType getReturnedDataType() throws NotEvaluableDataTypeException
ExpressiongetReturnedDataType in class ExpressionNotEvaluableDataTypeExceptionCopyright © 2015. All Rights Reserved.