org.smooks.edifact.binding.d17a.COLREQ Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d17a-edifact-binding
* %%
* Copyright (C) 2020 - 2025 Smooks
* %%
* Licensed under the terms of the Apache License Version 2.0, or
* the GNU Lesser General Public License version 3.0 or later.
*
* SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-or-later
*
* ======================================================================
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ======================================================================
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* =========================LICENSE_END==================================
*/
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.04 at 11:56:14 AM UTC
//
package org.smooks.edifact.binding.d17a;
import java.util.ArrayList;
import java.util.Collection;
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;
/**
* Java class for COLREQ complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COLREQ">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}BGM-BeginningOfMessage"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="FCA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FCA-FinancialChargesAllocation"/>
* <element name="DOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DOC-DocumentMessageDetails" maxOccurs="40"/>
* <element name="INP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}INP-PartiesAndInstruction" maxOccurs="20" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="15" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="7">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="FII" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FII-FinancialInstitutionInformation"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="5" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-2" maxOccurs="9">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="3" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="5" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-3">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="PYT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PYT-PaymentTerms"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-4" maxOccurs="5">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="MOA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MOA-MonetaryAmount"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="3" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-6" maxOccurs="10" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation"/>
* <element name="MOA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MOA-MonetaryAmount" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="2" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" minOccurs="0"/>
* <element name="RCS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RCS-RequirementsAndConditions" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="10" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-7" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="AUT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}AUT-AuthenticationResult"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COLREQ", propOrder = {
"bgm",
"dtm",
"fca",
"doc",
"inp",
"ftx",
"segGrp1",
"segGrp2",
"segGrp3",
"segGrp4",
"segGrp5",
"segGrp6",
"segGrp7"
})
public class COLREQ {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod dtm;
@XmlElement(name = "FCA", required = true)
protected FCAFinancialChargesAllocation fca;
@XmlElement(name = "DOC", required = true)
protected List doc;
@XmlElement(name = "INP")
protected List inp;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-1", required = true)
protected List segGrp1;
@XmlElement(name = "SegGrp-2", required = true)
protected List segGrp2;
@XmlElement(name = "SegGrp-3", required = true)
protected COLREQ.SegGrp3 segGrp3;
@XmlElement(name = "SegGrp-4", required = true)
protected List segGrp4;
@XmlElement(name = "SegGrp-5")
protected COLREQ.SegGrp5 segGrp5;
@XmlElement(name = "SegGrp-6")
protected List segGrp6;
@XmlElement(name = "SegGrp-7")
protected COLREQ.SegGrp7 segGrp7;
/**
* Gets the value of the bgm property.
*
* @return
* possible object is
* {@link BGMBeginningOfMessage }
*
*/
public BGMBeginningOfMessage getBGM() {
return bgm;
}
/**
* Sets the value of the bgm property.
*
* @param value
* allowed object is
* {@link BGMBeginningOfMessage }
*
*/
public void setBGM(BGMBeginningOfMessage value) {
this.bgm = value;
}
/**
* Gets the value of the dtm property.
*
* @return
* possible object is
* {@link DTMDateTimePeriod }
*
*/
public DTMDateTimePeriod getDTM() {
return dtm;
}
/**
* Sets the value of the dtm property.
*
* @param value
* allowed object is
* {@link DTMDateTimePeriod }
*
*/
public void setDTM(DTMDateTimePeriod value) {
this.dtm = value;
}
/**
* Gets the value of the fca property.
*
* @return
* possible object is
* {@link FCAFinancialChargesAllocation }
*
*/
public FCAFinancialChargesAllocation getFCA() {
return fca;
}
/**
* Sets the value of the fca property.
*
* @param value
* allowed object is
* {@link FCAFinancialChargesAllocation }
*
*/
public void setFCA(FCAFinancialChargesAllocation value) {
this.fca = value;
}
/**
* Gets the value of the doc 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 set
method for the doc property.
*
*
* For example, to add a new item, do as follows:
*
* getDOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DOCDocumentMessageDetails }
*
*
*/
public List getDOC() {
if (doc == null) {
doc = new ArrayList();
}
return this.doc;
}
/**
* Gets the value of the inp 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 set
method for the inp property.
*
*
* For example, to add a new item, do as follows:
*
* getINP().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link INPPartiesAndInstruction }
*
*
*/
public List getINP() {
if (inp == null) {
inp = new ArrayList();
}
return this.inp;
}
/**
* Gets the value of the ftx 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 set
method for the ftx property.
*
*
* For example, to add a new item, do as follows:
*
* getFTX().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FTXFreeText }
*
*
*/
public List getFTX() {
if (ftx == null) {
ftx = new ArrayList();
}
return this.ftx;
}
/**
* Gets the value of the segGrp1 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 set
method for the segGrp1 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp1().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COLREQ.SegGrp1 }
*
*
*/
public List getSegGrp1() {
if (segGrp1 == null) {
segGrp1 = new ArrayList();
}
return this.segGrp1;
}
/**
* Gets the value of the segGrp2 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 set
method for the segGrp2 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp2().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COLREQ.SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
/**
* Gets the value of the segGrp3 property.
*
* @return
* possible object is
* {@link COLREQ.SegGrp3 }
*
*/
public COLREQ.SegGrp3 getSegGrp3() {
return segGrp3;
}
/**
* Sets the value of the segGrp3 property.
*
* @param value
* allowed object is
* {@link COLREQ.SegGrp3 }
*
*/
public void setSegGrp3(COLREQ.SegGrp3 value) {
this.segGrp3 = value;
}
/**
* Gets the value of the segGrp4 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 set
method for the segGrp4 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp4().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COLREQ.SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
/**
* Gets the value of the segGrp5 property.
*
* @return
* possible object is
* {@link COLREQ.SegGrp5 }
*
*/
public COLREQ.SegGrp5 getSegGrp5() {
return segGrp5;
}
/**
* Sets the value of the segGrp5 property.
*
* @param value
* allowed object is
* {@link COLREQ.SegGrp5 }
*
*/
public void setSegGrp5(COLREQ.SegGrp5 value) {
this.segGrp5 = value;
}
/**
* Gets the value of the segGrp6 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 set
method for the segGrp6 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp6().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COLREQ.SegGrp6 }
*
*
*/
public List getSegGrp6() {
if (segGrp6 == null) {
segGrp6 = new ArrayList();
}
return this.segGrp6;
}
/**
* Gets the value of the segGrp7 property.
*
* @return
* possible object is
* {@link COLREQ.SegGrp7 }
*
*/
public COLREQ.SegGrp7 getSegGrp7() {
return segGrp7;
}
/**
* Sets the value of the segGrp7 property.
*
* @param value
* allowed object is
* {@link COLREQ.SegGrp7 }
*
*/
public void setSegGrp7(COLREQ.SegGrp7 value) {
this.segGrp7 = value;
}
public COLREQ withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public COLREQ withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public COLREQ withFCA(FCAFinancialChargesAllocation value) {
setFCA(value);
return this;
}
public COLREQ withDOC(DOCDocumentMessageDetails... values) {
if (values!= null) {
for (DOCDocumentMessageDetails value: values) {
getDOC().add(value);
}
}
return this;
}
public COLREQ withDOC(Collection values) {
if (values!= null) {
getDOC().addAll(values);
}
return this;
}
public COLREQ withINP(INPPartiesAndInstruction... values) {
if (values!= null) {
for (INPPartiesAndInstruction value: values) {
getINP().add(value);
}
}
return this;
}
public COLREQ withINP(Collection values) {
if (values!= null) {
getINP().addAll(values);
}
return this;
}
public COLREQ withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public COLREQ withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public COLREQ withSegGrp1(COLREQ.SegGrp1 ... values) {
if (values!= null) {
for (COLREQ.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public COLREQ withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public COLREQ withSegGrp2(COLREQ.SegGrp2 ... values) {
if (values!= null) {
for (COLREQ.SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public COLREQ withSegGrp2(Collection values) {
if (values!= null) {
getSegGrp2().addAll(values);
}
return this;
}
public COLREQ withSegGrp3(COLREQ.SegGrp3 value) {
setSegGrp3(value);
return this;
}
public COLREQ withSegGrp4(COLREQ.SegGrp4 ... values) {
if (values!= null) {
for (COLREQ.SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public COLREQ withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().addAll(values);
}
return this;
}
public COLREQ withSegGrp5(COLREQ.SegGrp5 value) {
setSegGrp5(value);
return this;
}
public COLREQ withSegGrp6(COLREQ.SegGrp6 ... values) {
if (values!= null) {
for (COLREQ.SegGrp6 value: values) {
getSegGrp6().add(value);
}
}
return this;
}
public COLREQ withSegGrp6(Collection values) {
if (values!= null) {
getSegGrp6().addAll(values);
}
return this;
}
public COLREQ withSegGrp7(COLREQ.SegGrp7 value) {
setSegGrp7(value);
return this;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="FII" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FII-FinancialInstitutionInformation"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="5" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"fii",
"rff",
"cta",
"com"
})
public static class SegGrp1 {
@XmlElement(name = "FII", required = true)
protected FIIFinancialInstitutionInformation fii;
@XmlElement(name = "RFF")
protected RFFReference rff;
@XmlElement(name = "CTA")
protected CTAContactInformation cta;
@XmlElement(name = "COM")
protected List com;
/**
* Gets the value of the fii property.
*
* @return
* possible object is
* {@link FIIFinancialInstitutionInformation }
*
*/
public FIIFinancialInstitutionInformation getFII() {
return fii;
}
/**
* Sets the value of the fii property.
*
* @param value
* allowed object is
* {@link FIIFinancialInstitutionInformation }
*
*/
public void setFII(FIIFinancialInstitutionInformation value) {
this.fii = value;
}
/**
* Gets the value of the rff property.
*
* @return
* possible object is
* {@link RFFReference }
*
*/
public RFFReference getRFF() {
return rff;
}
/**
* Sets the value of the rff property.
*
* @param value
* allowed object is
* {@link RFFReference }
*
*/
public void setRFF(RFFReference value) {
this.rff = value;
}
/**
* Gets the value of the cta property.
*
* @return
* possible object is
* {@link CTAContactInformation }
*
*/
public CTAContactInformation getCTA() {
return cta;
}
/**
* Sets the value of the cta property.
*
* @param value
* allowed object is
* {@link CTAContactInformation }
*
*/
public void setCTA(CTAContactInformation value) {
this.cta = value;
}
/**
* Gets the value of the com 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 set
method for the com property.
*
*
* For example, to add a new item, do as follows:
*
* getCOM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COMCommunicationContact }
*
*
*/
public List getCOM() {
if (com == null) {
com = new ArrayList();
}
return this.com;
}
public COLREQ.SegGrp1 withFII(FIIFinancialInstitutionInformation value) {
setFII(value);
return this;
}
public COLREQ.SegGrp1 withRFF(RFFReference value) {
setRFF(value);
return this;
}
public COLREQ.SegGrp1 withCTA(CTAContactInformation value) {
setCTA(value);
return this;
}
public COLREQ.SegGrp1 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public COLREQ.SegGrp1 withCOM(Collection values) {
if (values!= null) {
getCOM().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="3" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="5" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"nad",
"rff",
"cta",
"com"
})
public static class SegGrp2 {
@XmlElement(name = "NAD", required = true)
protected NADNameAndAddress nad;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "CTA")
protected CTAContactInformation cta;
@XmlElement(name = "COM")
protected List com;
/**
* Gets the value of the nad property.
*
* @return
* possible object is
* {@link NADNameAndAddress }
*
*/
public NADNameAndAddress getNAD() {
return nad;
}
/**
* Sets the value of the nad property.
*
* @param value
* allowed object is
* {@link NADNameAndAddress }
*
*/
public void setNAD(NADNameAndAddress value) {
this.nad = value;
}
/**
* Gets the value of the rff 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 set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the cta property.
*
* @return
* possible object is
* {@link CTAContactInformation }
*
*/
public CTAContactInformation getCTA() {
return cta;
}
/**
* Sets the value of the cta property.
*
* @param value
* allowed object is
* {@link CTAContactInformation }
*
*/
public void setCTA(CTAContactInformation value) {
this.cta = value;
}
/**
* Gets the value of the com 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 set
method for the com property.
*
*
* For example, to add a new item, do as follows:
*
* getCOM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COMCommunicationContact }
*
*
*/
public List getCOM() {
if (com == null) {
com = new ArrayList();
}
return this.com;
}
public COLREQ.SegGrp2 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
public COLREQ.SegGrp2 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public COLREQ.SegGrp2 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public COLREQ.SegGrp2 withCTA(CTAContactInformation value) {
setCTA(value);
return this;
}
public COLREQ.SegGrp2 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public COLREQ.SegGrp2 withCOM(Collection values) {
if (values!= null) {
getCOM().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="PYT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PYT-PaymentTerms"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pyt",
"dtm",
"ftx"
})
public static class SegGrp3 {
@XmlElement(name = "PYT", required = true)
protected PYTPaymentTerms pyt;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod dtm;
@XmlElement(name = "FTX")
protected FTXFreeText ftx;
/**
* Gets the value of the pyt property.
*
* @return
* possible object is
* {@link PYTPaymentTerms }
*
*/
public PYTPaymentTerms getPYT() {
return pyt;
}
/**
* Sets the value of the pyt property.
*
* @param value
* allowed object is
* {@link PYTPaymentTerms }
*
*/
public void setPYT(PYTPaymentTerms value) {
this.pyt = value;
}
/**
* Gets the value of the dtm property.
*
* @return
* possible object is
* {@link DTMDateTimePeriod }
*
*/
public DTMDateTimePeriod getDTM() {
return dtm;
}
/**
* Sets the value of the dtm property.
*
* @param value
* allowed object is
* {@link DTMDateTimePeriod }
*
*/
public void setDTM(DTMDateTimePeriod value) {
this.dtm = value;
}
/**
* Gets the value of the ftx property.
*
* @return
* possible object is
* {@link FTXFreeText }
*
*/
public FTXFreeText getFTX() {
return ftx;
}
/**
* Sets the value of the ftx property.
*
* @param value
* allowed object is
* {@link FTXFreeText }
*
*/
public void setFTX(FTXFreeText value) {
this.ftx = value;
}
public COLREQ.SegGrp3 withPYT(PYTPaymentTerms value) {
setPYT(value);
return this;
}
public COLREQ.SegGrp3 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public COLREQ.SegGrp3 withFTX(FTXFreeText value) {
setFTX(value);
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="MOA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MOA-MonetaryAmount"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"moa",
"ftx"
})
public static class SegGrp4 {
@XmlElement(name = "MOA", required = true)
protected MOAMonetaryAmount moa;
@XmlElement(name = "FTX")
protected FTXFreeText ftx;
/**
* Gets the value of the moa property.
*
* @return
* possible object is
* {@link MOAMonetaryAmount }
*
*/
public MOAMonetaryAmount getMOA() {
return moa;
}
/**
* Sets the value of the moa property.
*
* @param value
* allowed object is
* {@link MOAMonetaryAmount }
*
*/
public void setMOA(MOAMonetaryAmount value) {
this.moa = value;
}
/**
* Gets the value of the ftx property.
*
* @return
* possible object is
* {@link FTXFreeText }
*
*/
public FTXFreeText getFTX() {
return ftx;
}
/**
* Sets the value of the ftx property.
*
* @param value
* allowed object is
* {@link FTXFreeText }
*
*/
public void setFTX(FTXFreeText value) {
this.ftx = value;
}
public COLREQ.SegGrp4 withMOA(MOAMonetaryAmount value) {
setMOA(value);
return this;
}
public COLREQ.SegGrp4 withFTX(FTXFreeText value) {
setFTX(value);
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="3" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdt",
"dtm",
"loc"
})
public static class SegGrp5 {
@XmlElement(name = "TDT", required = true)
protected TDTTransportInformation tdt;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod dtm;
@XmlElement(name = "LOC")
protected List loc;
/**
* Gets the value of the tdt property.
*
* @return
* possible object is
* {@link TDTTransportInformation }
*
*/
public TDTTransportInformation getTDT() {
return tdt;
}
/**
* Sets the value of the tdt property.
*
* @param value
* allowed object is
* {@link TDTTransportInformation }
*
*/
public void setTDT(TDTTransportInformation value) {
this.tdt = value;
}
/**
* Gets the value of the dtm property.
*
* @return
* possible object is
* {@link DTMDateTimePeriod }
*
*/
public DTMDateTimePeriod getDTM() {
return dtm;
}
/**
* Sets the value of the dtm property.
*
* @param value
* allowed object is
* {@link DTMDateTimePeriod }
*
*/
public void setDTM(DTMDateTimePeriod value) {
this.dtm = value;
}
/**
* Gets the value of the loc 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 set
method for the loc property.
*
*
* For example, to add a new item, do as follows:
*
* getLOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LOCPlaceLocationIdentification }
*
*
*/
public List getLOC() {
if (loc == null) {
loc = new ArrayList();
}
return this.loc;
}
public COLREQ.SegGrp5 withTDT(TDTTransportInformation value) {
setTDT(value);
return this;
}
public COLREQ.SegGrp5 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public COLREQ.SegGrp5 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public COLREQ.SegGrp5 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation"/>
* <element name="MOA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MOA-MonetaryAmount" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="2" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" minOccurs="0"/>
* <element name="RCS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RCS-RequirementsAndConditions" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="10" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"gei",
"moa",
"loc",
"nad",
"rcs",
"ftx"
})
public static class SegGrp6 {
@XmlElement(name = "GEI", required = true)
protected GEIProcessingInformation gei;
@XmlElement(name = "MOA")
protected MOAMonetaryAmount moa;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "NAD")
protected NADNameAndAddress nad;
@XmlElement(name = "RCS")
protected RCSRequirementsAndConditions rcs;
@XmlElement(name = "FTX")
protected List ftx;
/**
* Gets the value of the gei property.
*
* @return
* possible object is
* {@link GEIProcessingInformation }
*
*/
public GEIProcessingInformation getGEI() {
return gei;
}
/**
* Sets the value of the gei property.
*
* @param value
* allowed object is
* {@link GEIProcessingInformation }
*
*/
public void setGEI(GEIProcessingInformation value) {
this.gei = value;
}
/**
* Gets the value of the moa property.
*
* @return
* possible object is
* {@link MOAMonetaryAmount }
*
*/
public MOAMonetaryAmount getMOA() {
return moa;
}
/**
* Sets the value of the moa property.
*
* @param value
* allowed object is
* {@link MOAMonetaryAmount }
*
*/
public void setMOA(MOAMonetaryAmount value) {
this.moa = value;
}
/**
* Gets the value of the loc 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 set
method for the loc property.
*
*
* For example, to add a new item, do as follows:
*
* getLOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LOCPlaceLocationIdentification }
*
*
*/
public List getLOC() {
if (loc == null) {
loc = new ArrayList();
}
return this.loc;
}
/**
* Gets the value of the nad property.
*
* @return
* possible object is
* {@link NADNameAndAddress }
*
*/
public NADNameAndAddress getNAD() {
return nad;
}
/**
* Sets the value of the nad property.
*
* @param value
* allowed object is
* {@link NADNameAndAddress }
*
*/
public void setNAD(NADNameAndAddress value) {
this.nad = value;
}
/**
* Gets the value of the rcs property.
*
* @return
* possible object is
* {@link RCSRequirementsAndConditions }
*
*/
public RCSRequirementsAndConditions getRCS() {
return rcs;
}
/**
* Sets the value of the rcs property.
*
* @param value
* allowed object is
* {@link RCSRequirementsAndConditions }
*
*/
public void setRCS(RCSRequirementsAndConditions value) {
this.rcs = value;
}
/**
* Gets the value of the ftx 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 set
method for the ftx property.
*
*
* For example, to add a new item, do as follows:
*
* getFTX().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FTXFreeText }
*
*
*/
public List getFTX() {
if (ftx == null) {
ftx = new ArrayList();
}
return this.ftx;
}
public COLREQ.SegGrp6 withGEI(GEIProcessingInformation value) {
setGEI(value);
return this;
}
public COLREQ.SegGrp6 withMOA(MOAMonetaryAmount value) {
setMOA(value);
return this;
}
public COLREQ.SegGrp6 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public COLREQ.SegGrp6 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public COLREQ.SegGrp6 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
public COLREQ.SegGrp6 withRCS(RCSRequirementsAndConditions value) {
setRCS(value);
return this;
}
public COLREQ.SegGrp6 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public COLREQ.SegGrp6 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="AUT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}AUT-AuthenticationResult"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"aut",
"dtm"
})
public static class SegGrp7 {
@XmlElement(name = "AUT", required = true)
protected AUTAuthenticationResult aut;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod dtm;
/**
* Gets the value of the aut property.
*
* @return
* possible object is
* {@link AUTAuthenticationResult }
*
*/
public AUTAuthenticationResult getAUT() {
return aut;
}
/**
* Sets the value of the aut property.
*
* @param value
* allowed object is
* {@link AUTAuthenticationResult }
*
*/
public void setAUT(AUTAuthenticationResult value) {
this.aut = value;
}
/**
* Gets the value of the dtm property.
*
* @return
* possible object is
* {@link DTMDateTimePeriod }
*
*/
public DTMDateTimePeriod getDTM() {
return dtm;
}
/**
* Sets the value of the dtm property.
*
* @param value
* allowed object is
* {@link DTMDateTimePeriod }
*
*/
public void setDTM(DTMDateTimePeriod value) {
this.dtm = value;
}
public COLREQ.SegGrp7 withAUT(AUTAuthenticationResult value) {
setAUT(value);
return this;
}
public COLREQ.SegGrp7 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
}
}