com.prowidesoftware.swift.model.mx.dic.DisplayCapabilities5 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 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;
/**
* Capabilities of the display components performing the transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DisplayCapabilities5", propOrder = {
"dstn",
"avlblFrmt",
"nbOfLines",
"lineWidth",
"avlblLang"
})
public class DisplayCapabilities5 {
@XmlElement(name = "Dstn", required = true)
@XmlSchemaType(name = "string")
protected List dstn;
@XmlElement(name = "AvlblFrmt")
@XmlSchemaType(name = "string")
protected List avlblFrmt;
@XmlElement(name = "NbOfLines")
protected BigDecimal nbOfLines;
@XmlElement(name = "LineWidth")
protected BigDecimal lineWidth;
@XmlElement(name = "AvlblLang")
protected List avlblLang;
/**
* Gets the value of the dstn 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 dstn property.
*
*
* For example, to add a new item, do as follows:
*
* getDstn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UserInterface5Code }
*
*
* @return
* The value of the dstn property.
*/
public List getDstn() {
if (dstn == null) {
dstn = new ArrayList<>();
}
return this.dstn;
}
/**
* Gets the value of the avlblFrmt 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 avlblFrmt property.
*
*
* For example, to add a new item, do as follows:
*
* getAvlblFrmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OutputFormat1Code }
*
*
* @return
* The value of the avlblFrmt property.
*/
public List getAvlblFrmt() {
if (avlblFrmt == null) {
avlblFrmt = new ArrayList<>();
}
return this.avlblFrmt;
}
/**
* Gets the value of the nbOfLines property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNbOfLines() {
return nbOfLines;
}
/**
* Sets the value of the nbOfLines property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DisplayCapabilities5 setNbOfLines(BigDecimal value) {
this.nbOfLines = value;
return this;
}
/**
* Gets the value of the lineWidth property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLineWidth() {
return lineWidth;
}
/**
* Sets the value of the lineWidth property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public DisplayCapabilities5 setLineWidth(BigDecimal value) {
this.lineWidth = value;
return this;
}
/**
* Gets the value of the avlblLang 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 avlblLang property.
*
*
* For example, to add a new item, do as follows:
*
* getAvlblLang().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the avlblLang property.
*/
public List getAvlblLang() {
if (avlblLang == null) {
avlblLang = new ArrayList<>();
}
return this.avlblLang;
}
@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 dstn list.
* @see #getDstn()
*
*/
public DisplayCapabilities5 addDstn(UserInterface5Code dstn) {
getDstn().add(dstn);
return this;
}
/**
* Adds a new item to the avlblFrmt list.
* @see #getAvlblFrmt()
*
*/
public DisplayCapabilities5 addAvlblFrmt(OutputFormat1Code avlblFrmt) {
getAvlblFrmt().add(avlblFrmt);
return this;
}
/**
* Adds a new item to the avlblLang list.
* @see #getAvlblLang()
*
*/
public DisplayCapabilities5 addAvlblLang(String avlblLang) {
getAvlblLang().add(avlblLang);
return this;
}
}