com.prowidesoftware.swift.model.mx.dic.Header4 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
package com.prowidesoftware.swift.model.mx.dic;
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.datatype.XMLGregorianCalendar;
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;
/**
* Set of characteristics related to the transfer of transactions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Header4", propOrder = {
"dwnldTrf",
"frmtVrsn",
"xchgId",
"creDtTm",
"initgPty",
"rcptPty"
})
public class Header4 {
@XmlElement(name = "DwnldTrf")
protected boolean dwnldTrf;
@XmlElement(name = "FrmtVrsn", required = true)
protected String frmtVrsn;
@XmlElement(name = "XchgId", required = true)
protected String xchgId;
@XmlElement(name = "CreDtTm", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar creDtTm;
@XmlElement(name = "InitgPty", required = true)
protected GenericIdentification35 initgPty;
@XmlElement(name = "RcptPty")
protected GenericIdentification35 rcptPty;
/**
* Gets the value of the dwnldTrf property.
*
*/
public boolean isDwnldTrf() {
return dwnldTrf;
}
/**
* Sets the value of the dwnldTrf property.
*
*/
public Header4 setDwnldTrf(boolean value) {
this.dwnldTrf = value;
return this;
}
/**
* Gets the value of the frmtVrsn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrmtVrsn() {
return frmtVrsn;
}
/**
* Sets the value of the frmtVrsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Header4 setFrmtVrsn(String value) {
this.frmtVrsn = value;
return this;
}
/**
* Gets the value of the xchgId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXchgId() {
return xchgId;
}
/**
* Sets the value of the xchgId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Header4 setXchgId(String value) {
this.xchgId = value;
return this;
}
/**
* Gets the value of the creDtTm property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreDtTm() {
return creDtTm;
}
/**
* Sets the value of the creDtTm property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public Header4 setCreDtTm(XMLGregorianCalendar value) {
this.creDtTm = value;
return this;
}
/**
* Gets the value of the initgPty property.
*
* @return
* possible object is
* {@link GenericIdentification35 }
*
*/
public GenericIdentification35 getInitgPty() {
return initgPty;
}
/**
* Sets the value of the initgPty property.
*
* @param value
* allowed object is
* {@link GenericIdentification35 }
*
*/
public Header4 setInitgPty(GenericIdentification35 value) {
this.initgPty = value;
return this;
}
/**
* Gets the value of the rcptPty property.
*
* @return
* possible object is
* {@link GenericIdentification35 }
*
*/
public GenericIdentification35 getRcptPty() {
return rcptPty;
}
/**
* Sets the value of the rcptPty property.
*
* @param value
* allowed object is
* {@link GenericIdentification35 }
*
*/
public Header4 setRcptPty(GenericIdentification35 value) {
this.rcptPty = value;
return this;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy