Class MT104.SequenceA
- java.lang.Object
-
- com.prowidesoftware.swift.model.SwiftBlock
-
- com.prowidesoftware.swift.model.SwiftTagListBlock
-
- com.prowidesoftware.swift.model.mt.mt1xx.MT104.SequenceA
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<Tag>
- Enclosing class:
- MT104
public static class MT104.SequenceA extends SwiftTagListBlock
Class to model Sequence "A" in MT 104.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String[]
END
Last mandatory tag name of the sequence: "30" Array format is for cases when more than one letter options is allowedstatic java.lang.String[]
START
First mandatory tag name of the sequence: "20" .protected static java.lang.String[]
TAIL
List of optional tags after the last mandatory 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 MT104.SequenceA
newInstance(int start, int end, Tag... tags)
static MT104.SequenceA
newInstance(Tag... tags)
Same asnewInstance(int, int, Tag...)
using zero for the indexes.-
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
public static final java.lang.String[] START
First mandatory tag name of the sequence: "20" . Array format is for cases when more than one letter options is allowed
-
END
protected static final java.lang.String[] END
Last mandatory tag name of the sequence: "30" Array format is for cases when more than one letter options is allowed
-
TAIL
protected static final java.lang.String[] TAIL
List of optional tags after the last mandatory tag.
-
-
Method Detail
-
newInstance
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static MT104.SequenceA newInstance(Tag... tags)
Same asnewInstance(int, int, Tag...)
using zero for the indexes.- Parameters:
tags
- the list of tags to set as sequence content- Returns:
- a new instance of the sequence, initialized with the parameter tags
-
newInstance
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static MT104.SequenceA newInstance(int start, int end, Tag... tags)
Creates a sequence with starting and ending tags set to the indicated tags in from theSTART
andEND
lists of mandatory fields, and with the content between the starting and ending tag initialized with the given optional tags.- Parameters:
start
- a zero-based index within the list of mandatory starting tags in the sequenceend
- a zero-based index within the list of mandatory ending tags in the sequencetags
- the list of tags to set as sequence content- Returns:
- a new instance of the sequence, initialized with the parameter tags
-
-