com.prowidesoftware.swift.model.mx.dic.Header36 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
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 protocol.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Header36", propOrder = {
"msgFctn",
"prtcolVrsn",
"xchgId",
"reTrnsmssnCntr",
"creDtTm",
"initgPty",
"rcptPty",
"tracblt"
})
public class Header36 {
@XmlElement(name = "MsgFctn", required = true)
@XmlSchemaType(name = "string")
protected MessageFunction14Code msgFctn;
@XmlElement(name = "PrtcolVrsn", required = true)
protected String prtcolVrsn;
@XmlElement(name = "XchgId", required = true)
protected BigDecimal xchgId;
@XmlElement(name = "ReTrnsmssnCntr")
protected String reTrnsmssnCntr;
@XmlElement(name = "CreDtTm", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar creDtTm;
@XmlElement(name = "InitgPty", required = true)
protected GenericIdentification53 initgPty;
@XmlElement(name = "RcptPty")
protected GenericIdentification94 rcptPty;
@XmlElement(name = "Tracblt")
protected List tracblt;
/**
* Gets the value of the msgFctn property.
*
* @return
* possible object is
* {@link MessageFunction14Code }
*
*/
public MessageFunction14Code getMsgFctn() {
return msgFctn;
}
/**
* Sets the value of the msgFctn property.
*
* @param value
* allowed object is
* {@link MessageFunction14Code }
*
*/
public Header36 setMsgFctn(MessageFunction14Code value) {
this.msgFctn = value;
return this;
}
/**
* Gets the value of the prtcolVrsn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrtcolVrsn() {
return prtcolVrsn;
}
/**
* Sets the value of the prtcolVrsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Header36 setPrtcolVrsn(String value) {
this.prtcolVrsn = value;
return this;
}
/**
* Gets the value of the xchgId property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getXchgId() {
return xchgId;
}
/**
* Sets the value of the xchgId property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Header36 setXchgId(BigDecimal value) {
this.xchgId = value;
return this;
}
/**
* Gets the value of the reTrnsmssnCntr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReTrnsmssnCntr() {
return reTrnsmssnCntr;
}
/**
* Sets the value of the reTrnsmssnCntr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Header36 setReTrnsmssnCntr(String value) {
this.reTrnsmssnCntr = 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 Header36 setCreDtTm(XMLGregorianCalendar value) {
this.creDtTm = value;
return this;
}
/**
* Gets the value of the initgPty property.
*
* @return
* possible object is
* {@link GenericIdentification53 }
*
*/
public GenericIdentification53 getInitgPty() {
return initgPty;
}
/**
* Sets the value of the initgPty property.
*
* @param value
* allowed object is
* {@link GenericIdentification53 }
*
*/
public Header36 setInitgPty(GenericIdentification53 value) {
this.initgPty = value;
return this;
}
/**
* Gets the value of the rcptPty property.
*
* @return
* possible object is
* {@link GenericIdentification94 }
*
*/
public GenericIdentification94 getRcptPty() {
return rcptPty;
}
/**
* Sets the value of the rcptPty property.
*
* @param value
* allowed object is
* {@link GenericIdentification94 }
*
*/
public Header36 setRcptPty(GenericIdentification94 value) {
this.rcptPty = value;
return this;
}
/**
* Gets the value of the tracblt property.
*
*
* 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 JAXB object.
* This is why there is not a set
method for the tracblt property.
*
*
* For example, to add a new item, do as follows:
*
* getTracblt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Traceability5 }
*
*
*/
public List getTracblt() {
if (tracblt == null) {
tracblt = new ArrayList();
}
return this.tracblt;
}
@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);
}
/**
* Adds a new item to the tracblt list.
* @see #getTracblt()
*
*/
public Header36 addTracblt(Traceability5 tracblt) {
getTracblt().add(tracblt);
return this;
}
}