This commit is contained in:
2021-11-18 13:59:46 +01:00
parent aaf2ee023a
commit 3b04bbbae6
30 changed files with 102 additions and 268 deletions

Binary file not shown.

View File

@@ -5,7 +5,7 @@
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 12:37:46 PM CET
Generated on: 2021.11.18 at 01:43:47 PM CET
-->
<jaxb:bindings scd="x-schema::">

View File

@@ -5,7 +5,7 @@
<xs:sequence>
<xs:element name="id" type="xs:int"/>
<xs:element name="material_id" type="xs:int"/>
<xs:element name="package_number" type="xs:int"/>
<xs:element name="package_number" type="xs:string"/>
<xs:element name="ean" type="xs:string"/>
<xs:element name="unit_of_measure" type="xs:string"/>
<xs:element name="dimension" type="xs:string"/>

View File

@@ -5,7 +5,7 @@
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 12:37:46 PM CET
Generated on: 2021.11.18 at 01:43:47 PM CET
-->
<jaxb:bindings scd="x-schema::">

View File

@@ -2,7 +2,7 @@
// 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 12:37:46 PM CET
// Generated on: 2021.11.18 at 01:43:47 PM CET
//
@@ -115,10 +115,9 @@ public class MaterialType {
* @return
* possible object is
* {@link MaterialTypeType }
*
* @param type
*
*/
public MaterialTypeType getMaterialType(Object type) {
public MaterialTypeType getMaterialType() {
return materialType;
}

View File

@@ -2,7 +2,7 @@
// 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 12:37:46 PM CET
// Generated on: 2021.11.18 at 01:43:47 PM CET
//

View File

@@ -2,7 +2,7 @@
// 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 12:37:46 PM CET
// Generated on: 2021.11.18 at 01:43:47 PM CET
//

View File

@@ -2,7 +2,7 @@
// 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 12:37:46 PM CET
// Generated on: 2021.11.18 at 01:43:47 PM CET
//
@@ -26,7 +26,7 @@ import javax.xml.bind.annotation.XmlType;
* &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}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;
@@ -54,8 +54,8 @@ public class Package {
protected int id;
@XmlElement(name = "material_id")
protected int materialId;
@XmlElement(name = "package_number")
protected int packageNumber;
@XmlElement(name = "package_number", required = true)
protected String packageNumber;
@XmlElement(required = true)
protected String ean;
@XmlElement(name = "unit_of_measure", required = true)
@@ -99,16 +99,24 @@ public class Package {
/**
* Gets the value of the packageNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public int getPackageNumber() {
public String getPackageNumber() {
return packageNumber;
}
/**
* Sets the value of the packageNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPackageNumber(int value) {
public void setPackageNumber(String value) {
this.packageNumber = value;
}

View File

View File

@@ -0,0 +1,5 @@
#Generated by Maven
#Thu Nov 18 13:46:31 CET 2021
groupId=org.example
artifactId=Camel
version=1.0-SNAPSHOT

View File

@@ -0,0 +1,8 @@
/home/igor/Documents/Jacek/jacek-and-igor/src/main/java/com/release11/DAO.java
/home/igor/Documents/Jacek/jacek-and-igor/target/generated-sources/jaxb/generated/MaterialType.java
/home/igor/Documents/Jacek/jacek-and-igor/target/generated-sources/jaxb/generated/Package.java
/home/igor/Documents/Jacek/jacek-and-igor/src/main/java/com/release11/MyBuilder.java
/home/igor/Documents/Jacek/jacek-and-igor/target/generated-sources/jaxb/generated/ObjectFactory.java
/home/igor/Documents/Jacek/jacek-and-igor/target/generated-sources/jaxb/generated/MaterialTypeType.java
/home/igor/Documents/Jacek/jacek-and-igor/src/main/java/com/release11/MyAggregator.java
/home/igor/Documents/Jacek/jacek-and-igor/src/main/java/com/release11/Main.java