com.prowidesoftware.swift.model.mx.dic.MaintenanceDelegation10 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.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;
/**
* Information on the delegation of a maintenance action or maintenance function.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaintenanceDelegation10", propOrder = {
"dlgtnTp",
"mntncSvc",
"prtlDlgtn",
"poiSubset",
"dlgtdActn",
"dlgtnScpId",
"dlgtnScpDef",
"cert",
"poiIdAssoctn",
"smmtrcKey",
"paramDataSet"
})
public class MaintenanceDelegation10 {
@XmlElement(name = "DlgtnTp", required = true)
@XmlSchemaType(name = "string")
protected TerminalManagementAction3Code dlgtnTp;
@XmlElement(name = "MntncSvc", required = true)
@XmlSchemaType(name = "string")
protected List mntncSvc;
@XmlElement(name = "PrtlDlgtn")
protected Boolean prtlDlgtn;
@XmlElement(name = "POISubset")
protected List poiSubset;
@XmlElement(name = "DlgtdActn")
protected MaintenanceDelegateAction5 dlgtdActn;
@XmlElement(name = "DlgtnScpId")
protected String dlgtnScpId;
@XmlElement(name = "DlgtnScpDef")
protected byte[] dlgtnScpDef;
@XmlElement(name = "Cert")
protected List cert;
@XmlElement(name = "POIIdAssoctn")
protected List poiIdAssoctn;
@XmlElement(name = "SmmtrcKey")
protected List smmtrcKey;
@XmlElement(name = "ParamDataSet")
protected AcceptorConfigurationDataSet1 paramDataSet;
/**
* Gets the value of the dlgtnTp property.
*
* @return
* possible object is
* {@link TerminalManagementAction3Code }
*
*/
public TerminalManagementAction3Code getDlgtnTp() {
return dlgtnTp;
}
/**
* Sets the value of the dlgtnTp property.
*
* @param value
* allowed object is
* {@link TerminalManagementAction3Code }
*
*/
public MaintenanceDelegation10 setDlgtnTp(TerminalManagementAction3Code value) {
this.dlgtnTp = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 DataSetCategory15Code }
*
*
* @return
* The value of the mntncSvc property.
*/
public List getMntncSvc() {
if (mntncSvc == null) {
mntncSvc = new ArrayList<>();
}
return this.mntncSvc;
}
/**
* Gets the value of the prtlDlgtn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPrtlDlgtn() {
return prtlDlgtn;
}
/**
* Sets the value of the prtlDlgtn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public MaintenanceDelegation10 setPrtlDlgtn(Boolean value) {
this.prtlDlgtn = value;
return this;
}
/**
* Gets the value of the poiSubset 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the poiSubset property.
*
*
* For example, to add a new item, do as follows:
*
* getPOISubset().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the poiSubset property.
*/
public List getPOISubset() {
if (poiSubset == null) {
poiSubset = new ArrayList<>();
}
return this.poiSubset;
}
/**
* Gets the value of the dlgtdActn property.
*
* @return
* possible object is
* {@link MaintenanceDelegateAction5 }
*
*/
public MaintenanceDelegateAction5 getDlgtdActn() {
return dlgtdActn;
}
/**
* Sets the value of the dlgtdActn property.
*
* @param value
* allowed object is
* {@link MaintenanceDelegateAction5 }
*
*/
public MaintenanceDelegation10 setDlgtdActn(MaintenanceDelegateAction5 value) {
this.dlgtdActn = value;
return this;
}
/**
* Gets the value of the dlgtnScpId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDlgtnScpId() {
return dlgtnScpId;
}
/**
* Sets the value of the dlgtnScpId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public MaintenanceDelegation10 setDlgtnScpId(String value) {
this.dlgtnScpId = value;
return this;
}
/**
* Gets the value of the dlgtnScpDef property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getDlgtnScpDef() {
return dlgtnScpDef;
}
/**
* Sets the value of the dlgtnScpDef property.
*
* @param value
* allowed object is
* byte[]
*/
public MaintenanceDelegation10 setDlgtnScpDef(byte[] value) {
this.dlgtnScpDef = value;
return this;
}
/**
* Gets the value of the cert 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the cert property.
*
*
* For example, to add a new item, do as follows:
*
* getCert().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* byte[]
*
* @return
* The value of the cert property.
*/
public List getCert() {
if (cert == null) {
cert = new ArrayList<>();
}
return this.cert;
}
/**
* Gets the value of the poiIdAssoctn 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the poiIdAssoctn property.
*
*
* For example, to add a new item, do as follows:
*
* getPOIIdAssoctn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MaintenanceIdentificationAssociation1 }
*
*
* @return
* The value of the poiIdAssoctn property.
*/
public List getPOIIdAssoctn() {
if (poiIdAssoctn == null) {
poiIdAssoctn = new ArrayList<>();
}
return this.poiIdAssoctn;
}
/**
* Gets the value of the smmtrcKey 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the smmtrcKey property.
*
*
* For example, to add a new item, do as follows:
*
* getSmmtrcKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KEKIdentifier5 }
*
*
* @return
* The value of the smmtrcKey property.
*/
public List getSmmtrcKey() {
if (smmtrcKey == null) {
smmtrcKey = new ArrayList<>();
}
return this.smmtrcKey;
}
/**
* Gets the value of the paramDataSet property.
*
* @return
* possible object is
* {@link AcceptorConfigurationDataSet1 }
*
*/
public AcceptorConfigurationDataSet1 getParamDataSet() {
return paramDataSet;
}
/**
* Sets the value of the paramDataSet property.
*
* @param value
* allowed object is
* {@link AcceptorConfigurationDataSet1 }
*
*/
public MaintenanceDelegation10 setParamDataSet(AcceptorConfigurationDataSet1 value) {
this.paramDataSet = 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 MaintenanceDelegation10 addMntncSvc(DataSetCategory15Code mntncSvc) {
getMntncSvc().add(mntncSvc);
return this;
}
/**
* Adds a new item to the pOISubset list.
* @see #getPOISubset()
*
*/
public MaintenanceDelegation10 addPOISubset(String pOISubset) {
getPOISubset().add(pOISubset);
return this;
}
/**
* Adds a new item to the cert list.
* @see #getCert()
*
*/
public MaintenanceDelegation10 addCert(byte[] cert) {
getCert().add(cert);
return this;
}
/**
* Adds a new item to the pOIIdAssoctn list.
* @see #getPOIIdAssoctn()
*
*/
public MaintenanceDelegation10 addPOIIdAssoctn(MaintenanceIdentificationAssociation1 pOIIdAssoctn) {
getPOIIdAssoctn().add(pOIIdAssoctn);
return this;
}
/**
* Adds a new item to the smmtrcKey list.
* @see #getSmmtrcKey()
*
*/
public MaintenanceDelegation10 addSmmtrcKey(KEKIdentifier5 smmtrcKey) {
getSmmtrcKey().add(smmtrcKey);
return this;
}
}