org.smooks.edifact.binding.d17a.PSDPhysicalSampleDescription Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d17a-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 09:05:05 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 PSD-PhysicalSampleDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PSD-PhysicalSampleDescription">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="E4407" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E4407-SampleProcessStepCode" minOccurs="0"/>
* <element name="E7039" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E7039-SampleSelectionMethodCode" minOccurs="0"/>
* <element name="C526" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C526-FrequencyDetails" minOccurs="0"/>
* <element name="E7045" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E7045-SampleStateCode" minOccurs="0"/>
* <element name="E7047" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E7047-SampleDirectionCode" minOccurs="0"/>
* <sequence>
* <element name="C514" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C514-SampleLocationDetails" maxOccurs="3" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PSD-PhysicalSampleDescription", propOrder = {
"e4407",
"e7039",
"c526",
"e7045",
"e7047",
"c514"
})
public class PSDPhysicalSampleDescription {
@XmlElement(name = "E4407")
protected String e4407;
@XmlElement(name = "E7039")
protected String e7039;
@XmlElement(name = "C526")
protected C526FrequencyDetails c526;
@XmlElement(name = "E7045")
protected String e7045;
@XmlElement(name = "E7047")
protected String e7047;
@XmlElement(name = "C514", nillable = true)
protected List c514;
/**
* Gets the value of the e4407 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE4407() {
return e4407;
}
/**
* Sets the value of the e4407 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE4407(String value) {
this.e4407 = value;
}
/**
* Gets the value of the e7039 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE7039() {
return e7039;
}
/**
* Sets the value of the e7039 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE7039(String value) {
this.e7039 = value;
}
/**
* Gets the value of the c526 property.
*
* @return
* possible object is
* {@link C526FrequencyDetails }
*
*/
public C526FrequencyDetails getC526() {
return c526;
}
/**
* Sets the value of the c526 property.
*
* @param value
* allowed object is
* {@link C526FrequencyDetails }
*
*/
public void setC526(C526FrequencyDetails value) {
this.c526 = value;
}
/**
* Gets the value of the e7045 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE7045() {
return e7045;
}
/**
* Sets the value of the e7045 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE7045(String value) {
this.e7045 = value;
}
/**
* Gets the value of the e7047 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE7047() {
return e7047;
}
/**
* Sets the value of the e7047 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE7047(String value) {
this.e7047 = value;
}
/**
* Gets the value of the c514 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 c514 property.
*
*
* For example, to add a new item, do as follows:
*
* getC514().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link C514SampleLocationDetails }
*
*
*/
public List getC514() {
if (c514 == null) {
c514 = new ArrayList();
}
return this.c514;
}
public PSDPhysicalSampleDescription withE4407(String value) {
setE4407(value);
return this;
}
public PSDPhysicalSampleDescription withE7039(String value) {
setE7039(value);
return this;
}
public PSDPhysicalSampleDescription withC526(C526FrequencyDetails value) {
setC526(value);
return this;
}
public PSDPhysicalSampleDescription withE7045(String value) {
setE7045(value);
return this;
}
public PSDPhysicalSampleDescription withE7047(String value) {
setE7047(value);
return this;
}
public PSDPhysicalSampleDescription withC514(C514SampleLocationDetails... values) {
if (values!= null) {
for (C514SampleLocationDetails value: values) {
getC514().add(value);
}
}
return this;
}
public PSDPhysicalSampleDescription withC514(Collection values) {
if (values!= null) {
getC514().addAll(values);
}
return this;
}
}