org.smooks.edifact.binding.service.CONTRL Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* service-edifact-binding
* %%
* Copyright (C) 2020 - 2024 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: 2024.11.12 at 08:58:01 AM UTC
//
package org.smooks.edifact.binding.service;
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 CONTRL complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CONTRL">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCI" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCI-InterchangeResponse"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="999999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCM" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCM-MessagePackageResponse"/>
* </sequence>
* <element name="SegGrp-2" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-3" maxOccurs="999999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCF" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCF-GroupResponse"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCM" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCM-MessagePackageResponse"/>
* </sequence>
* <element name="SegGrp-5" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CONTRL", propOrder = {
"uci",
"segGrp1",
"segGrp3"
})
public class CONTRL {
@XmlElement(name = "UCI", required = true)
protected UCIInterchangeResponse uci;
@XmlElement(name = "SegGrp-1")
protected List segGrp1;
@XmlElement(name = "SegGrp-3")
protected List segGrp3;
/**
* Gets the value of the uci property.
*
* @return
* possible object is
* {@link UCIInterchangeResponse }
*
*/
public UCIInterchangeResponse getUCI() {
return uci;
}
/**
* Sets the value of the uci property.
*
* @param value
* allowed object is
* {@link UCIInterchangeResponse }
*
*/
public void setUCI(UCIInterchangeResponse value) {
this.uci = value;
}
/**
* 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 CONTRL.SegGrp1 }
*
*
*/
public List getSegGrp1() {
if (segGrp1 == null) {
segGrp1 = new ArrayList();
}
return this.segGrp1;
}
/**
* Gets the value of the segGrp3 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 segGrp3 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp3().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CONTRL.SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
public CONTRL withUCI(UCIInterchangeResponse value) {
setUCI(value);
return this;
}
public CONTRL withSegGrp1(CONTRL.SegGrp1 ... values) {
if (values!= null) {
for (CONTRL.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public CONTRL withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public CONTRL withSegGrp3(CONTRL.SegGrp3 ... values) {
if (values!= null) {
for (CONTRL.SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public CONTRL withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().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="UCM" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCM-MessagePackageResponse"/>
* </sequence>
* <element name="SegGrp-2" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ucm",
"segGrp2"
})
public static class SegGrp1 {
@XmlElement(name = "UCM", required = true)
protected UCMMessagePackageResponse ucm;
@XmlElement(name = "SegGrp-2")
protected List segGrp2;
/**
* Gets the value of the ucm property.
*
* @return
* possible object is
* {@link UCMMessagePackageResponse }
*
*/
public UCMMessagePackageResponse getUCM() {
return ucm;
}
/**
* Sets the value of the ucm property.
*
* @param value
* allowed object is
* {@link UCMMessagePackageResponse }
*
*/
public void setUCM(UCMMessagePackageResponse value) {
this.ucm = value;
}
/**
* 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 CONTRL.SegGrp1 .SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
public CONTRL.SegGrp1 withUCM(UCMMessagePackageResponse value) {
setUCM(value);
return this;
}
public CONTRL.SegGrp1 withSegGrp2(CONTRL.SegGrp1 .SegGrp2 ... values) {
if (values!= null) {
for (CONTRL.SegGrp1 .SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public CONTRL.SegGrp1 withSegGrp2(Collection values) {
if (values!= null) {
getSegGrp2().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="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ucs",
"ucd"
})
public static class SegGrp2 {
@XmlElement(name = "UCS", required = true)
protected UCSSegmentErrorIndication ucs;
@XmlElement(name = "UCD")
protected List ucd;
/**
* Gets the value of the ucs property.
*
* @return
* possible object is
* {@link UCSSegmentErrorIndication }
*
*/
public UCSSegmentErrorIndication getUCS() {
return ucs;
}
/**
* Sets the value of the ucs property.
*
* @param value
* allowed object is
* {@link UCSSegmentErrorIndication }
*
*/
public void setUCS(UCSSegmentErrorIndication value) {
this.ucs = value;
}
/**
* Gets the value of the ucd 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 ucd property.
*
*
* For example, to add a new item, do as follows:
*
* getUCD().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UCDDataElementErrorIndication }
*
*
*/
public List getUCD() {
if (ucd == null) {
ucd = new ArrayList();
}
return this.ucd;
}
public CONTRL.SegGrp1 .SegGrp2 withUCS(UCSSegmentErrorIndication value) {
setUCS(value);
return this;
}
public CONTRL.SegGrp1 .SegGrp2 withUCD(UCDDataElementErrorIndication... values) {
if (values!= null) {
for (UCDDataElementErrorIndication value: values) {
getUCD().add(value);
}
}
return this;
}
public CONTRL.SegGrp1 .SegGrp2 withUCD(Collection values) {
if (values!= null) {
getUCD().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="UCF" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCF-GroupResponse"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCM" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCM-MessagePackageResponse"/>
* </sequence>
* <element name="SegGrp-5" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ucf",
"segGrp4"
})
public static class SegGrp3 {
@XmlElement(name = "UCF", required = true)
protected UCFGroupResponse ucf;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
/**
* Gets the value of the ucf property.
*
* @return
* possible object is
* {@link UCFGroupResponse }
*
*/
public UCFGroupResponse getUCF() {
return ucf;
}
/**
* Sets the value of the ucf property.
*
* @param value
* allowed object is
* {@link UCFGroupResponse }
*
*/
public void setUCF(UCFGroupResponse value) {
this.ucf = 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 CONTRL.SegGrp3 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
public CONTRL.SegGrp3 withUCF(UCFGroupResponse value) {
setUCF(value);
return this;
}
public CONTRL.SegGrp3 withSegGrp4(CONTRL.SegGrp3 .SegGrp4 ... values) {
if (values!= null) {
for (CONTRL.SegGrp3 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public CONTRL.SegGrp3 withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().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="UCM" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCM-MessagePackageResponse"/>
* </sequence>
* <element name="SegGrp-5" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ucm",
"segGrp5"
})
public static class SegGrp4 {
@XmlElement(name = "UCM", required = true)
protected UCMMessagePackageResponse ucm;
@XmlElement(name = "SegGrp-5")
protected List segGrp5;
/**
* Gets the value of the ucm property.
*
* @return
* possible object is
* {@link UCMMessagePackageResponse }
*
*/
public UCMMessagePackageResponse getUCM() {
return ucm;
}
/**
* Sets the value of the ucm property.
*
* @param value
* allowed object is
* {@link UCMMessagePackageResponse }
*
*/
public void setUCM(UCMMessagePackageResponse value) {
this.ucm = value;
}
/**
* Gets the value of the segGrp5 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 segGrp5 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp5().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CONTRL.SegGrp3 .SegGrp4 .SegGrp5 }
*
*
*/
public List getSegGrp5() {
if (segGrp5 == null) {
segGrp5 = new ArrayList();
}
return this.segGrp5;
}
public CONTRL.SegGrp3 .SegGrp4 withUCM(UCMMessagePackageResponse value) {
setUCM(value);
return this;
}
public CONTRL.SegGrp3 .SegGrp4 withSegGrp5(CONTRL.SegGrp3 .SegGrp4 .SegGrp5 ... values) {
if (values!= null) {
for (CONTRL.SegGrp3 .SegGrp4 .SegGrp5 value: values) {
getSegGrp5().add(value);
}
}
return this;
}
public CONTRL.SegGrp3 .SegGrp4 withSegGrp5(Collection values) {
if (values!= null) {
getSegGrp5().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="UCS" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCS-SegmentErrorIndication"/>
* <element name="UCD" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UCD-DataElementErrorIndication" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ucs",
"ucd"
})
public static class SegGrp5 {
@XmlElement(name = "UCS", required = true)
protected UCSSegmentErrorIndication ucs;
@XmlElement(name = "UCD")
protected List ucd;
/**
* Gets the value of the ucs property.
*
* @return
* possible object is
* {@link UCSSegmentErrorIndication }
*
*/
public UCSSegmentErrorIndication getUCS() {
return ucs;
}
/**
* Sets the value of the ucs property.
*
* @param value
* allowed object is
* {@link UCSSegmentErrorIndication }
*
*/
public void setUCS(UCSSegmentErrorIndication value) {
this.ucs = value;
}
/**
* Gets the value of the ucd 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 ucd property.
*
*
* For example, to add a new item, do as follows:
*
* getUCD().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UCDDataElementErrorIndication }
*
*
*/
public List getUCD() {
if (ucd == null) {
ucd = new ArrayList();
}
return this.ucd;
}
public CONTRL.SegGrp3 .SegGrp4 .SegGrp5 withUCS(UCSSegmentErrorIndication value) {
setUCS(value);
return this;
}
public CONTRL.SegGrp3 .SegGrp4 .SegGrp5 withUCD(UCDDataElementErrorIndication... values) {
if (values!= null) {
for (UCDDataElementErrorIndication value: values) {
getUCD().add(value);
}
}
return this;
}
public CONTRL.SegGrp3 .SegGrp4 .SegGrp5 withUCD(Collection values) {
if (values!= null) {
getUCD().addAll(values);
}
return this;
}
}
}
}
}