com.prowidesoftware.swift.model.mx.dic.SecurityParameters16 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;
/**
* Parameters related to the security of software application and application protocol.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecurityParameters16", propOrder = {
"actnTp",
"vrsn",
"poiChllng",
"tmChllng",
"sctyElmt"
})
public class SecurityParameters16 {
@XmlElement(name = "ActnTp", required = true)
@XmlSchemaType(name = "string")
protected TerminalManagementAction3Code actnTp;
@XmlElement(name = "Vrsn", required = true)
protected String vrsn;
@XmlElement(name = "POIChllng")
protected byte[] poiChllng;
@XmlElement(name = "TMChllng")
protected byte[] tmChllng;
@XmlElement(name = "SctyElmt")
protected List sctyElmt;
/**
* Gets the value of the actnTp property.
*
* @return
* possible object is
* {@link TerminalManagementAction3Code }
*
*/
public TerminalManagementAction3Code getActnTp() {
return actnTp;
}
/**
* Sets the value of the actnTp property.
*
* @param value
* allowed object is
* {@link TerminalManagementAction3Code }
*
*/
public SecurityParameters16 setActnTp(TerminalManagementAction3Code value) {
this.actnTp = value;
return this;
}
/**
* 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 SecurityParameters16 setVrsn(String value) {
this.vrsn = value;
return this;
}
/**
* Gets the value of the poiChllng property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getPOIChllng() {
return poiChllng;
}
/**
* Sets the value of the poiChllng property.
*
* @param value
* allowed object is
* byte[]
*/
public SecurityParameters16 setPOIChllng(byte[] value) {
this.poiChllng = value;
return this;
}
/**
* Gets the value of the tmChllng property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getTMChllng() {
return tmChllng;
}
/**
* Sets the value of the tmChllng property.
*
* @param value
* allowed object is
* byte[]
*/
public SecurityParameters16 setTMChllng(byte[] value) {
this.tmChllng = value;
return this;
}
/**
* Gets the value of the sctyElmt 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 sctyElmt property.
*
*
* For example, to add a new item, do as follows:
*
* getSctyElmt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CryptographicKey18 }
*
*
* @return
* The value of the sctyElmt property.
*/
public List getSctyElmt() {
if (sctyElmt == null) {
sctyElmt = new ArrayList<>();
}
return this.sctyElmt;
}
@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 sctyElmt list.
* @see #getSctyElmt()
*
*/
public SecurityParameters16 addSctyElmt(CryptographicKey18 sctyElmt) {
getSctyElmt().add(sctyElmt);
return this;
}
}