com.prowidesoftware.swift.model.mx.dic.ATMSecurityContext1 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;
/**
* Information related to security commands.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ATMSecurityContext1", propOrder = {
"curSctySchme",
"sctySchmeCpblties",
"sctyDvc",
"key",
"hstChllng"
})
public class ATMSecurityContext1 {
@XmlElement(name = "CurSctySchme", required = true)
@XmlSchemaType(name = "string")
protected ATMSecurityScheme1Code curSctySchme;
@XmlElement(name = "SctySchmeCpblties")
@XmlSchemaType(name = "string")
protected List sctySchmeCpblties;
@XmlElement(name = "SctyDvc", required = true)
protected ATMSecurityDevice1 sctyDvc;
@XmlElement(name = "Key")
protected List key;
@XmlElement(name = "HstChllng")
protected byte[] hstChllng;
/**
* Gets the value of the curSctySchme property.
*
* @return
* possible object is
* {@link ATMSecurityScheme1Code }
*
*/
public ATMSecurityScheme1Code getCurSctySchme() {
return curSctySchme;
}
/**
* Sets the value of the curSctySchme property.
*
* @param value
* allowed object is
* {@link ATMSecurityScheme1Code }
*
*/
public ATMSecurityContext1 setCurSctySchme(ATMSecurityScheme1Code value) {
this.curSctySchme = value;
return this;
}
/**
* Gets the value of the sctySchmeCpblties 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 sctySchmeCpblties property.
*
*
* For example, to add a new item, do as follows:
*
* getSctySchmeCpblties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ATMSecurityScheme2Code }
*
*
*/
public List getSctySchmeCpblties() {
if (sctySchmeCpblties == null) {
sctySchmeCpblties = new ArrayList();
}
return this.sctySchmeCpblties;
}
/**
* Gets the value of the sctyDvc property.
*
* @return
* possible object is
* {@link ATMSecurityDevice1 }
*
*/
public ATMSecurityDevice1 getSctyDvc() {
return sctyDvc;
}
/**
* Sets the value of the sctyDvc property.
*
* @param value
* allowed object is
* {@link ATMSecurityDevice1 }
*
*/
public ATMSecurityContext1 setSctyDvc(ATMSecurityDevice1 value) {
this.sctyDvc = value;
return this;
}
/**
* Gets the value of the key 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 key property.
*
*
* For example, to add a new item, do as follows:
*
* getKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CryptographicKey7 }
*
*
*/
public List getKey() {
if (key == null) {
key = new ArrayList();
}
return this.key;
}
/**
* Gets the value of the hstChllng property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getHstChllng() {
return hstChllng;
}
/**
* Sets the value of the hstChllng property.
*
* @param value
* allowed object is
* byte[]
*/
public ATMSecurityContext1 setHstChllng(byte[] value) {
this.hstChllng = 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 sctySchmeCpblties list.
* @see #getSctySchmeCpblties()
*
*/
public ATMSecurityContext1 addSctySchmeCpblties(ATMSecurityScheme2Code sctySchmeCpblties) {
getSctySchmeCpblties().add(sctySchmeCpblties);
return this;
}
/**
* Adds a new item to the key list.
* @see #getKey()
*
*/
public ATMSecurityContext1 addKey(CryptographicKey7 key) {
getKey().add(key);
return this;
}
}