All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mt.mt1xx.MT103 Maven / Gradle / Ivy

The newest version!
/* 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 */
package com.prowidesoftware.swift.model.mt.mt1xx;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.model.field.*;
import com.prowidesoftware.swift.model.mt.AbstractMT;

/**
 * MT 103

* * * NOTE: this source code has been generated from template * * @author www.prowidesoftware.com */ public class MT103 extends AbstractMT implements Serializable { private static final long serialVersionUID = 1L; private static transient final java.util.logging.Logger log = java.util.logging.Logger.getLogger(MT103.class.getName()); /** * Creates an MT103 initialized with the parameter SwiftMessage * @param m swift message with the MT103 content */ public MT103(SwiftMessage m) { super(m); } /** * Creates an MT103 initialized with a new SwiftMessage */ public MT103() { super(); } /** * Returns this MT number * @return the message type number of this MT * @since 6.4 */ @Override public String getMessageType() { return "103"; } /** * Iterates through block4 fields and return the first one whose name matches 20, * or null if none is found.
* The first occurrence of field 20 at MT103 is expected to be the only one. * * @return a Field20 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field20 getField20() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("20"); if (t == null) { log.fine("field 20 not found"); return null; } else { return new Field20(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 23B, * or null if none is found.
* The first occurrence of field 23B at MT103 is expected to be the only one. * * @return a Field23B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field23B getField23B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("23B"); if (t == null) { log.fine("field 23B not found"); return null; } else { return new Field23B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 26T, * or null if none is found.
* The first occurrence of field 26T at MT103 is expected to be the only one. * * @return a Field26T object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field26T getField26T() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("26T"); if (t == null) { log.fine("field 26T not found"); return null; } else { return new Field26T(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 32A, * or null if none is found.
* The first occurrence of field 32A at MT103 is expected to be the only one. * * @return a Field32A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field32A getField32A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("32A"); if (t == null) { log.fine("field 32A not found"); return null; } else { return new Field32A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 33B, * or null if none is found.
* The first occurrence of field 33B at MT103 is expected to be the only one. * * @return a Field33B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field33B getField33B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("33B"); if (t == null) { log.fine("field 33B not found"); return null; } else { return new Field33B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 36, * or null if none is found.
* The first occurrence of field 36 at MT103 is expected to be the only one. * * @return a Field36 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field36 getField36() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("36"); if (t == null) { log.fine("field 36 not found"); return null; } else { return new Field36(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 50A, * or null if none is found.
* The first occurrence of field 50A at MT103 is expected to be the only one. * * @return a Field50A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field50A getField50A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("50A"); if (t == null) { log.fine("field 50A not found"); return null; } else { return new Field50A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 50F, * or null if none is found.
* The first occurrence of field 50F at MT103 is expected to be the only one. * * @return a Field50F object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field50F getField50F() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("50F"); if (t == null) { log.fine("field 50F not found"); return null; } else { return new Field50F(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 50K, * or null if none is found.
* The first occurrence of field 50K at MT103 is expected to be the only one. * * @return a Field50K object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field50K getField50K() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("50K"); if (t == null) { log.fine("field 50K not found"); return null; } else { return new Field50K(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 51A, * or null if none is found.
* The first occurrence of field 51A at MT103 is expected to be the only one. * * @return a Field51A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field51A getField51A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("51A"); if (t == null) { log.fine("field 51A not found"); return null; } else { return new Field51A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 52A, * or null if none is found.
* The first occurrence of field 52A at MT103 is expected to be the only one. * * @return a Field52A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field52A getField52A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("52A"); if (t == null) { log.fine("field 52A not found"); return null; } else { return new Field52A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 52D, * or null if none is found.
* The first occurrence of field 52D at MT103 is expected to be the only one. * * @return a Field52D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field52D getField52D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("52D"); if (t == null) { log.fine("field 52D not found"); return null; } else { return new Field52D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 53A, * or null if none is found.
* The first occurrence of field 53A at MT103 is expected to be the only one. * * @return a Field53A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field53A getField53A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("53A"); if (t == null) { log.fine("field 53A not found"); return null; } else { return new Field53A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 53B, * or null if none is found.
* The first occurrence of field 53B at MT103 is expected to be the only one. * * @return a Field53B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field53B getField53B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("53B"); if (t == null) { log.fine("field 53B not found"); return null; } else { return new Field53B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 53D, * or null if none is found.
* The first occurrence of field 53D at MT103 is expected to be the only one. * * @return a Field53D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field53D getField53D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("53D"); if (t == null) { log.fine("field 53D not found"); return null; } else { return new Field53D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 54A, * or null if none is found.
* The first occurrence of field 54A at MT103 is expected to be the only one. * * @return a Field54A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field54A getField54A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("54A"); if (t == null) { log.fine("field 54A not found"); return null; } else { return new Field54A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 54B, * or null if none is found.
* The first occurrence of field 54B at MT103 is expected to be the only one. * * @return a Field54B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field54B getField54B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("54B"); if (t == null) { log.fine("field 54B not found"); return null; } else { return new Field54B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 54D, * or null if none is found.
* The first occurrence of field 54D at MT103 is expected to be the only one. * * @return a Field54D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field54D getField54D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("54D"); if (t == null) { log.fine("field 54D not found"); return null; } else { return new Field54D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 55A, * or null if none is found.
* The first occurrence of field 55A at MT103 is expected to be the only one. * * @return a Field55A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field55A getField55A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("55A"); if (t == null) { log.fine("field 55A not found"); return null; } else { return new Field55A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 55B, * or null if none is found.
* The first occurrence of field 55B at MT103 is expected to be the only one. * * @return a Field55B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field55B getField55B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("55B"); if (t == null) { log.fine("field 55B not found"); return null; } else { return new Field55B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 55D, * or null if none is found.
* The first occurrence of field 55D at MT103 is expected to be the only one. * * @return a Field55D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field55D getField55D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("55D"); if (t == null) { log.fine("field 55D not found"); return null; } else { return new Field55D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 56A, * or null if none is found.
* The first occurrence of field 56A at MT103 is expected to be the only one. * * @return a Field56A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field56A getField56A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("56A"); if (t == null) { log.fine("field 56A not found"); return null; } else { return new Field56A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 56C, * or null if none is found.
* The first occurrence of field 56C at MT103 is expected to be the only one. * * @return a Field56C object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field56C getField56C() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("56C"); if (t == null) { log.fine("field 56C not found"); return null; } else { return new Field56C(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 56D, * or null if none is found.
* The first occurrence of field 56D at MT103 is expected to be the only one. * * @return a Field56D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field56D getField56D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("56D"); if (t == null) { log.fine("field 56D not found"); return null; } else { return new Field56D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 57A, * or null if none is found.
* The first occurrence of field 57A at MT103 is expected to be the only one. * * @return a Field57A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field57A getField57A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("57A"); if (t == null) { log.fine("field 57A not found"); return null; } else { return new Field57A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 57B, * or null if none is found.
* The first occurrence of field 57B at MT103 is expected to be the only one. * * @return a Field57B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field57B getField57B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("57B"); if (t == null) { log.fine("field 57B not found"); return null; } else { return new Field57B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 57C, * or null if none is found.
* The first occurrence of field 57C at MT103 is expected to be the only one. * * @return a Field57C object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field57C getField57C() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("57C"); if (t == null) { log.fine("field 57C not found"); return null; } else { return new Field57C(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 57D, * or null if none is found.
* The first occurrence of field 57D at MT103 is expected to be the only one. * * @return a Field57D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field57D getField57D() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("57D"); if (t == null) { log.fine("field 57D not found"); return null; } else { return new Field57D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 59A, * or null if none is found.
* The first occurrence of field 59A at MT103 is expected to be the only one. * * @return a Field59A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field59A getField59A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("59A"); if (t == null) { log.fine("field 59A not found"); return null; } else { return new Field59A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 59, * or null if none is found.
* The first occurrence of field 59 at MT103 is expected to be the only one. * * @return a Field59 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field59 getField59() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("59"); if (t == null) { log.fine("field 59 not found"); return null; } else { return new Field59(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 70, * or null if none is found.
* The first occurrence of field 70 at MT103 is expected to be the only one. * * @return a Field70 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field70 getField70() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("70"); if (t == null) { log.fine("field 70 not found"); return null; } else { return new Field70(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 71A, * or null if none is found.
* The first occurrence of field 71A at MT103 is expected to be the only one. * * @return a Field71A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field71A getField71A() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("71A"); if (t == null) { log.fine("field 71A not found"); return null; } else { return new Field71A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 71G, * or null if none is found.
* The first occurrence of field 71G at MT103 is expected to be the only one. * * @return a Field71G object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field71G getField71G() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("71G"); if (t == null) { log.fine("field 71G not found"); return null; } else { return new Field71G(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 72, * or null if none is found.
* The first occurrence of field 72 at MT103 is expected to be the only one. * * @return a Field72 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field72 getField72() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("72"); if (t == null) { log.fine("field 72 not found"); return null; } else { return new Field72(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 77B, * or null if none is found.
* The first occurrence of field 77B at MT103 is expected to be the only one. * * @return a Field77B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field77B getField77B() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("77B"); if (t == null) { log.fine("field 77B not found"); return null; } else { return new Field77B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 77T, * or null if none is found.
* The first occurrence of field 77T at MT103 is expected to be the only one. * * @return a Field77T object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field77T getField77T() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return null; } else { final Tag t = getSwiftMessage().getBlock4().getTagByName("77T"); if (t == null) { log.fine("field 77T not found"); return null; } else { return new Field77T(t.getValue()); } } } /** * Iterates through block4 fields and return all occurrences of fields whose names matches 13C, * or Collections.emptyList() if none is found.
* Multiple occurrences of field 13C at MT103 are expected at one sequence or across several sequences. * * @return a List of Field13C objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField13C() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return Collections.emptyList(); } else { final Tag[] tags = getSwiftMessage().getBlock4().getTagsByName("13C"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList()
if none is found.
* Multiple occurrences of field 23E at MT103 are expected at one sequence or across several sequences. * * @return a List of Field23E objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField23E() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return Collections.emptyList(); } else { final Tag[] tags = getSwiftMessage().getBlock4().getTagsByName("23E"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 71F at MT103 are expected at one sequence or across several sequences. * * @return a List of Field71F objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField71F() { if (getSwiftMessage() == null) { throw new IllegalStateException("SwiftMessage was not initialized"); } if (getSwiftMessage().getBlock4() == null) { log.info("block4 is null"); return Collections.emptyList(); } else { final Tag[] tags = getSwiftMessage().getBlock4().getTagsByName("71F"); final List result = new ArrayList(); for (int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy