DataType
- Type of data which should be stored in the node.InboundMsgType
- Inbound message type for additional checks.public interface DataElement<DataType,InboundMsgType>
Modifier and Type | Method and Description |
---|---|
boolean |
getData(InboundMsgType inboundMessage,
DataReturnAgent<DataType> dataReturnAgent)
Get the stored data.
|
boolean |
hasData()
Check data availability.
|
void |
setData(DataType data)
Set the node item.
|
void setData(DataType data)
data
- data to be stored.boolean hasData()
boolean getData(InboundMsgType inboundMessage, DataReturnAgent<DataType> dataReturnAgent)
inboundMessage
- Checker for extra checks of the item.Copyright © 2018 WSO2. All rights reserved.