public class ForNode extends ScopeNode implements SqlConnectorAdjustable, LoopAcceptable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
ForNode.LoopVariableNodeFactory |
static class |
ForNode.LoopVariableType |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_expression |
protected List<String> |
_nameList |
protected NodeAdviceFactory |
_nodeAdviceFactory |
protected String |
_specifiedSql |
static String |
CURRENT_VARIABLE |
static String |
PREFIX |
_childList| コンストラクタと説明 |
|---|
ForNode(String expression,
String specifiedSql,
NodeAdviceFactory nodeAdviceFactory) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
accept(CommandContext ctx)
Accept the context of command.
|
void |
accept(CommandContext ctx,
LoopInfo loopInfo)
Accept context with loop information.
|
protected void |
assertFirstNameAsNormal(CommandContext ctx,
String firstName) |
protected void |
assertParameterList(Object targetValue) |
protected BoundValueTracer |
createBoundValueTracer(ParameterCommentType type) |
void |
doAccept(CommandContext ctx,
LoopInfo parentLoop) |
void |
doAccept(CommandContext ctx,
Object firstValue,
Class<?> firstType,
LoopInfo parentLoop,
boolean inheritLoop) |
String |
getExpression() |
protected void |
setupBoundValue(BoundValue boundValue) |
protected void |
throwForCommentIllegalParameterBeanSpecificationException() |
protected void |
throwLoopCurrentVariableOutOfForCommentException() |
String |
toString() |
handleLoopElementNullParameter, processAcceptingChildrenaddChild, getChild, getChildSize, isBeginChildAndValidSqlprotected final String _expression
protected final String _specifiedSql
protected final NodeAdviceFactory _nodeAdviceFactory
public ForNode(String expression, String specifiedSql, NodeAdviceFactory nodeAdviceFactory)
public void accept(CommandContext ctx)
Nodepublic void accept(CommandContext ctx, LoopInfo loopInfo)
LoopAcceptableaccept インタフェース内 LoopAcceptablectx - The context of command. (NotNull)loopInfo - The information of loop. (NotNull)public void doAccept(CommandContext ctx, LoopInfo parentLoop)
public void doAccept(CommandContext ctx, Object firstValue, Class<?> firstType, LoopInfo parentLoop, boolean inheritLoop)
protected void assertFirstNameAsNormal(CommandContext ctx, String firstName)
protected void throwLoopCurrentVariableOutOfForCommentException()
protected void throwForCommentIllegalParameterBeanSpecificationException()
protected void setupBoundValue(BoundValue boundValue)
protected BoundValueTracer createBoundValueTracer(ParameterCommentType type)
protected void assertParameterList(Object targetValue)
public String getExpression()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.