Files
jacek-and-igor/target/generated-sources/jaxb/generated/Package.java
2021-11-18 14:35:35 +01:00

220 lines
5.1 KiB
Java

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.11.18 at 02:34:17 PM CET
//
package generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for package complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="package"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
* &lt;element name="material_id" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
* &lt;element name="package_number" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="ean" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="unit_of_measure" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="dimension" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "package", propOrder = {
"id",
"materialId",
"packageNumber",
"ean",
"unitOfMeasure",
"dimension",
"description"
})
public class Package {
protected int id;
@XmlElement(name = "material_id")
protected int materialId;
@XmlElement(name = "package_number", required = true)
protected String packageNumber;
@XmlElement(required = true)
protected String ean;
@XmlElement(name = "unit_of_measure", required = true)
protected String unitOfMeasure;
@XmlElement(required = true)
protected String dimension;
protected String description;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
/**
* Gets the value of the materialId property.
*
*/
public int getMaterialId() {
return materialId;
}
/**
* Sets the value of the materialId property.
*
*/
public void setMaterialId(int value) {
this.materialId = value;
}
/**
* Gets the value of the packageNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPackageNumber() {
return packageNumber;
}
/**
* Sets the value of the packageNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPackageNumber(String value) {
this.packageNumber = value;
}
/**
* Gets the value of the ean property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEan() {
return ean;
}
/**
* Sets the value of the ean property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEan(String value) {
this.ean = value;
}
/**
* Gets the value of the unitOfMeasure property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnitOfMeasure() {
return unitOfMeasure;
}
/**
* Sets the value of the unitOfMeasure property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnitOfMeasure(String value) {
this.unitOfMeasure = value;
}
/**
* Gets the value of the dimension property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDimension() {
return dimension;
}
/**
* Sets the value of the dimension property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDimension(String value) {
this.dimension = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
}