All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mx.dic.CryptographicKey14 Maven / Gradle / Ivy


package com.prowidesoftware.swift.model.mx.dic;

import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateTimeAdapter;
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 jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;


/**
 * Cryptographic Key.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CryptographicKey14", propOrder = {
    "id",
    "addtlId",
    "nm",
    "sctyPrfl",
    "itmNb",
    "vrsn",
    "tp",
    "fctn",
    "actvtnDt",
    "deactvtnDt",
    "keyVal",
    "keyChckVal",
    "addtlMgmtInf"
})
public class CryptographicKey14 {

    @XmlElement(name = "Id", required = true)
    protected String id;
    @XmlElement(name = "AddtlId")
    protected byte[] addtlId;
    @XmlElement(name = "Nm")
    protected String nm;
    @XmlElement(name = "SctyPrfl")
    protected String sctyPrfl;
    @XmlElement(name = "ItmNb")
    protected String itmNb;
    @XmlElement(name = "Vrsn", required = true)
    protected String vrsn;
    @XmlElement(name = "Tp")
    @XmlSchemaType(name = "string")
    protected CryptographicKeyType3Code tp;
    @XmlElement(name = "Fctn")
    @XmlSchemaType(name = "string")
    protected List fctn;
    @XmlElement(name = "ActvtnDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
    @XmlSchemaType(name = "dateTime")
    protected OffsetDateTime actvtnDt;
    @XmlElement(name = "DeactvtnDt", type = String.class)
    @XmlJavaTypeAdapter(IsoDateTimeAdapter.class)
    @XmlSchemaType(name = "dateTime")
    protected OffsetDateTime deactvtnDt;
    @XmlElement(name = "KeyVal")
    protected ContentInformationType23 keyVal;
    @XmlElement(name = "KeyChckVal")
    protected byte[] keyChckVal;
    @XmlElement(name = "AddtlMgmtInf")
    protected List addtlMgmtInf;

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public CryptographicKey14 setId(String value) {
        this.id = value;
        return this;
    }

    /**
     * Gets the value of the addtlId property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getAddtlId() {
        return addtlId;
    }

    /**
     * Sets the value of the addtlId property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public CryptographicKey14 setAddtlId(byte[] value) {
        this.addtlId = value;
        return this;
    }

    /**
     * Gets the value of the nm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNm() {
        return nm;
    }

    /**
     * Sets the value of the nm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public CryptographicKey14 setNm(String value) {
        this.nm = value;
        return this;
    }

    /**
     * Gets the value of the sctyPrfl property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSctyPrfl() {
        return sctyPrfl;
    }

    /**
     * Sets the value of the sctyPrfl property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public CryptographicKey14 setSctyPrfl(String value) {
        this.sctyPrfl = value;
        return this;
    }

    /**
     * Gets the value of the itmNb property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getItmNb() {
        return itmNb;
    }

    /**
     * Sets the value of the itmNb property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public CryptographicKey14 setItmNb(String value) {
        this.itmNb = 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 CryptographicKey14 setVrsn(String value) {
        this.vrsn = value;
        return this;
    }

    /**
     * Gets the value of the tp property.
     * 
     * @return
     *     possible object is
     *     {@link CryptographicKeyType3Code }
     *     
     */
    public CryptographicKeyType3Code getTp() {
        return tp;
    }

    /**
     * Sets the value of the tp property.
     * 
     * @param value
     *     allowed object is
     *     {@link CryptographicKeyType3Code }
     *     
     */
    public CryptographicKey14 setTp(CryptographicKeyType3Code value) {
        this.tp = value;
        return this;
    }

    /**
     * Gets the value of the fctn 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 fctn property. * *

* For example, to add a new item, do as follows: *

     *    getFctn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KeyUsage1Code } * * * @return * The value of the fctn property. */ public List getFctn() { if (fctn == null) { fctn = new ArrayList<>(); } return this.fctn; } /** * Gets the value of the actvtnDt property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getActvtnDt() { return actvtnDt; } /** * Sets the value of the actvtnDt property. * * @param value * allowed object is * {@link String } * */ public CryptographicKey14 setActvtnDt(OffsetDateTime value) { this.actvtnDt = value; return this; } /** * Gets the value of the deactvtnDt property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getDeactvtnDt() { return deactvtnDt; } /** * Sets the value of the deactvtnDt property. * * @param value * allowed object is * {@link String } * */ public CryptographicKey14 setDeactvtnDt(OffsetDateTime value) { this.deactvtnDt = value; return this; } /** * Gets the value of the keyVal property. * * @return * possible object is * {@link ContentInformationType23 } * */ public ContentInformationType23 getKeyVal() { return keyVal; } /** * Sets the value of the keyVal property. * * @param value * allowed object is * {@link ContentInformationType23 } * */ public CryptographicKey14 setKeyVal(ContentInformationType23 value) { this.keyVal = value; return this; } /** * Gets the value of the keyChckVal property. * * @return * possible object is * byte[] */ public byte[] getKeyChckVal() { return keyChckVal; } /** * Sets the value of the keyChckVal property. * * @param value * allowed object is * byte[] */ public CryptographicKey14 setKeyChckVal(byte[] value) { this.keyChckVal = value; return this; } /** * Gets the value of the addtlMgmtInf 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 addtlMgmtInf property. * *

* For example, to add a new item, do as follows: *

     *    getAddtlMgmtInf().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GenericInformation1 } * * * @return * The value of the addtlMgmtInf property. */ public List getAddtlMgmtInf() { if (addtlMgmtInf == null) { addtlMgmtInf = new ArrayList<>(); } return this.addtlMgmtInf; } @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 fctn list. * @see #getFctn() * */ public CryptographicKey14 addFctn(KeyUsage1Code fctn) { getFctn().add(fctn); return this; } /** * Adds a new item to the addtlMgmtInf list. * @see #getAddtlMgmtInf() * */ public CryptographicKey14 addAddtlMgmtInf(GenericInformation1 addtlMgmtInf) { getAddtlMgmtInf().add(addtlMgmtInf); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy