W
- type of the write payloadpublic class WriteExpressionImpl<W> extends WriteExpressionListImpl<W> implements WriteExpression<W>
WriteExpression
.Constructor and Description |
---|
WriteExpressionImpl(String channelName)
Constructor that represents a single channel of a particular type.
|
WriteExpressionImpl(WriteExpressionList<?> childExpressions,
WriteFunction<W> function,
String defaultName)
Creates a new write expression.
|
Modifier and Type | Method and Description |
---|---|
WriteExpression<W> |
as(String name)
Changes the name for this expression
|
WriteBuffer |
createWriteBuffer()
Creates a data recipe for the given expression.
|
String |
getName()
Name representation of the expression.
|
WriteExpressionImpl<W> |
getWriteExpressionImpl()
The implementation of this expression.
|
WriteFunction<W> |
getWriteFunction()
Returns the function represented by this expression.
|
and, getWriteExpressions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, getWriteExpressions
public WriteExpressionImpl(String channelName)
channelName
- the name of the channelpublic WriteExpressionImpl(WriteExpressionList<?> childExpressions, WriteFunction<W> function, String defaultName)
childExpressions
- the expressions used as arguments by this expressionfunction
- the function that will decompose the payload for this expressiondefaultName
- the name for this expressionpublic final WriteExpression<W> as(String name)
name
- new namepublic final String getName()
getName
in interface WriteExpression<W>
public final WriteFunction<W> getWriteFunction()
getWriteFunction
in interface WriteExpression<W>
public final WriteBuffer createWriteBuffer()
createWriteBuffer
in interface WriteExpression<W>
public final WriteExpressionImpl<W> getWriteExpressionImpl()
WriteExpression
getWriteExpressionImpl
in interface WriteExpression<W>
Copyright © 2012. All Rights Reserved.