network.oxalis.peppol.ubl2.jaxb.cac.StowageType Maven / Gradle / Ivy
Show all versions of peppol-ubl21 Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.08.26 at 01:27:09 PM UTC
//
package network.oxalis.peppol.ubl2.jaxb.cac;
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 lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.LocationIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.LocationType;
/**
* Java class for StowageType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StowageType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LocationID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Location" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StowageType", propOrder = {
"locationID",
"location",
"measurementDimension"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StowageType {
@XmlElement(name = "LocationID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected LocationIDType locationID;
@XmlElement(name = "Location", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List location;
@XmlElement(name = "MeasurementDimension")
protected List measurementDimension;
/**
* Gets the value of the locationID property.
*
* @return
* possible object is
* {@link LocationIDType }
*
*/
public LocationIDType getLocationID() {
return locationID;
}
/**
* Sets the value of the locationID property.
*
* @param value
* allowed object is
* {@link LocationIDType }
*
*/
public void setLocationID(LocationIDType value) {
this.locationID = value;
}
/**
* Gets the value of the location 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 location property.
*
*
* For example, to add a new item, do as follows:
*
* getLocation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocationType }
*
*
*/
public List getLocation() {
if (location == null) {
location = new ArrayList();
}
return this.location;
}
/**
* Gets the value of the measurementDimension 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 measurementDimension property.
*
*
* For example, to add a new item, do as follows:
*
* getMeasurementDimension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DimensionType }
*
*
*/
public List getMeasurementDimension() {
if (measurementDimension == null) {
measurementDimension = new ArrayList();
}
return this.measurementDimension;
}
}