public class CaseStatement
extends java.lang.Object
Title: Object Mediation Framework
Description: Semantic mapper 'case' statement implementation
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
Statement.StatementType
Modifier and Type | Method and Description |
---|---|
void |
addCase(Expression expr,
Statement stat) |
void |
execute(SemanticMapperContext ctx) |
int |
getCasesNum() |
Expression |
getConditionExpression() |
Expression |
getExpression(int index) |
java.util.List |
getExpressions() |
Statement |
getStatement(int index) |
java.util.List |
getStatements() |
Statement.StatementType |
getType() |
void |
setConditionExpression(Expression expr) |
public void setConditionExpression(Expression expr)
public void addCase(Expression expr, Statement stat)
public Expression getConditionExpression()
public java.util.List getExpressions()
public Expression getExpression(int index)
public java.util.List getStatements()
public Statement getStatement(int index)
public int getCasesNum()
public void execute(SemanticMapperContext ctx) throws SemanticMapperException
SemanticMapperException
public Statement.StatementType getType()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.