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

com.prowidesoftware.swift.model.mt.mt3xx.MT340 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.mt3xx;

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 340

* * * NOTE: this source code has been generated from template * * @author www.prowidesoftware.com */ public class MT340 extends AbstractMT implements Serializable { private static final long serialVersionUID = 1L; private static transient final java.util.logging.Logger log = java.util.logging.Logger.getLogger(MT340.class.getName()); /** * Creates an MT340 initialized with the parameter SwiftMessage * @param m swift message with the MT340 content */ public MT340(SwiftMessage m) { super(m); } /** * Creates an MT340 initialized with a new SwiftMessage */ public MT340() { super(); } /** * Returns this MT number * @return the message type number of this MT * @since 6.4 */ @Override public String getMessageType() { return "340"; } /** * Iterates through block4 fields and return the first one whose name matches 15A, * or null if none is found.
* The first occurrence of field 15A at MT340 is expected to be the only one. * * @return a Field15A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15A getField15A() { 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("15A"); if (t == null) { log.fine("field 15A not found"); return null; } else { return new Field15A(t.getValue()); } } } /** * 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 MT340 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 21, * or null if none is found.
* The first occurrence of field 21 at MT340 is expected to be the only one. * * @return a Field21 object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field21 getField21() { 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("21"); if (t == null) { log.fine("field 21 not found"); return null; } else { return new Field21(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 22A, * or null if none is found.
* The first occurrence of field 22A at MT340 is expected to be the only one. * * @return a Field22A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field22A getField22A() { 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("22A"); if (t == null) { log.fine("field 22A not found"); return null; } else { return new Field22A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 94A, * or null if none is found.
* The first occurrence of field 94A at MT340 is expected to be the only one. * * @return a Field94A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field94A getField94A() { 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("94A"); if (t == null) { log.fine("field 94A not found"); return null; } else { return new Field94A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 22C, * or null if none is found.
* The first occurrence of field 22C at MT340 is expected to be the only one. * * @return a Field22C object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field22C getField22C() { 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("22C"); if (t == null) { log.fine("field 22C not found"); return null; } else { return new Field22C(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 23D, * or null if none is found.
* The first occurrence of field 23D at MT340 is expected to be the only one. * * @return a Field23D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field23D getField23D() { 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("23D"); if (t == null) { log.fine("field 23D not found"); return null; } else { return new Field23D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 21N, * or null if none is found.
* The first occurrence of field 21N at MT340 is expected to be the only one. * * @return a Field21N object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field21N getField21N() { 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("21N"); if (t == null) { log.fine("field 21N not found"); return null; } else { return new Field21N(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 21B, * or null if none is found.
* The first occurrence of field 21B at MT340 is expected to be the only one. * * @return a Field21B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field21B getField21B() { 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("21B"); if (t == null) { log.fine("field 21B not found"); return null; } else { return new Field21B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 82A, * or null if none is found.
* The first occurrence of field 82A at MT340 is expected to be the only one. * * @return a Field82A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field82A getField82A() { 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("82A"); if (t == null) { log.fine("field 82A not found"); return null; } else { return new Field82A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 82D, * or null if none is found.
* The first occurrence of field 82D at MT340 is expected to be the only one. * * @return a Field82D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field82D getField82D() { 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("82D"); if (t == null) { log.fine("field 82D not found"); return null; } else { return new Field82D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 87A, * or null if none is found.
* The first occurrence of field 87A at MT340 is expected to be the only one. * * @return a Field87A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field87A getField87A() { 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("87A"); if (t == null) { log.fine("field 87A not found"); return null; } else { return new Field87A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 87D, * or null if none is found.
* The first occurrence of field 87D at MT340 is expected to be the only one. * * @return a Field87D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field87D getField87D() { 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("87D"); if (t == null) { log.fine("field 87D not found"); return null; } else { return new Field87D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 77H, * or null if none is found.
* The first occurrence of field 77H at MT340 is expected to be the only one. * * @return a Field77H object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field77H getField77H() { 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("77H"); if (t == null) { log.fine("field 77H not found"); return null; } else { return new Field77H(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 14C, * or null if none is found.
* The first occurrence of field 14C at MT340 is expected to be the only one. * * @return a Field14C object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field14C getField14C() { 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("14C"); if (t == null) { log.fine("field 14C not found"); return null; } else { return new Field14C(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 15B, * or null if none is found.
* The first occurrence of field 15B at MT340 is expected to be the only one. * * @return a Field15B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15B getField15B() { 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("15B"); if (t == null) { log.fine("field 15B not found"); return null; } else { return new Field15B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 30T, * or null if none is found.
* The first occurrence of field 30T at MT340 is expected to be the only one. * * @return a Field30T object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field30T getField30T() { 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("30T"); if (t == null) { log.fine("field 30T not found"); return null; } else { return new Field30T(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 32B, * or null if none is found.
* The first occurrence of field 32B at MT340 is expected to be the only one. * * @return a Field32B object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field32B getField32B() { 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("32B"); if (t == null) { log.fine("field 32B not found"); return null; } else { return new Field32B(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 30P, * or null if none is found.
* The first occurrence of field 30P at MT340 is expected to be the only one. * * @return a Field30P object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field30P getField30P() { 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("30P"); if (t == null) { log.fine("field 30P not found"); return null; } else { return new Field30P(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 37M, * or null if none is found.
* The first occurrence of field 37M at MT340 is expected to be the only one. * * @return a Field37M object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field37M getField37M() { 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("37M"); if (t == null) { log.fine("field 37M not found"); return null; } else { return new Field37M(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 14F, * or null if none is found.
* The first occurrence of field 14F at MT340 is expected to be the only one. * * @return a Field14F object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field14F getField14F() { 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("14F"); if (t == null) { log.fine("field 14F not found"); return null; } else { return new Field14F(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 30V, * or null if none is found.
* The first occurrence of field 30V at MT340 is expected to be the only one. * * @return a Field30V object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field30V getField30V() { 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("30V"); if (t == null) { log.fine("field 30V not found"); return null; } else { return new Field30V(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 38D, * or null if none is found.
* The first occurrence of field 38D at MT340 is expected to be the only one. * * @return a Field38D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field38D getField38D() { 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("38D"); if (t == null) { log.fine("field 38D not found"); return null; } else { return new Field38D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 38G, * or null if none is found.
* The first occurrence of field 38G at MT340 is expected to be the only one. * * @return a Field38G object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field38G getField38G() { 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("38G"); if (t == null) { log.fine("field 38G not found"); return null; } else { return new Field38G(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 14D, * or null if none is found.
* The first occurrence of field 14D at MT340 is expected to be the only one. * * @return a Field14D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field14D getField14D() { 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("14D"); if (t == null) { log.fine("field 14D not found"); return null; } else { return new Field14D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 17F, * or null if none is found.
* The first occurrence of field 17F at MT340 is expected to be the only one. * * @return a Field17F object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field17F getField17F() { 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("17F"); if (t == null) { log.fine("field 17F not found"); return null; } else { return new Field17F(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 15C, * or null if none is found.
* The first occurrence of field 15C at MT340 is expected to be the only one. * * @return a Field15C object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15C getField15C() { 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("15C"); if (t == null) { log.fine("field 15C not found"); return null; } else { return new Field15C(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 15D, * or null if none is found.
* The first occurrence of field 15D at MT340 is expected to be the only one. * * @return a Field15D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15D getField15D() { 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("15D"); if (t == null) { log.fine("field 15D not found"); return null; } else { return new Field15D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 15E, * or null if none is found.
* The first occurrence of field 15E at MT340 is expected to be the only one. * * @return a Field15E object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15E getField15E() { 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("15E"); if (t == null) { log.fine("field 15E not found"); return null; } else { return new Field15E(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 29A, * or null if none is found.
* The first occurrence of field 29A at MT340 is expected to be the only one. * * @return a Field29A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field29A getField29A() { 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("29A"); if (t == null) { log.fine("field 29A not found"); return null; } else { return new Field29A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 24D, * or null if none is found.
* The first occurrence of field 24D at MT340 is expected to be the only one. * * @return a Field24D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field24D getField24D() { 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("24D"); if (t == null) { log.fine("field 24D not found"); return null; } else { return new Field24D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 88A, * or null if none is found.
* The first occurrence of field 88A at MT340 is expected to be the only one. * * @return a Field88A object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field88A getField88A() { 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("88A"); if (t == null) { log.fine("field 88A not found"); return null; } else { return new Field88A(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 88D, * or null if none is found.
* The first occurrence of field 88D at MT340 is expected to be the only one. * * @return a Field88D object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field88D getField88D() { 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("88D"); if (t == null) { log.fine("field 88D not found"); return null; } else { return new Field88D(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 71F, * or null if none is found.
* The first occurrence of field 71F at MT340 is expected to be the only one. * * @return a Field71F object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field71F getField71F() { 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("71F"); if (t == null) { log.fine("field 71F not found"); return null; } else { return new Field71F(t.getValue()); } } } /** * Iterates through block4 fields and return the first one whose name matches 21G, * or null if none is found.
* The first occurrence of field 21G at MT340 is expected to be the only one. * * @return a Field21G object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field21G getField21G() { 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("21G"); if (t == null) { log.fine("field 21G not found"); return null; } else { return new Field21G(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 MT340 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 15F, * or null if none is found.
* The first occurrence of field 15F at MT340 is expected to be the only one. * * @return a Field15F object or null if the field is not found * @see SwiftTagListBlock#getTagByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public Field15F getField15F() { 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("15F"); if (t == null) { log.fine("field 15F not found"); return null; } else { return new Field15F(t.getValue()); } } } /** * Iterates through block4 fields and return all occurrences of fields whose names matches 22B, * or Collections.emptyList() if none is found.
* Multiple occurrences of field 22B at MT340 are expected at one sequence or across several sequences. * * @return a List of Field22B objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField22B() { 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("22B"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList()
if none is found.
* Multiple occurrences of field 53A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field53A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField53A() { 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("53A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 53D at MT340 are expected at one sequence or across several sequences. * * @return a List of Field53D objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField53D() { 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("53D"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 53J at MT340 are expected at one sequence or across several sequences. * * @return a List of Field53J objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField53J() { 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("53J"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 86A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field86A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField86A() { 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("86A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 86D at MT340 are expected at one sequence or across several sequences. * * @return a List of Field86D objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField86D() { 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("86D"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 86J at MT340 are expected at one sequence or across several sequences. * * @return a List of Field86J objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField86J() { 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("86J"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 56A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field56A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField56A() { 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("56A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 56D at MT340 are expected at one sequence or across several sequences. * * @return a List of Field56D objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField56D() { 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("56D"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 56J at MT340 are expected at one sequence or across several sequences. * * @return a List of Field56J objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField56J() { 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("56J"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 57A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field57A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField57A() { 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("57A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 57D at MT340 are expected at one sequence or across several sequences. * * @return a List of Field57D objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField57D() { 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("57D"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 57J at MT340 are expected at one sequence or across several sequences. * * @return a List of Field57J objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField57J() { 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("57J"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 58A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field58A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField58A() { 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("58A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 58D at MT340 are expected at one sequence or across several sequences. * * @return a List of Field58D objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField58D() { 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("58D"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 58J at MT340 are expected at one sequence or across several sequences. * * @return a List of Field58J objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField58J() { 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("58J"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 18A at MT340 are expected at one sequence or across several sequences. * * @return a List of Field18A objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField18A() { 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("18A"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 30F at MT340 are expected at one sequence or across several sequences. * * @return a List of Field30F objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField30F() { 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("30F"); final List result = new ArrayList(); for (int i=0; iCollections.emptyList() if none is found.
* Multiple occurrences of field 32H at MT340 are expected at one sequence or across several sequences. * * @return a List of Field32H objects or Collections.emptyList() if none is not found * @see SwiftTagListBlock#getTagsByName(String) * @throws IllegalStateException if SwiftMessage object is not initialized */ public List getField32H() { 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("32H"); final List result = new ArrayList(); for (int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy