Class MT518.SequenceB

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

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

      • START_END_16RS

        public static final java.lang.String START_END_16RS
        Value for the qualifier of the 16R / 16S tag that indicates start and end of this sequence CONFDET.
        See Also:
        Constant Field Values
      • START_TAG

        public static final Tag START_TAG
      • END_TAG

        public static final Tag END_TAG
    • Method Detail

      • newInstance

        @SequenceStyle(GENERATED_16RS)
        public static MT518.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
      • newInstance

        public static MT518.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.6
      • newInstance

        public static MT518.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.6