public interface AccumulateDescrBuilder<P extends DescrBuilder<?,?>> extends DescrBuilder<P,AccumulateDescr>
Modifier and Type | Method and Description |
---|---|
AccumulateDescrBuilder<P> |
action(String block)
For accumulate CEs that use custom code blocks, this call
sets the content of the action code block.
|
P |
end()
Returns the parent container of this descr builder.
|
AccumulateDescrBuilder<P> |
function(String name,
String bind,
String... parameters)
For accumulate CEs that use accumulate functions, this call
instantiate one accumulate function call.
|
AccumulateDescrBuilder<P> |
init(String block)
For accumulate CEs that use custom code blocks, this call
sets the content of the init code block.
|
AccumulateDescrBuilder<P> |
multiFunction(boolean b)
Sets this accumulate CE as a multi-function accumulate (true)
or as a single function accumulate (false).
|
AccumulateDescrBuilder<P> |
result(String expr)
For accumulate CEs that use custom code blocks, this call
sets the content of the result expression.
|
AccumulateDescrBuilder<P> |
reverse(String block)
For accumulate CEs that use custom code blocks, this call
sets the content of the reverse code block.
|
CEDescrBuilder<AccumulateDescrBuilder<P>,AndDescr> |
source()
Defines the source CE for the Accumulate CE.
|
endCharacter, endLocation, getDescr, startCharacter, startLocation
CEDescrBuilder<AccumulateDescrBuilder<P>,AndDescr> source()
AccumulateDescrBuilder<P> function(String name, String bind, String... parameters)
name
- the name of the function being called. Mandatory non-null parameter.bind
- the name of the bound variable if there is one. Null if no binding should be made.parameters
- the array of parameters to the function.AccumulateDescrBuilder<P> init(String block)
block
- the code for this blockAccumulateDescrBuilder<P> action(String block)
block
- the code for this blockAccumulateDescrBuilder<P> reverse(String block)
block
- the code for this blockAccumulateDescrBuilder<P> result(String expr)
expr
- the return exprAccumulateDescrBuilder<P> multiFunction(boolean b)
b
- true if multi-function accumulateP end()
DescrBuilder
end
in interface DescrBuilder<P extends DescrBuilder<?,?>,AccumulateDescr>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.