public interface PayloadBlockView
extends oracle.communication.brm.charging.config.servicespec.BasePayloadBlock
| Modifier and Type | Method and Description |
|---|---|
PayloadBlockIterator<PayloadBlockView> |
createViewIterator()
method to create an iterator that will do a depth first traversal of all sub-blocks below this Payload.
|
PayloadBlockIterator<PayloadBlockView> |
createViewIterator(java.lang.String blockName)
method to create an iterator that will do a depth first traversal of all sub-blocks below this PayloadBlock that
match the supplied blockName.
|
PayloadBlockIterator<PayloadBlockView> |
createViewIterator(java.lang.String blockName,
java.lang.String attrName)
method to create an iterator that will do a depth first traversal of all sub-blocks below this PayloadBlock that
match the supplied blockName and attribute name.
|
PayloadBlockIterator<PayloadBlockView> |
createViewIterator(java.lang.String blockName,
java.lang.String attrName,
java.lang.String value)
method to create an iterator that will do a depth first traversal of all sub-blocks below this PayloadBlock that
match the supplied blockName.
|
<T> T |
getAttribute(java.lang.String name)
method returns the attribute value for the provided attribute name.
|
PayloadBlockView |
getParentBlockView()
the parent block associated with this sub-block.
|
java.util.List<PayloadBlockView> |
getSubBlocks(java.lang.String name)
method gets the sub-block matching the supplied name.
|
<T> T getAttribute(java.lang.String name)
T - the type of the expected attributename - the name of the attribute to be retrieved (eg. ABC[2].XYZ[1].TIME)PayloadBlockView getParentBlockView()
java.util.List<PayloadBlockView> getSubBlocks(java.lang.String name)
name - name of the block to get. Dot notation is NOT supported, this is a non-qualified block name
that represents a block with is a direct descendant of this payload.PayloadBlockIterator<PayloadBlockView> createViewIterator()
PayloadBlockIterator<PayloadBlockView> createViewIterator(java.lang.String blockName)
blockName - block name to match. A trailing '*' suffix can be used to do wildcard helps. (eg. CUSTOMER.BALANCE*)PayloadBlockIterator<PayloadBlockView> createViewIterator(java.lang.String blockName, java.lang.String attrName)
blockName - block name to match. A trailing '*' suffix can be used to do wildcard helps. (eg. CUSTOMER.BALANCE*)attrName - attr name to match.PayloadBlockIterator<PayloadBlockView> createViewIterator(java.lang.String blockName, java.lang.String attrName, java.lang.String value)
blockName - block name to match. A trailing '*' suffix can be used to do wildcard helps. (eg. CUSTOMER.BALANCE*)attrName - attr name to match.value - attr value to match.