
com.prowidesoftware.swift.model.mx.dic.PointOfInteractionComponent9 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;
/**
* Data related to a component of the POI (Point Of Interaction) performing the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PointOfInteractionComponent9", propOrder = {
"tp",
"subTpInf",
"id",
"sts",
"stdCmplc",
"chrtcs",
"assmnt"
})
public class PointOfInteractionComponent9 {
@XmlElement(name = "Tp", required = true)
@XmlSchemaType(name = "string")
protected POIComponentType5Code tp;
@XmlElement(name = "SubTpInf")
protected String subTpInf;
@XmlElement(name = "Id", required = true)
protected PointOfInteractionComponentIdentification1 id;
@XmlElement(name = "Sts")
protected PointOfInteractionComponentStatus3 sts;
@XmlElement(name = "StdCmplc")
protected List stdCmplc;
@XmlElement(name = "Chrtcs")
protected PointOfInteractionComponentCharacteristics5 chrtcs;
@XmlElement(name = "Assmnt")
protected List assmnt;
/**
* Gets the value of the tp property.
*
* @return
* possible object is
* {@link POIComponentType5Code }
*
*/
public POIComponentType5Code getTp() {
return tp;
}
/**
* Sets the value of the tp property.
*
* @param value
* allowed object is
* {@link POIComponentType5Code }
*
*/
public PointOfInteractionComponent9 setTp(POIComponentType5Code value) {
this.tp = value;
return this;
}
/**
* Gets the value of the subTpInf property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubTpInf() {
return subTpInf;
}
/**
* Sets the value of the subTpInf property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PointOfInteractionComponent9 setSubTpInf(String value) {
this.subTpInf = value;
return this;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link PointOfInteractionComponentIdentification1 }
*
*/
public PointOfInteractionComponentIdentification1 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link PointOfInteractionComponentIdentification1 }
*
*/
public PointOfInteractionComponent9 setId(PointOfInteractionComponentIdentification1 value) {
this.id = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link PointOfInteractionComponentStatus3 }
*
*/
public PointOfInteractionComponentStatus3 getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link PointOfInteractionComponentStatus3 }
*
*/
public PointOfInteractionComponent9 setSts(PointOfInteractionComponentStatus3 value) {
this.sts = value;
return this;
}
/**
* Gets the value of the stdCmplc 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 stdCmplc property.
*
*
* For example, to add a new item, do as follows:
*
* getStdCmplc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GenericIdentification48 }
*
*
*/
public List getStdCmplc() {
if (stdCmplc == null) {
stdCmplc = new ArrayList();
}
return this.stdCmplc;
}
/**
* Gets the value of the chrtcs property.
*
* @return
* possible object is
* {@link PointOfInteractionComponentCharacteristics5 }
*
*/
public PointOfInteractionComponentCharacteristics5 getChrtcs() {
return chrtcs;
}
/**
* Sets the value of the chrtcs property.
*
* @param value
* allowed object is
* {@link PointOfInteractionComponentCharacteristics5 }
*
*/
public PointOfInteractionComponent9 setChrtcs(PointOfInteractionComponentCharacteristics5 value) {
this.chrtcs = value;
return this;
}
/**
* Gets the value of the assmnt 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 assmnt property.
*
*
* For example, to add a new item, do as follows:
*
* getAssmnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PointOfInteractionComponentAssessment1 }
*
*
*/
public List getAssmnt() {
if (assmnt == null) {
assmnt = new ArrayList();
}
return this.assmnt;
}
@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 stdCmplc list.
* @see #getStdCmplc()
*
*/
public PointOfInteractionComponent9 addStdCmplc(GenericIdentification48 stdCmplc) {
getStdCmplc().add(stdCmplc);
return this;
}
/**
* Adds a new item to the assmnt list.
* @see #getAssmnt()
*
*/
public PointOfInteractionComponent9 addAssmnt(PointOfInteractionComponentAssessment1 assmnt) {
getAssmnt().add(assmnt);
return this;
}
}