Commit 86a0aa95 by lixinyi

107报文涉及类的更新

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