Class MT365.SequenceB
- java.lang.Object
-
- com.prowidesoftware.swift.model.SwiftBlock
-
- com.prowidesoftware.swift.model.SwiftTagListBlock
-
- com.prowidesoftware.swift.model.mt.mt3xx.MT365.SequenceB
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<Tag>
- Enclosing class:
- MT365
@SequenceStyle(SPLIT_BY_15) public static class MT365.SequenceB extends SwiftTagListBlock
Class to model Sequence "B" in MT 365.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Tag
START_TAG
-
Fields inherited from class com.prowidesoftware.swift.model.SwiftTagListBlock
EMPTY_LIST
-
Fields inherited from class com.prowidesoftware.swift.model.SwiftBlock
blockType, input, output, unparsedTexts
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MT365.SequenceB
newInstance()
Create an empty $sequenceClassname.static MT365.SequenceB
newInstance(SwiftTagListBlock... sequences)
Create a new instance of $sequenceClassname and add the contents of all sequences given inside.static MT365.SequenceB
newInstance(Tag... tags)
Creates a new instance of this sequence with the given tags inside.-
Methods inherited from class com.prowidesoftware.swift.model.SwiftTagListBlock
addTag, addTags, append, append, append, append, append, append, asTagArray, clear, containsAllOf, containsAnyOf, containsField, containsTag, containsTag, containsTag, countAll, countByName, countTagsStarsWith, equals, fields, filterByName, filterByNameOrdered, getField, getFieldByName, getFieldByName, getFieldByName, getFieldByNumber, getFieldByNumber, getFieldByQualifiers, getFieldsByName, getFieldsByName, getFieldsByNumber, getName, getNumber, getOptionalList, getOptionalList, getOptionalLists, getSubBlock, getSubBlock, getSubBlock, getSubBlock, getSubBlockAfterFirst, getSubBlockAfterFirst, getSubBlockAfterLast, getSubBlockBeforeFirst, getSubBlockBeforeFirst, getSubBlockBeforeLast, getSubBlockByTagNames, getSubBlockDelimitedWithOptionalTail, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocks, getSubBlocksByTagNames, getSubBlocksDelimitedWithOptionalTail, getTag, getTagByName, getTagByName, getTagByNumber, getTagIndex, getTagMap, getTags, getTagsByContent, getTagsByName, getTagsByName, getTagsByNumber, getTagsByValue, getTagValue, getTagValues, hashCode, indexOfAnyFirst, indexOfAnyFirstAfterIndex, indexOfAnyLast, indexOfAnyLastAfterIndex, indexOfFirst, indexOfFirstValue, indexOfLast, indexOfLastValue, isEmpty, iterator, removeAfterFirstStartsWith, removeAll, removeSubBlock, removeSubBlocks, removeTag, setBlockName, setBlockNumber, setTag, setTags, setTags, size, splitByTagName, splitByTagName, sublist, tagIterator, tagNamesList, toJson, toString, visit
-
Methods inherited from class com.prowidesoftware.swift.model.SwiftBlock
getBlockType, getInput, getOutput, getUnparsedTexts, getUnparsedTextsSize, isTagBlock, setBlockType, setInput, setOutput, setUnparsedTexts, unparsedTextAddText, unparsedTextAddText, unparsedTextGetAsMessage, unparsedTextGetText, unparsedTextIsMessage, unparsedTextVerify
-
-
-
-
Field Detail
-
START_TAG
public static final Tag START_TAG
-
-
Method Detail
-
newInstance
@SequenceStyle(SPLIT_BY_15) public static MT365.SequenceB newInstance(Tag... tags)
Creates a new instance of this sequence with the given tags inside.- Parameters:
tags
- may be null, an empty sequence containing only start and end sequence tags will be returned- Returns:
- a new instance of the sequence, initialized with the parameter tags
- Since:
- 7.7
-
newInstance
public static MT365.SequenceB newInstance()
Create an empty $sequenceClassname. This method is intended to avoid disambiguation for the newInstance() with variable list of blocks or tags- Returns:
- a new instance of the sequence
- Since:
- 7.7
-
newInstance
public static MT365.SequenceB newInstance(SwiftTagListBlock... sequences)
Create a new instance of $sequenceClassname and add the contents of all sequences given inside. Mainly intended to create a sequence by adding subsequences- Parameters:
sequences
- a list of blocks to set as the new sequence content- Returns:
- a new instance of the sequence, initialized with the parameter sequences content
- Since:
- 7.7
-
-