
com.prowidesoftware.swift.model.mt.mt7xx.MT720 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.mt7xx;
import java.io.Serializable;
import com.prowidesoftware.swift.model.*;
import com.prowidesoftware.swift.model.field.*;
import com.prowidesoftware.swift.model.mt.AbstractMT;
/**
* MT 720
*
*
* NOTE: this source code has been generated from template
*
* @author www.prowidesoftware.com
*/
public class MT720 extends AbstractMT implements Serializable {
private static final long serialVersionUID = 1L;
private static transient final java.util.logging.Logger log = java.util.logging.Logger.getLogger(MT720.class.getName());
/**
* Creates an MT720 initialized with the parameter SwiftMessage
* @param m swift message with the MT720 content
*/
public MT720(SwiftMessage m) {
super(m);
}
/**
* Creates an MT720 initialized with a new SwiftMessage
*/
public MT720() {
super();
}
/**
* Returns this MT number
* @return the message type number of this MT
* @since 6.4
*/
@Override
public String getMessageType() {
return "720";
}
/**
* Iterates through block4 fields and return the first one whose name matches 27,
* or null
if none is found.
* The first occurrence of field 27 at MT720 is expected to be the only one.
*
* @return a Field27 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field27 getField27() {
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("27");
if (t == null) {
log.fine("field 27 not found");
return null;
} else {
return new Field27(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 40B,
* or null
if none is found.
* The first occurrence of field 40B at MT720 is expected to be the only one.
*
* @return a Field40B object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field40B getField40B() {
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("40B");
if (t == null) {
log.fine("field 40B not found");
return null;
} else {
return new Field40B(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 MT720 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 MT720 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 31C,
* or null
if none is found.
* The first occurrence of field 31C at MT720 is expected to be the only one.
*
* @return a Field31C object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field31C getField31C() {
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("31C");
if (t == null) {
log.fine("field 31C not found");
return null;
} else {
return new Field31C(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 40E,
* or null
if none is found.
* The first occurrence of field 40E at MT720 is expected to be the only one.
*
* @return a Field40E object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field40E getField40E() {
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("40E");
if (t == null) {
log.fine("field 40E not found");
return null;
} else {
return new Field40E(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 31D,
* or null
if none is found.
* The first occurrence of field 31D at MT720 is expected to be the only one.
*
* @return a Field31D object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field31D getField31D() {
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("31D");
if (t == null) {
log.fine("field 31D not found");
return null;
} else {
return new Field31D(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 MT720 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 MT720 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 50B,
* or null
if none is found.
* The first occurrence of field 50B at MT720 is expected to be the only one.
*
* @return a Field50B object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field50B getField50B() {
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("50B");
if (t == null) {
log.fine("field 50B not found");
return null;
} else {
return new Field50B(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 50,
* or null
if none is found.
* The first occurrence of field 50 at MT720 is expected to be the only one.
*
* @return a Field50 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field50 getField50() {
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("50");
if (t == null) {
log.fine("field 50 not found");
return null;
} else {
return new Field50(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 MT720 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 32B,
* or null
if none is found.
* The first occurrence of field 32B at MT720 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 39A,
* or null
if none is found.
* The first occurrence of field 39A at MT720 is expected to be the only one.
*
* @return a Field39A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field39A getField39A() {
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("39A");
if (t == null) {
log.fine("field 39A not found");
return null;
} else {
return new Field39A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 39B,
* or null
if none is found.
* The first occurrence of field 39B at MT720 is expected to be the only one.
*
* @return a Field39B object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field39B getField39B() {
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("39B");
if (t == null) {
log.fine("field 39B not found");
return null;
} else {
return new Field39B(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 39C,
* or null
if none is found.
* The first occurrence of field 39C at MT720 is expected to be the only one.
*
* @return a Field39C object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field39C getField39C() {
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("39C");
if (t == null) {
log.fine("field 39C not found");
return null;
} else {
return new Field39C(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 41A,
* or null
if none is found.
* The first occurrence of field 41A at MT720 is expected to be the only one.
*
* @return a Field41A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field41A getField41A() {
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("41A");
if (t == null) {
log.fine("field 41A not found");
return null;
} else {
return new Field41A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 41D,
* or null
if none is found.
* The first occurrence of field 41D at MT720 is expected to be the only one.
*
* @return a Field41D object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field41D getField41D() {
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("41D");
if (t == null) {
log.fine("field 41D not found");
return null;
} else {
return new Field41D(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 42C,
* or null
if none is found.
* The first occurrence of field 42C at MT720 is expected to be the only one.
*
* @return a Field42C object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field42C getField42C() {
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("42C");
if (t == null) {
log.fine("field 42C not found");
return null;
} else {
return new Field42C(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 42A,
* or null
if none is found.
* The first occurrence of field 42A at MT720 is expected to be the only one.
*
* @return a Field42A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field42A getField42A() {
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("42A");
if (t == null) {
log.fine("field 42A not found");
return null;
} else {
return new Field42A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 42D,
* or null
if none is found.
* The first occurrence of field 42D at MT720 is expected to be the only one.
*
* @return a Field42D object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field42D getField42D() {
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("42D");
if (t == null) {
log.fine("field 42D not found");
return null;
} else {
return new Field42D(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 42M,
* or null
if none is found.
* The first occurrence of field 42M at MT720 is expected to be the only one.
*
* @return a Field42M object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field42M getField42M() {
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("42M");
if (t == null) {
log.fine("field 42M not found");
return null;
} else {
return new Field42M(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 42P,
* or null
if none is found.
* The first occurrence of field 42P at MT720 is expected to be the only one.
*
* @return a Field42P object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field42P getField42P() {
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("42P");
if (t == null) {
log.fine("field 42P not found");
return null;
} else {
return new Field42P(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 43P,
* or null
if none is found.
* The first occurrence of field 43P at MT720 is expected to be the only one.
*
* @return a Field43P object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field43P getField43P() {
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("43P");
if (t == null) {
log.fine("field 43P not found");
return null;
} else {
return new Field43P(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 43T,
* or null
if none is found.
* The first occurrence of field 43T at MT720 is expected to be the only one.
*
* @return a Field43T object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field43T getField43T() {
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("43T");
if (t == null) {
log.fine("field 43T not found");
return null;
} else {
return new Field43T(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44A,
* or null
if none is found.
* The first occurrence of field 44A at MT720 is expected to be the only one.
*
* @return a Field44A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44A getField44A() {
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("44A");
if (t == null) {
log.fine("field 44A not found");
return null;
} else {
return new Field44A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44E,
* or null
if none is found.
* The first occurrence of field 44E at MT720 is expected to be the only one.
*
* @return a Field44E object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44E getField44E() {
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("44E");
if (t == null) {
log.fine("field 44E not found");
return null;
} else {
return new Field44E(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44F,
* or null
if none is found.
* The first occurrence of field 44F at MT720 is expected to be the only one.
*
* @return a Field44F object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44F getField44F() {
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("44F");
if (t == null) {
log.fine("field 44F not found");
return null;
} else {
return new Field44F(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44B,
* or null
if none is found.
* The first occurrence of field 44B at MT720 is expected to be the only one.
*
* @return a Field44B object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44B getField44B() {
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("44B");
if (t == null) {
log.fine("field 44B not found");
return null;
} else {
return new Field44B(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44C,
* or null
if none is found.
* The first occurrence of field 44C at MT720 is expected to be the only one.
*
* @return a Field44C object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44C getField44C() {
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("44C");
if (t == null) {
log.fine("field 44C not found");
return null;
} else {
return new Field44C(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 44D,
* or null
if none is found.
* The first occurrence of field 44D at MT720 is expected to be the only one.
*
* @return a Field44D object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field44D getField44D() {
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("44D");
if (t == null) {
log.fine("field 44D not found");
return null;
} else {
return new Field44D(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 45A,
* or null
if none is found.
* The first occurrence of field 45A at MT720 is expected to be the only one.
*
* @return a Field45A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field45A getField45A() {
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("45A");
if (t == null) {
log.fine("field 45A not found");
return null;
} else {
return new Field45A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 46A,
* or null
if none is found.
* The first occurrence of field 46A at MT720 is expected to be the only one.
*
* @return a Field46A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field46A getField46A() {
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("46A");
if (t == null) {
log.fine("field 46A not found");
return null;
} else {
return new Field46A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 47A,
* or null
if none is found.
* The first occurrence of field 47A at MT720 is expected to be the only one.
*
* @return a Field47A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field47A getField47A() {
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("47A");
if (t == null) {
log.fine("field 47A not found");
return null;
} else {
return new Field47A(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 71B,
* or null
if none is found.
* The first occurrence of field 71B at MT720 is expected to be the only one.
*
* @return a Field71B object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field71B getField71B() {
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("71B");
if (t == null) {
log.fine("field 71B not found");
return null;
} else {
return new Field71B(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 48,
* or null
if none is found.
* The first occurrence of field 48 at MT720 is expected to be the only one.
*
* @return a Field48 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field48 getField48() {
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("48");
if (t == null) {
log.fine("field 48 not found");
return null;
} else {
return new Field48(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 49,
* or null
if none is found.
* The first occurrence of field 49 at MT720 is expected to be the only one.
*
* @return a Field49 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field49 getField49() {
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("49");
if (t == null) {
log.fine("field 49 not found");
return null;
} else {
return new Field49(t.getValue());
}
}
}
/**
* Iterates through block4 fields and return the first one whose name matches 78,
* or null
if none is found.
* The first occurrence of field 78 at MT720 is expected to be the only one.
*
* @return a Field78 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field78 getField78() {
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("78");
if (t == null) {
log.fine("field 78 not found");
return null;
} else {
return new Field78(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 MT720 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 MT720 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 57D,
* or null
if none is found.
* The first occurrence of field 57D at MT720 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 72,
* or null
if none is found.
* The first occurrence of field 72 at MT720 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());
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy