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

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


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.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 to communicate with a host.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NetworkParameters5", propOrder = {
    "adr",
    "usrNm",
    "accsCd",
    "svrCert",
    "svrCertIdr",
    "clntCert",
    "sctyPrfl"
})
public class NetworkParameters5 {

    @XmlElement(name = "Adr", required = true)
    protected List adr;
    @XmlElement(name = "UsrNm")
    protected String usrNm;
    @XmlElement(name = "AccsCd")
    protected byte[] accsCd;
    @XmlElement(name = "SvrCert")
    protected List svrCert;
    @XmlElement(name = "SvrCertIdr")
    protected List svrCertIdr;
    @XmlElement(name = "ClntCert")
    protected List clntCert;
    @XmlElement(name = "SctyPrfl")
    protected String sctyPrfl;

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

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

     *    getAdr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NetworkParameters4 } * * * @return * The value of the adr property. */ public List getAdr() { if (adr == null) { adr = new ArrayList<>(); } return this.adr; } /** * Gets the value of the usrNm property. * * @return * possible object is * {@link String } * */ public String getUsrNm() { return usrNm; } /** * Sets the value of the usrNm property. * * @param value * allowed object is * {@link String } * */ public NetworkParameters5 setUsrNm(String value) { this.usrNm = value; return this; } /** * Gets the value of the accsCd property. * * @return * possible object is * byte[] */ public byte[] getAccsCd() { return accsCd; } /** * Sets the value of the accsCd property. * * @param value * allowed object is * byte[] */ public NetworkParameters5 setAccsCd(byte[] value) { this.accsCd = value; return this; } /** * Gets the value of the svrCert 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 svrCert property. * *

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

     *    getSvrCert().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * byte[] * * @return * The value of the svrCert property. */ public List getSvrCert() { if (svrCert == null) { svrCert = new ArrayList<>(); } return this.svrCert; } /** * Gets the value of the svrCertIdr 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 svrCertIdr property. * *

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

     *    getSvrCertIdr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * byte[] * * @return * The value of the svrCertIdr property. */ public List getSvrCertIdr() { if (svrCertIdr == null) { svrCertIdr = new ArrayList<>(); } return this.svrCertIdr; } /** * Gets the value of the clntCert 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 clntCert property. * *

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

     *    getClntCert().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * byte[] * * @return * The value of the clntCert property. */ public List getClntCert() { if (clntCert == null) { clntCert = new ArrayList<>(); } return this.clntCert; } /** * 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 NetworkParameters5 setSctyPrfl(String value) { this.sctyPrfl = 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 adr list. * @see #getAdr() * */ public NetworkParameters5 addAdr(NetworkParameters4 adr) { getAdr().add(adr); return this; } /** * Adds a new item to the svrCert list. * @see #getSvrCert() * */ public NetworkParameters5 addSvrCert(byte[] svrCert) { getSvrCert().add(svrCert); return this; } /** * Adds a new item to the svrCertIdr list. * @see #getSvrCertIdr() * */ public NetworkParameters5 addSvrCertIdr(byte[] svrCertIdr) { getSvrCertIdr().add(svrCertIdr); return this; } /** * Adds a new item to the clntCert list. * @see #getClntCert() * */ public NetworkParameters5 addClntCert(byte[] clntCert) { getClntCert().add(clntCert); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy