Class MT620.SequenceA

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

    @SequenceStyle(SPLIT_BY_15)
    public static class MT620.SequenceA
    extends SwiftTagListBlock
    Class to model Sequence "A" in MT 620.
    See Also:
    Serialized Form
    • Field Detail

      • START_TAG

        public static final Tag START_TAG
    • Method Detail

      • newInstance

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