Class MT360.SequenceF2
- java.lang.Object
-
- com.prowidesoftware.swift.model.SwiftBlock
-
- com.prowidesoftware.swift.model.SwiftTagListBlock
-
- com.prowidesoftware.swift.model.mt.mt3xx.MT360.SequenceF2
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<Tag>
- Enclosing class:
- MT360
public static class MT360.SequenceF2 extends SwiftTagListBlock
Class to model Sequence "F2" in MT 360.- 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: "30X" Array format is for cases when more than one letter options is allowedstatic java.lang.String[]
START
First mandatory tag name of the sequence: "22D" .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 MT360.SequenceF2
newInstance(int start, int end, Tag... tags)
static MT360.SequenceF2
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: "22D" . 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: "30X" 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 MT360.SequenceF2 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 MT360.SequenceF2 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
-
-