
com.prowidesoftware.swift.model.mx.dic.TMSProtocolParameters1 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
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 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;
/**
* Configuration parameters of the TMS protocol between a POI and a terminal manager.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TMSProtocolParameters1", propOrder = {
"termnlMgrId",
"mntncSvc",
"vrsn",
"applId",
"hstAdr",
"hstKey",
"poiId",
"initgPtyId",
"rcptPtyId"
})
public class TMSProtocolParameters1 {
@XmlElement(name = "TermnlMgrId", required = true)
protected GenericIdentification71 termnlMgrId;
@XmlElement(name = "MntncSvc", required = true)
@XmlSchemaType(name = "string")
protected List mntncSvc;
@XmlElement(name = "Vrsn", required = true)
protected String vrsn;
@XmlElement(name = "ApplId")
protected List applId;
@XmlElement(name = "HstAdr")
protected NetworkParameters3 hstAdr;
@XmlElement(name = "HstKey")
protected List hstKey;
@XmlElement(name = "POIId")
protected String poiId;
@XmlElement(name = "InitgPtyId")
protected String initgPtyId;
@XmlElement(name = "RcptPtyId")
protected String rcptPtyId;
/**
* Gets the value of the termnlMgrId property.
*
* @return
* possible object is
* {@link GenericIdentification71 }
*
*/
public GenericIdentification71 getTermnlMgrId() {
return termnlMgrId;
}
/**
* Sets the value of the termnlMgrId property.
*
* @param value
* allowed object is
* {@link GenericIdentification71 }
*
*/
public TMSProtocolParameters1 setTermnlMgrId(GenericIdentification71 value) {
this.termnlMgrId = value;
return this;
}
/**
* Gets the value of the mntncSvc 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 mntncSvc property.
*
*
* For example, to add a new item, do as follows:
*
* getMntncSvc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataSetCategory5Code }
*
*
*/
public List getMntncSvc() {
if (mntncSvc == null) {
mntncSvc = new ArrayList();
}
return this.mntncSvc;
}
/**
* Gets the value of the vrsn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVrsn() {
return vrsn;
}
/**
* Sets the value of the vrsn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TMSProtocolParameters1 setVrsn(String value) {
this.vrsn = value;
return this;
}
/**
* Gets the value of the applId 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 applId property.
*
*
* For example, to add a new item, do as follows:
*
* getApplId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getApplId() {
if (applId == null) {
applId = new ArrayList();
}
return this.applId;
}
/**
* Gets the value of the hstAdr property.
*
* @return
* possible object is
* {@link NetworkParameters3 }
*
*/
public NetworkParameters3 getHstAdr() {
return hstAdr;
}
/**
* Sets the value of the hstAdr property.
*
* @param value
* allowed object is
* {@link NetworkParameters3 }
*
*/
public TMSProtocolParameters1 setHstAdr(NetworkParameters3 value) {
this.hstAdr = value;
return this;
}
/**
* Gets the value of the hstKey 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 hstKey property.
*
*
* For example, to add a new item, do as follows:
*
* getHstKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KEKIdentifier2 }
*
*
*/
public List getHstKey() {
if (hstKey == null) {
hstKey = new ArrayList();
}
return this.hstKey;
}
/**
* Gets the value of the poiId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPOIId() {
return poiId;
}
/**
* Sets the value of the poiId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TMSProtocolParameters1 setPOIId(String value) {
this.poiId = value;
return this;
}
/**
* Gets the value of the initgPtyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInitgPtyId() {
return initgPtyId;
}
/**
* Sets the value of the initgPtyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TMSProtocolParameters1 setInitgPtyId(String value) {
this.initgPtyId = value;
return this;
}
/**
* Gets the value of the rcptPtyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRcptPtyId() {
return rcptPtyId;
}
/**
* Sets the value of the rcptPtyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TMSProtocolParameters1 setRcptPtyId(String value) {
this.rcptPtyId = 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);
}
/**
* Adds a new item to the mntncSvc list.
* @see #getMntncSvc()
*
*/
public TMSProtocolParameters1 addMntncSvc(DataSetCategory5Code mntncSvc) {
getMntncSvc().add(mntncSvc);
return this;
}
/**
* Adds a new item to the applId list.
* @see #getApplId()
*
*/
public TMSProtocolParameters1 addApplId(String applId) {
getApplId().add(applId);
return this;
}
/**
* Adds a new item to the hstKey list.
* @see #getHstKey()
*
*/
public TMSProtocolParameters1 addHstKey(KEKIdentifier2 hstKey) {
getHstKey().add(hstKey);
return this;
}
}