diff --git a/pom.xml b/pom.xml
index e27c38b..a9d7c74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,16 +108,8 @@
-
Java class for materialType complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType name="materialType">
+ * <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_number" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="material_type" type="{}material_typeType"/>
+ * <element name="material_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="is_deleted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="packages" type="{}package" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "materialType", propOrder = {
+ "id",
+ "materialNumber",
+ "materialType",
+ "materialName",
+ "description",
+ "isDeleted",
+ "packages"
+})
+public class MaterialType {
+
+ protected int id;
+ @XmlElement(name = "material_number")
+ protected int materialNumber;
+ @XmlElement(name = "material_type", required = true)
+ @XmlSchemaType(name = "string")
+ protected MaterialTypeType materialType;
+ @XmlElement(name = "material_name", required = true)
+ protected String materialName;
+ @XmlElement(required = true)
+ protected String description;
+ @XmlElement(name = "is_deleted")
+ protected boolean isDeleted;
+ @XmlElement(required = true)
+ protected List
+ * 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 packages property.
+ *
+ *
+ * For example, to add a new item, do as follows: + *
+ * getPackages().add(newItem); + *+ * + * + *
+ * Objects of the following type(s) are allowed in the list
+ * {@link Package }
+ *
+ *
+ */
+ public List Java class for material_typeType.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Material_QNAME = new QName("", "material");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link MaterialType }
+ *
+ */
+ public MaterialType createMaterialType() {
+ return new MaterialType();
+ }
+
+ /**
+ * Create an instance of {@link Package }
+ *
+ */
+ public Package createPackage() {
+ return new Package();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MaterialType }{@code >}
+ *
+ * @param value
+ * Java instance representing xml element's value.
+ * @return
+ * the new instance of {@link JAXBElement }{@code <}{@link MaterialType }{@code >}
+ */
+ @XmlElementDecl(namespace = "", name = "material")
+ public JAXBElement Java class for package complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ *
+ * <simpleType name="material_typeType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="A1"/>
+ * <enumeration value="A2"/>
+ * <enumeration value="A3"/>
+ * <enumeration value="B1"/>
+ * <enumeration value="B2"/>
+ * <enumeration value="B3"/>
+ * <enumeration value="Z1"/>
+ * <enumeration value="Z2"/>
+ * <enumeration value="Z3"/>
+ * </restriction>
+ * </simpleType>
+ *
+ *
+ */
+@XmlType(name = "material_typeType")
+@XmlEnum
+public enum MaterialTypeType {
+
+ @XmlEnumValue("A1")
+ A_1("A1"),
+ @XmlEnumValue("A2")
+ A_2("A2"),
+ @XmlEnumValue("A3")
+ A_3("A3"),
+ @XmlEnumValue("B1")
+ B_1("B1"),
+ @XmlEnumValue("B2")
+ B_2("B2"),
+ @XmlEnumValue("B3")
+ B_3("B3"),
+ @XmlEnumValue("Z1")
+ Z_1("Z1"),
+ @XmlEnumValue("Z2")
+ Z_2("Z2"),
+ @XmlEnumValue("Z3")
+ Z_3("Z3");
+ private final String value;
+
+ MaterialTypeType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static MaterialTypeType fromValue(String v) {
+ for (MaterialTypeType c: MaterialTypeType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/target/generated-sources/jaxb/generated/ObjectFactory.java b/target/generated-sources/jaxb/generated/ObjectFactory.java
new file mode 100644
index 0000000..a84e500
--- /dev/null
+++ b/target/generated-sources/jaxb/generated/ObjectFactory.java
@@ -0,0 +1,72 @@
+//
+// 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.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the generated package.
+ *
+ * <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;
+ }
+
+}
diff --git a/target/jaxb2/.default-cli-xjcStaleFlag b/target/jaxb2/.default-cli-xjcStaleFlag
new file mode 100644
index 0000000..e69de29