// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 // See https://javaee.github.io/jaxb-v2/ // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.11.17 at 01:26:11 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; /** *
Java class for package complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="package">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="material_id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="package_number" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="ean" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="unit_of_measure" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="dimension" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@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")
protected int 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.
*
*/
public int getPackageNumber() {
return packageNumber;
}
/**
* Sets the value of the packageNumber property.
*
*/
public void setPackageNumber(int 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;
}
}