|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.prowidesoftware.swift.model.SwiftBlock
com.prowidesoftware.swift.model.SwiftTagListBlock
com.prowidesoftware.swift.model.SwiftBlock5
public class SwiftBlock5
Base class for SWIFT Trailer Block (block 5).
Each SWIFT message has one or more trailers as required by
the message exchange and security requirements.
System trailers, if applicable, follow user trailers.
Field Summary |
---|
Fields inherited from class com.prowidesoftware.swift.model.SwiftTagListBlock |
---|
tags |
Fields inherited from class com.prowidesoftware.swift.model.SwiftBlock |
---|
blockType, id, input, output, unparsedTexts |
Constructor Summary | |
---|---|
SwiftBlock5()
Default constructor |
|
SwiftBlock5(java.util.List<Tag> tags)
Constructor with tag initialization |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the block name (the value 5 as a string) |
java.lang.Integer |
getNumber()
Returns the block number (the value 5 as an integer) |
protected void |
setBlockName(java.lang.String blockName)
Sets the block name. |
protected void |
setBlockNumber(java.lang.Integer blockNumber)
Sets the block number. |
Methods inherited from class com.prowidesoftware.swift.model.SwiftTagListBlock |
---|
add, addTag, addTags, containsAnyOf, containsField, containsTag, containsTag, containsTag, equals, getField, getFieldByName, getFieldsByName, getSubBlock, getSubBlock, getSubBlock, getSubBlockAfterFirst, getSubBlockAfterLast, getSubBlockByIndex, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getTag, getTagByName, getTagByNumber, getTagCount, getTagCount, getTagIndex, getTagMap, getTags, getTagsByContent, getTagsByName, getTagsByValue, getTagValue, getTagValues, hashCode, isEmpty, removeAll, removeTag, removeUntilFirst, setTags, setTags, size, splitByTagName, tagIterator, toString, trimAfterFirst, visit |
Methods inherited from class com.prowidesoftware.swift.model.SwiftBlock |
---|
getBlockType, getId, getInput, getOutput, getUnparsedTexts, getUnparsedTextsSize, isTagBlock, setBlockType, setId, setInput, setOutput, setUnparsedTexts, unparsedTextAddText, unparsedTextAddText, unparsedTextGetAsMessage, unparsedTextGetText, unparsedTextIsMessage, unparsedTextVerify |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwiftBlock5()
public SwiftBlock5(java.util.List<Tag> tags)
tags
- the list of tags to initialize
java.lang.IllegalArgumentException
- if parameter tags is null
java.lang.IllegalArgumentException
- if parameter tags is not composed of StringsMethod Detail |
---|
protected void setBlockNumber(java.lang.Integer blockNumber)
setBlockNumber
in class SwiftTagListBlock
blockNumber
- the block number to set
java.lang.IllegalArgumentException
- if parameter blockName is not the integer 5protected void setBlockName(java.lang.String blockName)
setBlockName
in class SwiftTagListBlock
blockName
- the block name to set
java.lang.IllegalArgumentException
- if parameter blockName is not the string "5"public java.lang.Integer getNumber()
getNumber
in class SwiftTagListBlock
public java.lang.String getName()
getName
in class SwiftTagListBlock
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |