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

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

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

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;


/**
 * Firms or vendor maintained list of identifiers for the purpose of message routing.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Routing1", propOrder = {
    "list",
    "firm",
    "rtgTp"
})
public class Routing1 {

    @XmlElement(name = "List")
    protected List list;
    @XmlElement(name = "Firm")
    protected List firm;
    @XmlElement(name = "RtgTp", required = true)
    @XmlSchemaType(name = "string")
    protected RoutingType1Code rtgTp;

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

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

     *    getList().add(newItem);
     * 
* * *

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

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

     *    getFirm().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PartyIdentification23 } * * */ public List getFirm() { if (firm == null) { firm = new ArrayList(); } return this.firm; } /** * Gets the value of the rtgTp property. * * @return * possible object is * {@link RoutingType1Code } * */ public RoutingType1Code getRtgTp() { return rtgTp; } /** * Sets the value of the rtgTp property. * * @param value * allowed object is * {@link RoutingType1Code } * */ public Routing1 setRtgTp(RoutingType1Code value) { this.rtgTp = 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 list list. * @see #getList() * */ public Routing1 addList(String list) { getList().add(list); return this; } /** * Adds a new item to the firm list. * @see #getFirm() * */ public Routing1 addFirm(PartyIdentification23 firm) { getFirm().add(firm); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy