public class SwiftBlock5 extends SwiftTagListBlock implements Serializable
tags
blockType, id, input, output, unparsedTexts
Constructor and Description |
---|
SwiftBlock5()
Default constructor
|
SwiftBlock5(List<Tag> tags)
Constructor with tag initialization
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the block name (the value 5 as a string)
|
Integer |
getNumber()
Returns the block number (the value 5 as an integer)
|
protected void |
setBlockName(String blockName)
Sets the block name.
|
protected void |
setBlockNumber(Integer blockNumber)
Sets the block number.
|
add, addTag, addTags, append, containsAllOf, containsAnyOf, containsField, containsTag, containsTag, containsTag, countAll, countByName, countTagsStarsWith, equals, filterByName, filterByNameOrdered, getField, getFieldByName, getFieldByName, getFieldByName, getFieldByNumber, getFieldByNumber, getFieldsByName, getFieldsByName, getFieldsByNumber, getOptionalList, getOptionalList, getOptionalLists, getSubBlock, getSubBlock, getSubBlock, getSubBlock, getSubBlockAfterFirst, getSubBlockAfterLast, getSubBlockBeforeFirst, getSubBlockBeforeLast, getSubBlockByIndex, getSubBlockDelimitedWithOptionalTail, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocksDelimitedWithOptionalTail, getTag, getTagByName, getTagByNumber, getTagIndex, getTagMap, getTags, getTagsByContent, getTagsByName, getTagsByNumber, getTagsByValue, getTagValue, getTagValues, hashCode, indexOfAnyFirst, indexOfAnyFirstAfterIndex, indexOfAnyLast, indexOfAnyLastAfterIndex, indexOfFirst, indexOfLast, isEmpty, iterator, removeAfterFirst, removeAfterFirstStartsWith, removeAll, removeSubBlock, removeTag, removeUntilFirst, setTags, setTags, size, splitByTagName, sublist, tagIterator, tagNamesList, toJson, toString, trimAfterFirst, visit
getBlockType, getId, getUnparsedTexts, getUnparsedTextsSize, isTagBlock, setBlockType, setId, setInput, setOutput, setUnparsedTexts, unparsedTextAddText, unparsedTextAddText, unparsedTextGetAsMessage, unparsedTextGetText, unparsedTextIsMessage, unparsedTextVerify
public SwiftBlock5()
public SwiftBlock5(List<Tag> tags)
tags
- the list of tags to initializeIllegalArgumentException
- if parameter tags is null
IllegalArgumentException
- if parameter tags is not composed of Stringspublic String getName()
getName
in class SwiftTagListBlock
public Integer getNumber()
getNumber
in class SwiftTagListBlock
protected void setBlockName(String blockName)
setBlockName
in class SwiftTagListBlock
blockName
- the block name to setIllegalArgumentException
- if parameter blockName is not the string "5"protected void setBlockNumber(Integer blockNumber)
setBlockNumber
in class SwiftTagListBlock
blockNumber
- the block number to setIllegalArgumentException
- if parameter blockName is not the integer 5