Commit 86a0aa95 by lixinyi

107报文涉及类的更新

parent 016ac10c
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