Commit 86a0aa95 by lixinyi

107报文涉及类的更新

parent 016ac10c
package com.prowidesoftware.swift.model.mx.dic; package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.prowidesoftware.swift.model.mx.adapter.IsoDateAdapter; import com.prowidesoftware.swift.model.mx.adapter.IsoDateAdapter;
import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import java.util.ArrayList;
import java.util.List;
/** /**
* Characteristics of a cheque instruction, such as cheque type or cheque number. * Characteristics of a cheque instruction, such as cheque type or cheque number.
* *
* *
* *
*/ */
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Cheque13", propOrder = { @XmlType(name = "Cheque13", propOrder = {
"instrId", "instrId",
"chqNb", "chqNb",
"isseDt", "isseDt",
"stlDt", "stlDt",
"amt", "amt",
"valDt", "valDt",
"pyer", "pyer",
"pyerAcct", "pyerAcct",
"drwrAgt", "drwrAgt",
"drwrAgtAcct", "drwrAgtAcct",
"pyee", "pyee",
"pyeeAcct", "pyeeAcct",
"instrForChqAgt" "instrForChqAgt"
}) })
public class Cheque13 { public class Cheque13 {
...@@ -43,13 +43,13 @@ public class Cheque13 { ...@@ -43,13 +43,13 @@ public class Cheque13 {
@XmlElement(name = "ChqNb", required = true) @XmlElement(name = "ChqNb", required = true)
protected String chqNb; protected String chqNb;
@XmlElement(name = "IsseDt", required = true, type = String.class) @XmlElement(name = "IsseDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class) @XmlJavaTypeAdapter(com.prowidesoftware.swift.model.mx.adapter.XMLGregorianCalendarAdapter.class)
@XmlSchemaType(name = "date") @XmlSchemaType(name = "date")
protected LocalDate isseDt; protected XMLGregorianCalendar isseDt;
@XmlElement(name = "StlDt", type = String.class) @XmlElement(name = "StlDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class) @XmlJavaTypeAdapter(com.prowidesoftware.swift.model.mx.adapter.XMLGregorianCalendarAdapter.class)
@XmlSchemaType(name = "date") @XmlSchemaType(name = "date")
protected LocalDate stlDt; protected XMLGregorianCalendar stlDt;
@XmlElement(name = "Amt", required = true) @XmlElement(name = "Amt", required = true)
protected ActiveCurrencyAndAmount amt; protected ActiveCurrencyAndAmount amt;
@XmlElement(name = "ValDt") @XmlElement(name = "ValDt")
...@@ -71,11 +71,11 @@ public class Cheque13 { ...@@ -71,11 +71,11 @@ public class Cheque13 {
/** /**
* Gets the value of the instrId property. * Gets the value of the instrId property.
* *
* @return * @return
* possible object is * possible object is
* {@link String } * {@link String }
* *
*/ */
public String getInstrId() { public String getInstrId() {
return instrId; return instrId;
...@@ -83,11 +83,11 @@ public class Cheque13 { ...@@ -83,11 +83,11 @@ public class Cheque13 {
/** /**
* Sets the value of the instrId property. * Sets the value of the instrId property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link String } * {@link String }
* *
*/ */
public Cheque13 setInstrId(String value) { public Cheque13 setInstrId(String value) {
this.instrId = value; this.instrId = value;
...@@ -96,11 +96,11 @@ public class Cheque13 { ...@@ -96,11 +96,11 @@ public class Cheque13 {
/** /**
* Gets the value of the chqNb property. * Gets the value of the chqNb property.
* *
* @return * @return
* possible object is * possible object is
* {@link String } * {@link String }
* *
*/ */
public String getChqNb() { public String getChqNb() {
return chqNb; return chqNb;
...@@ -108,11 +108,11 @@ public class Cheque13 { ...@@ -108,11 +108,11 @@ public class Cheque13 {
/** /**
* Sets the value of the chqNb property. * Sets the value of the chqNb property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link String } * {@link String }
* *
*/ */
public Cheque13 setChqNb(String value) { public Cheque13 setChqNb(String value) {
this.chqNb = value; this.chqNb = value;
...@@ -121,61 +121,61 @@ public class Cheque13 { ...@@ -121,61 +121,61 @@ public class Cheque13 {
/** /**
* Gets the value of the isseDt property. * Gets the value of the isseDt property.
* *
* @return * @return
* possible object is * possible object is
* {@link String } * {@link String }
* *
*/ */
public LocalDate getIsseDt() { public XMLGregorianCalendar getIsseDt() {
return isseDt; return isseDt;
} }
/** /**
* Sets the value of the isseDt property. * Sets the value of the isseDt property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link String } * {@link String }
* *
*/ */
public Cheque13 setIsseDt(LocalDate value) { public Cheque13 setIsseDt(XMLGregorianCalendar value) {
this.isseDt = value; this.isseDt = value;
return this; return this;
} }
/** /**
* Gets the value of the stlDt property. * Gets the value of the stlDt property.
* *
* @return * @return
* possible object is * possible object is
* {@link String } * {@link String }
* *
*/ */
public LocalDate getStlDt() { public XMLGregorianCalendar getStlDt() {
return stlDt; return stlDt;
} }
/** /**
* Sets the value of the stlDt property. * Sets the value of the stlDt property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link String } * {@link String }
* *
*/ */
public Cheque13 setStlDt(LocalDate value) { public Cheque13 setStlDt(XMLGregorianCalendar value) {
this.stlDt = value; this.stlDt = value;
return this; return this;
} }
/** /**
* Gets the value of the amt property. * Gets the value of the amt property.
* *
* @return * @return
* possible object is * possible object is
* {@link ActiveCurrencyAndAmount } * {@link ActiveCurrencyAndAmount }
* *
*/ */
public ActiveCurrencyAndAmount getAmt() { public ActiveCurrencyAndAmount getAmt() {
return amt; return amt;
...@@ -183,11 +183,11 @@ public class Cheque13 { ...@@ -183,11 +183,11 @@ public class Cheque13 {
/** /**
* Sets the value of the amt property. * Sets the value of the amt property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link ActiveCurrencyAndAmount } * {@link ActiveCurrencyAndAmount }
* *
*/ */
public Cheque13 setAmt(ActiveCurrencyAndAmount value) { public Cheque13 setAmt(ActiveCurrencyAndAmount value) {
this.amt = value; this.amt = value;
...@@ -196,11 +196,11 @@ public class Cheque13 { ...@@ -196,11 +196,11 @@ public class Cheque13 {
/** /**
* Gets the value of the valDt property. * Gets the value of the valDt property.
* *
* @return * @return
* possible object is * possible object is
* {@link DateAndDateTime2Choice } * {@link DateAndDateTime2Choice }
* *
*/ */
public DateAndDateTime2Choice getValDt() { public DateAndDateTime2Choice getValDt() {
return valDt; return valDt;
...@@ -208,11 +208,11 @@ public class Cheque13 { ...@@ -208,11 +208,11 @@ public class Cheque13 {
/** /**
* Sets the value of the valDt property. * Sets the value of the valDt property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link DateAndDateTime2Choice } * {@link DateAndDateTime2Choice }
* *
*/ */
public Cheque13 setValDt(DateAndDateTime2Choice value) { public Cheque13 setValDt(DateAndDateTime2Choice value) {
this.valDt = value; this.valDt = value;
...@@ -221,11 +221,11 @@ public class Cheque13 { ...@@ -221,11 +221,11 @@ public class Cheque13 {
/** /**
* Gets the value of the pyer property. * Gets the value of the pyer property.
* *
* @return * @return
* possible object is * possible object is
* {@link PartyIdentification135 } * {@link PartyIdentification135 }
* *
*/ */
public PartyIdentification135 getPyer() { public PartyIdentification135 getPyer() {
return pyer; return pyer;
...@@ -233,11 +233,11 @@ public class Cheque13 { ...@@ -233,11 +233,11 @@ public class Cheque13 {
/** /**
* Sets the value of the pyer property. * Sets the value of the pyer property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link PartyIdentification135 } * {@link PartyIdentification135 }
* *
*/ */
public Cheque13 setPyer(PartyIdentification135 value) { public Cheque13 setPyer(PartyIdentification135 value) {
this.pyer = value; this.pyer = value;
...@@ -246,11 +246,11 @@ public class Cheque13 { ...@@ -246,11 +246,11 @@ public class Cheque13 {
/** /**
* Gets the value of the pyerAcct property. * Gets the value of the pyerAcct property.
* *
* @return * @return
* possible object is * possible object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public CashAccount40 getPyerAcct() { public CashAccount40 getPyerAcct() {
return pyerAcct; return pyerAcct;
...@@ -258,11 +258,11 @@ public class Cheque13 { ...@@ -258,11 +258,11 @@ public class Cheque13 {
/** /**
* Sets the value of the pyerAcct property. * Sets the value of the pyerAcct property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public Cheque13 setPyerAcct(CashAccount40 value) { public Cheque13 setPyerAcct(CashAccount40 value) {
this.pyerAcct = value; this.pyerAcct = value;
...@@ -271,11 +271,11 @@ public class Cheque13 { ...@@ -271,11 +271,11 @@ public class Cheque13 {
/** /**
* Gets the value of the drwrAgt property. * Gets the value of the drwrAgt property.
* *
* @return * @return
* possible object is * possible object is
* {@link BranchAndFinancialInstitutionIdentification6 } * {@link BranchAndFinancialInstitutionIdentification6 }
* *
*/ */
public BranchAndFinancialInstitutionIdentification6 getDrwrAgt() { public BranchAndFinancialInstitutionIdentification6 getDrwrAgt() {
return drwrAgt; return drwrAgt;
...@@ -283,11 +283,11 @@ public class Cheque13 { ...@@ -283,11 +283,11 @@ public class Cheque13 {
/** /**
* Sets the value of the drwrAgt property. * Sets the value of the drwrAgt property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link BranchAndFinancialInstitutionIdentification6 } * {@link BranchAndFinancialInstitutionIdentification6 }
* *
*/ */
public Cheque13 setDrwrAgt(BranchAndFinancialInstitutionIdentification6 value) { public Cheque13 setDrwrAgt(BranchAndFinancialInstitutionIdentification6 value) {
this.drwrAgt = value; this.drwrAgt = value;
...@@ -296,11 +296,11 @@ public class Cheque13 { ...@@ -296,11 +296,11 @@ public class Cheque13 {
/** /**
* Gets the value of the drwrAgtAcct property. * Gets the value of the drwrAgtAcct property.
* *
* @return * @return
* possible object is * possible object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public CashAccount40 getDrwrAgtAcct() { public CashAccount40 getDrwrAgtAcct() {
return drwrAgtAcct; return drwrAgtAcct;
...@@ -308,11 +308,11 @@ public class Cheque13 { ...@@ -308,11 +308,11 @@ public class Cheque13 {
/** /**
* Sets the value of the drwrAgtAcct property. * Sets the value of the drwrAgtAcct property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public Cheque13 setDrwrAgtAcct(CashAccount40 value) { public Cheque13 setDrwrAgtAcct(CashAccount40 value) {
this.drwrAgtAcct = value; this.drwrAgtAcct = value;
...@@ -321,11 +321,11 @@ public class Cheque13 { ...@@ -321,11 +321,11 @@ public class Cheque13 {
/** /**
* Gets the value of the pyee property. * Gets the value of the pyee property.
* *
* @return * @return
* possible object is * possible object is
* {@link PartyIdentification135 } * {@link PartyIdentification135 }
* *
*/ */
public PartyIdentification135 getPyee() { public PartyIdentification135 getPyee() {
return pyee; return pyee;
...@@ -333,11 +333,11 @@ public class Cheque13 { ...@@ -333,11 +333,11 @@ public class Cheque13 {
/** /**
* Sets the value of the pyee property. * Sets the value of the pyee property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link PartyIdentification135 } * {@link PartyIdentification135 }
* *
*/ */
public Cheque13 setPyee(PartyIdentification135 value) { public Cheque13 setPyee(PartyIdentification135 value) {
this.pyee = value; this.pyee = value;
...@@ -346,11 +346,11 @@ public class Cheque13 { ...@@ -346,11 +346,11 @@ public class Cheque13 {
/** /**
* Gets the value of the pyeeAcct property. * Gets the value of the pyeeAcct property.
* *
* @return * @return
* possible object is * possible object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public CashAccount40 getPyeeAcct() { public CashAccount40 getPyeeAcct() {
return pyeeAcct; return pyeeAcct;
...@@ -358,11 +358,11 @@ public class Cheque13 { ...@@ -358,11 +358,11 @@ public class Cheque13 {
/** /**
* Sets the value of the pyeeAcct property. * Sets the value of the pyeeAcct property.
* *
* @param value * @param value
* allowed object is * allowed object is
* {@link CashAccount40 } * {@link CashAccount40 }
* *
*/ */
public Cheque13 setPyeeAcct(CashAccount40 value) { public Cheque13 setPyeeAcct(CashAccount40 value) {
this.pyeeAcct = value; this.pyeeAcct = value;
...@@ -371,31 +371,29 @@ public class Cheque13 { ...@@ -371,31 +371,29 @@ public class Cheque13 {
/** /**
* Gets the value of the instrForChqAgt property. * Gets the value of the instrForChqAgt property.
* *
* <p> * <p>
* This accessor method returns a reference to the live list, * This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the * not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object. * returned list will be present inside the JAXB object.
* This is why there is not a {@code set} method for the instrForChqAgt property. * This is why there is not a <CODE>set</CODE> method for the instrForChqAgt property.
* *
* <p> * <p>
* For example, to add a new item, do as follows: * For example, to add a new item, do as follows:
* <pre> * <pre>
* getInstrForChqAgt().add(newItem); * getInstrForChqAgt().add(newItem);
* </pre> * </pre>
* *
* *
* <p> * <p>
* Objects of the following type(s) are allowed in the list * Objects of the following type(s) are allowed in the list
* {@link InstructionForChequeAgent1 } * {@link InstructionForChequeAgent1 }
* *
* *
* @return
* The value of the instrForChqAgt property.
*/ */
public List<InstructionForChequeAgent1> getInstrForChqAgt() { public List<InstructionForChequeAgent1> getInstrForChqAgt() {
if (instrForChqAgt == null) { if (instrForChqAgt == null) {
instrForChqAgt = new ArrayList<>(); instrForChqAgt = new ArrayList<InstructionForChequeAgent1>();
} }
return this.instrForChqAgt; return this.instrForChqAgt;
} }
...@@ -418,11 +416,11 @@ public class Cheque13 { ...@@ -418,11 +416,11 @@ public class Cheque13 {
/** /**
* Adds a new item to the instrForChqAgt list. * Adds a new item to the instrForChqAgt list.
* @see #getInstrForChqAgt() * @see #getInstrForChqAgt()
* *
*/ */
public Cheque13 addInstrForChqAgt(InstructionForChequeAgent1 instrForChqAgt) { public Cheque13 addInstrForChqAgt(InstructionForChequeAgent1 instrForChqAgt) {
getInstrForChqAgt().add(instrForChqAgt); getInstrForChqAgt().add(instrForChqAgt);
return this; return this;
} }
} }
\ No newline at end of file
package com.prowidesoftware.swift.model.mx.dic; package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import com.prowidesoftware.swift.model.mx.adapter.IsoDateTimeAdapter; import com.prowidesoftware.swift.model.mx.adapter.IsoDateTimeAdapter;
import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
/** /**
* Set of characteristics shared by all individual cheques included in the message. * Set of characteristics shared by all individual cheques included in the message.
...@@ -31,9 +35,9 @@ public class GroupHeader103 { ...@@ -31,9 +35,9 @@ public class GroupHeader103 {
@XmlElement(name = "MsgId", required = true) @XmlElement(name = "MsgId", required = true)
protected String msgId; protected String msgId;
@XmlElement(name = "CreDtTm", required = true, type = String.class) @XmlElement(name = "CreDtTm", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class) @XmlJavaTypeAdapter(com.prowidesoftware.swift.model.mx.adapter.XMLGregorianCalendarAdapter.class)
@XmlSchemaType(name = "dateTime") @XmlSchemaType(name = "dateTime")
protected OffsetDateTime creDtTm; protected XMLGregorianCalendar creDtTm;
@XmlElement(name = "NbOfChqs", required = true) @XmlElement(name = "NbOfChqs", required = true)
protected String nbOfChqs; protected String nbOfChqs;
@XmlElement(name = "CtrlSum") @XmlElement(name = "CtrlSum")
...@@ -72,7 +76,7 @@ public class GroupHeader103 { ...@@ -72,7 +76,7 @@ public class GroupHeader103 {
* {@link String } * {@link String }
* *
*/ */
public OffsetDateTime getCreDtTm() { public XMLGregorianCalendar getCreDtTm() {
return creDtTm; return creDtTm;
} }
...@@ -84,7 +88,7 @@ public class GroupHeader103 { ...@@ -84,7 +88,7 @@ public class GroupHeader103 {
* {@link String } * {@link String }
* *
*/ */
public GroupHeader103 setCreDtTm(OffsetDateTime value) { public GroupHeader103 setCreDtTm(XMLGregorianCalendar value) {
this.creDtTm = value; this.creDtTm = value;
return this; return this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment