com.prowidesoftware.swift.model.mx.dic.Recipient2Choice Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
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;
/**
* Transport key or key encryption key (KEK) for the recipient.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Recipient2Choice", propOrder = {
"keyTrnsprt",
"kek"
})
public class Recipient2Choice {
@XmlElement(name = "KeyTrnsprt")
protected KeyTransport2 keyTrnsprt;
@XmlElement(name = "KEK")
protected KEK2 kek;
/**
* Gets the value of the keyTrnsprt property.
*
* @return
* possible object is
* {@link KeyTransport2 }
*
*/
public KeyTransport2 getKeyTrnsprt() {
return keyTrnsprt;
}
/**
* Sets the value of the keyTrnsprt property.
*
* @param value
* allowed object is
* {@link KeyTransport2 }
*
*/
public Recipient2Choice setKeyTrnsprt(KeyTransport2 value) {
this.keyTrnsprt = value;
return this;
}
/**
* Gets the value of the kek property.
*
* @return
* possible object is
* {@link KEK2 }
*
*/
public KEK2 getKEK() {
return kek;
}
/**
* Sets the value of the kek property.
*
* @param value
* allowed object is
* {@link KEK2 }
*
*/
public Recipient2Choice setKEK(KEK2 value) {
this.kek = 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy