Class MT361.SequenceF1

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<Tag>
    Enclosing class:
    MT361

    public static class MT361.SequenceF1
    extends SwiftTagListBlock
    Class to model Sequence "F1" in MT 361.
    See Also:
    Serialized Form
    • Field Detail

      • START

        public static final java.lang.String[] START
        First mandatory tag name of the sequence: "14J" . 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: "22B" 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 MT361.SequenceF1 newInstance​(Tag... tags)
        Same as newInstance(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 MT361.SequenceF1 newInstance​(int start,
                                                   int end,
                                                   Tag... tags)
        Creates a sequence with starting and ending tags set to the indicated tags in from the START and END 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 sequence
        end - a zero-based index within the list of mandatory ending tags in the sequence
        tags - the list of tags to set as sequence content
        Returns:
        a new instance of the sequence, initialized with the parameter tags