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.
......@@ -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")
......@@ -127,7 +127,7 @@ public class Cheque13 {
* {@link String }
*
*/
public LocalDate getIsseDt() {
public XMLGregorianCalendar getIsseDt() {
return isseDt;
}
......@@ -139,7 +139,7 @@ public class Cheque13 {
* {@link String }
*
*/
public Cheque13 setIsseDt(LocalDate value) {
public Cheque13 setIsseDt(XMLGregorianCalendar value) {
this.isseDt = value;
return this;
}
......@@ -152,7 +152,7 @@ public class Cheque13 {
* {@link String }
*
*/
public LocalDate getStlDt() {
public XMLGregorianCalendar getStlDt() {
return stlDt;
}
......@@ -164,7 +164,7 @@ public class Cheque13 {
* {@link String }
*
*/
public Cheque13 setStlDt(LocalDate value) {
public Cheque13 setStlDt(XMLGregorianCalendar value) {
this.stlDt = value;
return this;
}
......@@ -375,8 +375,8 @@ public class Cheque13 {
* <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:
......@@ -390,12 +390,10 @@ public class Cheque13 {
* {@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;
}
......
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