com.prowidesoftware.swift.model.mx.dic.StatusReportContent5 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Content of the status report.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusReportContent5", propOrder = {
"poiCpblties",
"poiCmpnt",
"attndncCntxt",
"poiDtTm",
"dataSetReqrd",
"evt",
"errs"
})
public class StatusReportContent5 {
@XmlElement(name = "POICpblties")
protected PointOfInteractionCapabilities6 poiCpblties;
@XmlElement(name = "POICmpnt")
protected List poiCmpnt;
@XmlElement(name = "AttndncCntxt")
@XmlSchemaType(name = "string")
protected AttendanceContext1Code attndncCntxt;
@XmlElement(name = "POIDtTm", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected OffsetDateTime poiDtTm;
@XmlElement(name = "DataSetReqrd")
protected TerminalManagementDataSet17 dataSetReqrd;
@XmlElement(name = "Evt")
protected List evt;
@XmlElement(name = "Errs")
protected List errs;
/**
* Gets the value of the poiCpblties property.
*
* @return
* possible object is
* {@link PointOfInteractionCapabilities6 }
*
*/
public PointOfInteractionCapabilities6 getPOICpblties() {
return poiCpblties;
}
/**
* Sets the value of the poiCpblties property.
*
* @param value
* allowed object is
* {@link PointOfInteractionCapabilities6 }
*
*/
public StatusReportContent5 setPOICpblties(PointOfInteractionCapabilities6 value) {
this.poiCpblties = value;
return this;
}
/**
* Gets the value of the poiCmpnt 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 poiCmpnt property.
*
*
* For example, to add a new item, do as follows:
*
* getPOICmpnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PointOfInteractionComponent6 }
*
*
* @return
* The value of the poiCmpnt property.
*/
public List getPOICmpnt() {
if (poiCmpnt == null) {
poiCmpnt = new ArrayList<>();
}
return this.poiCmpnt;
}
/**
* Gets the value of the attndncCntxt property.
*
* @return
* possible object is
* {@link AttendanceContext1Code }
*
*/
public AttendanceContext1Code getAttndncCntxt() {
return attndncCntxt;
}
/**
* Sets the value of the attndncCntxt property.
*
* @param value
* allowed object is
* {@link AttendanceContext1Code }
*
*/
public StatusReportContent5 setAttndncCntxt(AttendanceContext1Code value) {
this.attndncCntxt = value;
return this;
}
/**
* Gets the value of the poiDtTm property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getPOIDtTm() {
return poiDtTm;
}
/**
* Sets the value of the poiDtTm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public StatusReportContent5 setPOIDtTm(OffsetDateTime value) {
this.poiDtTm = value;
return this;
}
/**
* Gets the value of the dataSetReqrd property.
*
* @return
* possible object is
* {@link TerminalManagementDataSet17 }
*
*/
public TerminalManagementDataSet17 getDataSetReqrd() {
return dataSetReqrd;
}
/**
* Sets the value of the dataSetReqrd property.
*
* @param value
* allowed object is
* {@link TerminalManagementDataSet17 }
*
*/
public StatusReportContent5 setDataSetReqrd(TerminalManagementDataSet17 value) {
this.dataSetReqrd = value;
return this;
}
/**
* Gets the value of the evt 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 evt property.
*
*
* For example, to add a new item, do as follows:
*
* getEvt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TMSEvent4 }
*
*
* @return
* The value of the evt property.
*/
public List getEvt() {
if (evt == null) {
evt = new ArrayList<>();
}
return this.evt;
}
/**
* Gets the value of the errs 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 errs property.
*
*
* For example, to add a new item, do as follows:
*
* getErrs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the errs property.
*/
public List getErrs() {
if (errs == null) {
errs = new ArrayList<>();
}
return this.errs;
}
@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 pOICmpnt list.
* @see #getPOICmpnt()
*
*/
public StatusReportContent5 addPOICmpnt(PointOfInteractionComponent6 pOICmpnt) {
getPOICmpnt().add(pOICmpnt);
return this;
}
/**
* Adds a new item to the evt list.
* @see #getEvt()
*
*/
public StatusReportContent5 addEvt(TMSEvent4 evt) {
getEvt().add(evt);
return this;
}
/**
* Adds a new item to the errs list.
* @see #getErrs()
*
*/
public StatusReportContent5 addErrs(String errs) {
getErrs().add(errs);
return this;
}
}