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

com.prowidesoftware.swift.model.mx.sys.dic.DocPermssn Maven / Gradle / Ivy

There is a newer version: SRU2024-10.2.6
Show newest version

package com.prowidesoftware.swift.model.mx.sys.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.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;


/**
 * Java class for Permssn complex type.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Permssn", namespace = "urn:swift:snl:ns.Doc", propOrder = {
    "incl",
    "excl"
})
public class DocPermssn {

    @XmlElement(name = "Incl")
    protected List incl;
    @XmlElement(name = "Excl")
    protected List excl;

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

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

     *    getIncl().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getIncl() { if (incl == null) { incl = new ArrayList(); } return this.incl; } /** * Gets the value of the excl 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 excl property. * *

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

     *    getExcl().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getExcl() { if (excl == null) { excl = new ArrayList(); } return this.excl; } @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 incl list. * @see #getIncl() * */ public DocPermssn addIncl(String incl) { getIncl().add(incl); return this; } /** * Adds a new item to the excl list. * @see #getExcl() * */ public DocPermssn addExcl(String excl) { getExcl().add(excl); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy