Class MT600.SequenceB

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

    @SequenceStyle(SPLIT_BY_15)
    public static class MT600.SequenceB
    extends SwiftTagListBlock
    Class to model Sequence "B" in MT 600.
    See Also:
    Serialized Form
    • Field Detail

      • START_TAG

        public static final Tag START_TAG
    • Method Detail

      • newInstance

        @SequenceStyle(SPLIT_BY_15)
        public static MT600.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 MT600.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 MT600.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