
com.prowidesoftware.swift.model.mt.mt7xx.MT705 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 705
*
*
* NOTE: this source code has been generated from template
*
* @author www.prowidesoftware.com
*/
public class MT705 extends AbstractMT implements Serializable {
private static final long serialVersionUID = 1L;
private static transient final java.util.logging.Logger log = java.util.logging.Logger.getLogger(MT705.class.getName());
/**
* Creates an MT705 initialized with the parameter SwiftMessage
* @param m swift message with the MT705 content
*/
public MT705(SwiftMessage m) {
super(m);
}
/**
* Creates an MT705 initialized with a new SwiftMessage
*/
public MT705() {
super();
}
/**
* Returns this MT number
* @return the message type number of this MT
* @since 6.4
*/
@Override
public String getMessageType() {
return "705";
}
/**
* Iterates through block4 fields and return the first one whose name matches 40A,
* or null
if none is found.
* The first occurrence of field 40A at MT705 is expected to be the only one.
*
* @return a Field40A object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field40A getField40A() {
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("40A");
if (t == null) {
log.fine("field 40A not found");
return null;
} else {
return new Field40A(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 MT705 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 31D,
* or null
if none is found.
* The first occurrence of field 31D at MT705 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 50,
* or null
if none is found.
* The first occurrence of field 50 at MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 44A,
* or null
if none is found.
* The first occurrence of field 44A at MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 MT705 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 57A,
* or null
if none is found.
* The first occurrence of field 57A at MT705 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 MT705 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 MT705 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 79,
* or null
if none is found.
* The first occurrence of field 79 at MT705 is expected to be the only one.
*
* @return a Field79 object or null
if the field is not found
* @see SwiftTagListBlock#getTagByName(String)
* @throws IllegalStateException if SwiftMessage object is not initialized
*/
public Field79 getField79() {
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("79");
if (t == null) {
log.fine("field 79 not found");
return null;
} else {
return new Field79(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 MT705 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