diff --git a/pom.xml b/pom.xml index c03eb6f4..b2ed9ba4 100644 --- a/pom.xml +++ b/pom.xml @@ -133,6 +133,26 @@ + + org.codehaus.mojo + jaxb2-maven-plugin + 2.3.1 + + + xjc + + xjc + + + + + 2.1 + org.mustangproject.ZUGFeRD.model + + src/main/schema/ZUGFeRD1p0.xsd + + + diff --git a/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java index f8561001..d7d33b27 100644 --- a/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java +++ b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java @@ -584,7 +584,7 @@ public class ZUGFeRDExporter implements Closeable { DocumentContextParameterType contextParameter = xmlFactory .createDocumentContextParameterType(); IDType idType = xmlFactory.createIDType(); - idType.setValue(DocumentContextParameterType.EXTENDED); + idType.setValue(DocumentContextParameterTypeConstants.EXTENDED); contextParameter.setID(idType); context.getGuidelineSpecifiedDocumentContextParameter().add( contextParameter); @@ -608,14 +608,14 @@ public class ZUGFeRDExporter implements Closeable { DateTimeType issueDateTime = xmlFactory.createDateTimeType(); DateTimeType.DateTimeString issueDateTimeString = xmlFactory .createDateTimeTypeDateTimeString(); - issueDateTimeString.setFormat(DateTimeType.DateTimeString.DATE); + issueDateTimeString.setFormat(DateTimeTypeConstants.DATE); issueDateTimeString.setValue(zugferdDateFormat.format(trans .getIssueDate())); issueDateTime.setDateTimeString(issueDateTimeString); document.setIssueDateTime(issueDateTime); DocumentCodeType documentCodeType = xmlFactory.createDocumentCodeType(); - documentCodeType.setValue(DocumentCodeType.INVOICE); + documentCodeType.setValue(DocumentCodeTypeConstants.INVOICE); document.setTypeCode(documentCodeType); TextType name = xmlFactory.createTextType(); @@ -625,7 +625,7 @@ public class ZUGFeRDExporter implements Closeable { if (trans.getOwnOrganisationFullPlaintextInfo() != null) { NoteType regularInfo = xmlFactory.createNoteType(); CodeType regularInfoSubjectCode = xmlFactory.createCodeType(); - regularInfoSubjectCode.setValue(NoteType.REGULARINFO); + regularInfoSubjectCode.setValue(NoteTypeConstants.REGULARINFO); regularInfo.setSubjectCode(regularInfoSubjectCode); TextType regularInfoContent = xmlFactory.createTextType(); regularInfoContent.setValue(trans @@ -703,7 +703,7 @@ public class ZUGFeRDExporter implements Closeable { .createTaxRegistrationType(); IDType buyerUstId = xmlFactory.createIDType(); buyerUstId.setValue(trans.getRecipient().getVATID()); - buyerUstId.setSchemeID(TaxRegistrationType.USTID); + buyerUstId.setSchemeID(TaxRegistrationTypeConstants.USTID); buyerTaxRegistration.setID(buyerUstId); buyerTradeParty.getSpecifiedTaxRegistration().add(buyerTaxRegistration); @@ -742,7 +742,7 @@ public class ZUGFeRDExporter implements Closeable { .createTaxRegistrationType(); IDType sellerTaxId = xmlFactory.createIDType(); sellerTaxId.setValue(trans.getOwnTaxID()); - sellerTaxId.setSchemeID(TaxRegistrationType.TAXID); + sellerTaxId.setSchemeID(TaxRegistrationTypeConstants.TAXID); sellerTaxRegistration.setID(sellerTaxId); sellerTradeParty.getSpecifiedTaxRegistration().add( sellerTaxRegistration); @@ -751,7 +751,7 @@ public class ZUGFeRDExporter implements Closeable { sellerTaxRegistration = xmlFactory.createTaxRegistrationType(); IDType sellerUstId = xmlFactory.createIDType(); sellerUstId.setValue(trans.getOwnVATID()); - sellerUstId.setSchemeID(TaxRegistrationType.USTID); + sellerUstId.setSchemeID(TaxRegistrationTypeConstants.USTID); sellerTaxRegistration.setID(sellerUstId); sellerTradeParty.getSpecifiedTaxRegistration().add( sellerTaxRegistration); @@ -768,7 +768,7 @@ public class ZUGFeRDExporter implements Closeable { DateTimeType deliveryDate = xmlFactory.createDateTimeType(); DateTimeType.DateTimeString deliveryDateString = xmlFactory .createDateTimeTypeDateTimeString(); - deliveryDateString.setFormat(DateTimeType.DateTimeString.DATE); + deliveryDateString.setFormat(DateTimeTypeConstants.DATE); deliveryDateString.setValue(zugferdDateFormat.format(trans .getDeliveryDate())); deliveryDate.setDateTimeString(deliveryDateString); @@ -819,7 +819,7 @@ public class ZUGFeRDExporter implements Closeable { .createTradeSettlementPaymentMeansType(); PaymentMeansCodeType paymentDataType = xmlFactory .createPaymentMeansCodeType(); - paymentDataType.setValue(PaymentMeansCodeType.BANKACCOUNT); + paymentDataType.setValue(PaymentMeansCodeTypeConstants.BANKACCOUNT); paymentData.setTypeCode(paymentDataType); TextType paymentInfo = xmlFactory.createTextType(); @@ -858,12 +858,12 @@ public class ZUGFeRDExporter implements Closeable { TradeTaxType tradeTax = xmlFactory.createTradeTaxType(); TaxTypeCodeType taxTypeCode = xmlFactory.createTaxTypeCodeType(); - taxTypeCode.setValue(TaxTypeCodeType.SALESTAX); + taxTypeCode.setValue(TaxTypeCodeTypeConstants.SALESTAX); tradeTax.setTypeCode(taxTypeCode); TaxCategoryCodeType taxCategoryCode = xmlFactory .createTaxCategoryCodeType(); - taxCategoryCode.setValue(TaxCategoryCodeType.STANDARDRATE); + taxCategoryCode.setValue(TaxCategoryCodeTypeConstants.STANDARDRATE); tradeTax.setCategoryCode(taxCategoryCode); VATAmount amount = VATPercentAmountMap.get(currentTaxPercent); @@ -925,11 +925,11 @@ public class ZUGFeRDExporter implements Closeable { */ TaxCategoryCodeType taxType = xmlFactory .createTaxCategoryCodeType(); - taxType.setValue(TaxCategoryCodeType.STANDARDRATE); + taxType.setValue(TaxCategoryCodeTypeConstants.STANDARDRATE); tradeTax.setCategoryCode(taxType); TaxTypeCodeType taxCode = xmlFactory.createTaxTypeCodeType(); - taxCode.setValue(TaxTypeCodeType.SALESTAX); + taxCode.setValue(TaxTypeCodeTypeConstants.SALESTAX); tradeTax.setTypeCode(taxCode); allowance.getCategoryTradeTax().add(tradeTax); @@ -976,11 +976,11 @@ public class ZUGFeRDExporter implements Closeable { */ TaxCategoryCodeType taxType = xmlFactory .createTaxCategoryCodeType(); - taxType.setValue(TaxCategoryCodeType.STANDARDRATE); + taxType.setValue(TaxCategoryCodeTypeConstants.STANDARDRATE); tradeTax.setCategoryCode(taxType); TaxTypeCodeType taxCode = xmlFactory.createTaxTypeCodeType(); - taxCode.setValue(TaxTypeCodeType.SALESTAX); + taxCode.setValue(TaxTypeCodeTypeConstants.SALESTAX); tradeTax.setTypeCode(taxCode); charge.getCategoryTradeTax().add(tradeTax); @@ -1025,11 +1025,11 @@ public class ZUGFeRDExporter implements Closeable { */ TaxCategoryCodeType taxType = xmlFactory .createTaxCategoryCodeType(); - taxType.setValue(TaxCategoryCodeType.STANDARDRATE); + taxType.setValue(TaxCategoryCodeTypeConstants.STANDARDRATE); tradeTax.setCategoryCode(taxType); TaxTypeCodeType taxCode = xmlFactory.createTaxTypeCodeType(); - taxCode.setValue(TaxTypeCodeType.SALESTAX); + taxCode.setValue(TaxTypeCodeTypeConstants.SALESTAX); tradeTax.setTypeCode(taxCode); serviceCharge.getAppliedTradeTax().add(tradeTax); @@ -1048,7 +1048,7 @@ public class ZUGFeRDExporter implements Closeable { DateTimeType dueDate = xmlFactory.createDateTimeType(); DateTimeType.DateTimeString dueDateString = xmlFactory .createDateTimeTypeDateTimeString(); - dueDateString.setFormat(DateTimeType.DateTimeString.DATE); + dueDateString.setFormat(DateTimeTypeConstants.DATE); dueDateString.setValue(zugferdDateFormat.format(trans.getDueDate())); dueDate.setDateTimeString(dueDateString); paymentTerm.setDueDateDateTime(dueDate); @@ -1250,11 +1250,11 @@ public class ZUGFeRDExporter implements Closeable { TaxCategoryCodeType taxCategoryCode = xmlFactory .createTaxCategoryCodeType(); - taxCategoryCode.setValue(TaxCategoryCodeType.STANDARDRATE); + taxCategoryCode.setValue(TaxCategoryCodeTypeConstants.STANDARDRATE); tradeTax.setCategoryCode(taxCategoryCode); TaxTypeCodeType taxCode = xmlFactory.createTaxTypeCodeType(); - taxCode.setValue(TaxTypeCodeType.SALESTAX); + taxCode.setValue(TaxTypeCodeTypeConstants.SALESTAX); tradeTax.setTypeCode(taxCode); PercentType taxPercent = xmlFactory.createPercentType(); diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java deleted file mode 100644 index 7a24d346..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java +++ /dev/null @@ -1,67 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r AllowanceChargeReasonCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="AllowanceChargeReasonCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>AllowanceChargeReasonCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AllowanceChargeReasonCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class AllowanceChargeReasonCodeType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String value - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java deleted file mode 100644 index fcbc3d33..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java +++ /dev/null @@ -1,94 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import java.math.BigDecimal; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r AmountType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="AmountType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
- *       <attribute name="currencyID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountTypeCurrencyIDContentType" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AmountType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class AmountType { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "currencyID") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String currencyID; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return BigDecimal net value - * - */ - public BigDecimal getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Ruft den Wert der currencyID-Eigenschaft ab. - * - * @return String three-Character ISO currency - * - */ - public String getCurrencyID() { - return currencyID; - } - - /** - * Legt den Wert der currencyID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCurrencyID(String value) { - this.currencyID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java deleted file mode 100644 index 93cdf57d..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java +++ /dev/null @@ -1,124 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r CodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="CodeType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>token">
- *       <attribute name="listID" type="{http://www.w3.org/2001/XMLSchema}token" />
- *       <attribute name="listVersionID" type="{http://www.w3.org/2001/XMLSchema}token" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CodeType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class CodeType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String value; - @XmlAttribute(name = "listID") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String listID; - @XmlAttribute(name = "listVersionID") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String listVersionID; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Ruft den Wert der listID-Eigenschaft ab. - * - * @return String - * - */ - public String getListID() { - return listID; - } - - /** - * Legt den Wert der listID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setListID(String value) { - this.listID = value; - } - - /** - * Ruft den Wert der listVersionID-Eigenschaft ab. - * - * @return String - * - */ - public String getListVersionID() { - return listVersionID; - } - - /** - * Legt den Wert der listVersionID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setListVersionID(String value) { - this.listVersionID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java deleted file mode 100644 index 132d223a..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java +++ /dev/null @@ -1,67 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r CountryIDType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="CountryIDType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>CountryIDContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CountryIDType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class CountryIDType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java deleted file mode 100644 index 5e1c9260..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java +++ /dev/null @@ -1,123 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r CreditorFinancialAccountType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="CreditorFinancialAccountType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="IBANID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="AccountName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="ProprietaryID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreditorFinancialAccountType", propOrder = { - "ibanid", - "accountName", - "proprietaryID" -}) -public class CreditorFinancialAccountType { - - @XmlElement(name = "IBANID") - protected IDType ibanid; - @XmlElement(name = "AccountName") - protected TextType accountName; - @XmlElement(name = "ProprietaryID") - protected IDType proprietaryID; - - /** - * Ruft den Wert der ibanid-Eigenschaft ab. - * - * @return IDType IBANID,AccountName or ProprietaryID - * - */ - public IDType getIBANID() { - return ibanid; - } - - /** - * Legt den Wert der ibanid-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setIBANID(IDType value) { - this.ibanid = value; - } - - /** - * Ruft den Wert der accountName-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getAccountName() { - return accountName; - } - - /** - * Legt den Wert der accountName-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setAccountName(TextType value) { - this.accountName = value; - } - - /** - * Ruft den Wert der proprietaryID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getProprietaryID() { - return proprietaryID; - } - - /** - * Legt den Wert der proprietaryID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setProprietaryID(IDType value) { - this.proprietaryID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java deleted file mode 100644 index 6ee1f7db..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java +++ /dev/null @@ -1,119 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r CreditorFinancialInstitutionType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="CreditorFinancialInstitutionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BICID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="GermanBankleitzahlID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CreditorFinancialInstitutionType", propOrder = { - "bicid", - "germanBankleitzahlID", - "name" -}) -public class CreditorFinancialInstitutionType { - - @XmlElement(name = "BICID") - protected IDType bicid; - @XmlElement(name = "GermanBankleitzahlID") - protected IDType germanBankleitzahlID; - @XmlElement(name = "Name") - protected TextType name; - - /** - * Ruft den Wert der bicid-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getBICID() { - return bicid; - } - - /** - * Legt den Wert der bicid-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setBICID(IDType value) { - this.bicid = value; - } - - /** - * Ruft den Wert der germanBankleitzahlID-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getGermanBankleitzahlID() { - return germanBankleitzahlID; - } - - /** - * Legt den Wert der germanBankleitzahlID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setGermanBankleitzahlID(IDType value) { - this.germanBankleitzahlID = value; - } - - /** - * Ruft den Wert der name-Eigenschaft ab. - * - * @return TextType - * - */ - public TextType getName() { - return name; - } - - /** - * Legt den Wert der name-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setName(TextType value) { - this.name = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java deleted file mode 100644 index e7d85950..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java +++ /dev/null @@ -1,122 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java-Klasse f�r CrossIndustryDocumentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="CrossIndustryDocumentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="SpecifiedExchangedDocumentContext" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ExchangedDocumentContextType"/>
- *         <element name="HeaderExchangedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ExchangedDocumentType"/>
- *         <element name="SpecifiedSupplyChainTradeTransaction" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeTransactionType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ - -@XmlAccessorType(XmlAccessType.FIELD) -@XmlRootElement(name="CrossIndustryDocumentType", namespace="urn:ferd:CrossIndustryDocument:invoice:1p0") -@XmlType(name = "CrossIndustryDocumentType", namespace = "urn:ferd:CrossIndustryDocument:invoice:1p0", propOrder = { - "specifiedExchangedDocumentContext", - "headerExchangedDocument", - "specifiedSupplyChainTradeTransaction" -}) -public class CrossIndustryDocumentType { - - @XmlElement(name = "SpecifiedExchangedDocumentContext", required = true) - protected ExchangedDocumentContextType specifiedExchangedDocumentContext; - @XmlElement(name = "HeaderExchangedDocument", required = true) - protected ExchangedDocumentType headerExchangedDocument; - @XmlElement(name = "SpecifiedSupplyChainTradeTransaction", required = true) - protected SupplyChainTradeTransactionType specifiedSupplyChainTradeTransaction; - - /** - * Ruft den Wert der specifiedExchangedDocumentContext-Eigenschaft ab. - * - * @return ExchangedDocumentContextType - * - */ - public ExchangedDocumentContextType getSpecifiedExchangedDocumentContext() { - return specifiedExchangedDocumentContext; - } - - /** - * Legt den Wert der specifiedExchangedDocumentContext-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link ExchangedDocumentContextType } - * - */ - public void setSpecifiedExchangedDocumentContext(ExchangedDocumentContextType value) { - this.specifiedExchangedDocumentContext = value; - } - - /** - * Ruft den Wert der headerExchangedDocument-Eigenschaft ab. - * - * @return ExchangedDocumentType - * - */ - public ExchangedDocumentType getHeaderExchangedDocument() { - return headerExchangedDocument; - } - - /** - * Legt den Wert der headerExchangedDocument-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link ExchangedDocumentType } - * - */ - public void setHeaderExchangedDocument(ExchangedDocumentType value) { - this.headerExchangedDocument = value; - } - - /** - * Ruft den Wert der specifiedSupplyChainTradeTransaction-Eigenschaft ab. - * - * @return SupplyChainTradeTransactionType - * - */ - public SupplyChainTradeTransactionType getSpecifiedSupplyChainTradeTransaction() { - return specifiedSupplyChainTradeTransaction; - } - - /** - * Legt den Wert der specifiedSupplyChainTradeTransaction-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeTransactionType } - * - */ - public void setSpecifiedSupplyChainTradeTransaction(SupplyChainTradeTransactionType value) { - this.specifiedSupplyChainTradeTransaction = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java deleted file mode 100644 index 55e790dd..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java +++ /dev/null @@ -1,156 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - *

Java-Klasse f�r DateTimeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DateTimeType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <choice>
- *         <element name="DateTimeString">
- *           <complexType>
- *             <simpleContent>
- *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                 <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
- *               </extension>
- *             </simpleContent>
- *           </complexType>
- *         </element>
- *       </choice>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DateTimeType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "dateTimeString" -}) -public class DateTimeType { - - @XmlElement(name = "DateTimeString") - protected DateTimeType.DateTimeString dateTimeString; - - /** - * Ruft den Wert der dateTimeString-Eigenschaft ab. - * - * @return DateTimeType.DateTimeString - * - */ - public DateTimeType.DateTimeString getDateTimeString() { - return dateTimeString; - } - - /** - * Legt den Wert der dateTimeString-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType.DateTimeString } - * - */ - public void setDateTimeString(DateTimeType.DateTimeString value) { - this.dateTimeString = value; - } - - - /** - *

Java-Klasse f�r anonymous complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *       <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class DateTimeString { - - public static final String DATE = "102"; - public static final String MONTH = "610"; - public static final String WEEK = "616"; - - @XmlValue - protected String value; - @XmlAttribute(name = "format") - protected String format; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Ruft den Wert der format-Eigenschaft ab. - * - * @return String - * - */ - public String getFormat() { - return format; - } - - /** - * Legt den Wert der format-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFormat(String value) { - this.format = value; - } - - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeTypeConstants.java new file mode 100644 index 00000000..ee3dac32 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeTypeConstants.java @@ -0,0 +1,7 @@ +package org.mustangproject.ZUGFeRD.model; + +public class DateTimeTypeConstants { + public static final String DATE = "102"; + public static final String MONTH = "610"; + public static final String WEEK = "616"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java deleted file mode 100644 index d967547c..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java +++ /dev/null @@ -1,93 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r DebtorFinancialAccountType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DebtorFinancialAccountType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="IBANID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="ProprietaryID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DebtorFinancialAccountType", propOrder = { - "ibanid", - "proprietaryID" -}) -public class DebtorFinancialAccountType { - - @XmlElement(name = "IBANID") - protected IDType ibanid; - @XmlElement(name = "ProprietaryID") - protected IDType proprietaryID; - - /** - * Ruft den Wert der ibanid-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getIBANID() { - return ibanid; - } - - /** - * Legt den Wert der ibanid-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setIBANID(IDType value) { - this.ibanid = value; - } - - /** - * Ruft den Wert der proprietaryID-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getProprietaryID() { - return proprietaryID; - } - - /** - * Legt den Wert der proprietaryID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setProprietaryID(IDType value) { - this.proprietaryID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java deleted file mode 100644 index fd728f34..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java +++ /dev/null @@ -1,119 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r DebtorFinancialInstitutionType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DebtorFinancialInstitutionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BICID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="GermanBankleitzahlID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DebtorFinancialInstitutionType", propOrder = { - "bicid", - "germanBankleitzahlID", - "name" -}) -public class DebtorFinancialInstitutionType { - - @XmlElement(name = "BICID") - protected IDType bicid; - @XmlElement(name = "GermanBankleitzahlID") - protected IDType germanBankleitzahlID; - @XmlElement(name = "Name") - protected TextType name; - - /** - * Ruft den Wert der bicid-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getBICID() { - return bicid; - } - - /** - * Legt den Wert der bicid-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setBICID(IDType value) { - this.bicid = value; - } - - /** - * Ruft den Wert der germanBankleitzahlID-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getGermanBankleitzahlID() { - return germanBankleitzahlID; - } - - /** - * Legt den Wert der germanBankleitzahlID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setGermanBankleitzahlID(IDType value) { - this.germanBankleitzahlID = value; - } - - /** - * Ruft den Wert der name-Eigenschaft ab. - * - * @return TextType - * - */ - public TextType getName() { - return name; - } - - /** - * Legt den Wert der name-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setName(TextType value) { - this.name = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java deleted file mode 100644 index 49d18303..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java +++ /dev/null @@ -1,67 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r DeliveryTermsCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DeliveryTermsCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>DeliveryTermsCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DeliveryTermsCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class DeliveryTermsCodeType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java deleted file mode 100644 index 8b78f7bf..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java +++ /dev/null @@ -1,71 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r DocumentCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DocumentCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>DocumentCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DocumentCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class DocumentCodeType { - - public static final String INVOICE = "380"; - public static final String DEBITNOTE = "84"; - public static final String CREDITNOTE = "389"; - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return String - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeTypeConstants.java new file mode 100644 index 00000000..e3aa9c73 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeTypeConstants.java @@ -0,0 +1,7 @@ +package org.mustangproject.ZUGFeRD.model; + +public class DocumentCodeTypeConstants { + public static final String INVOICE = "380"; + public static final String DEBITNOTE = "84"; + public static final String CREDITNOTE = "389"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java deleted file mode 100644 index 2ae0a51d..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java +++ /dev/null @@ -1,70 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r DocumentContextParameterType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DocumentContextParameterType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DocumentContextParameterType", propOrder = { - "id" -}) -public class DocumentContextParameterType { - - public static final String COMFORT = "urn:ferd:CrossIndustryDocument:invoice:1p0:comfort"; - public static final String EXTENDED = "urn:ferd:CrossIndustryDocument:invoice:1p0:extended"; - - @XmlElement(name = "ID") - protected IDType id; - - /** - * Ruft den Wert der id-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getID() { - return id; - } - - /** - * Legt den Wert der id-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setID(IDType value) { - this.id = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterTypeConstants.java new file mode 100644 index 00000000..c90ccb99 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterTypeConstants.java @@ -0,0 +1,6 @@ +package org.mustangproject.ZUGFeRD.model; + +public class DocumentContextParameterTypeConstants { + public static final String COMFORT = "urn:ferd:CrossIndustryDocument:invoice:1p0:comfort"; + public static final String EXTENDED = "urn:ferd:CrossIndustryDocument:invoice:1p0:extended"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java deleted file mode 100644 index b3ade434..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java +++ /dev/null @@ -1,102 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r DocumentLineDocumentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="DocumentLineDocumentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="LineID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="IncludedNote" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}NoteType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DocumentLineDocumentType", propOrder = { - "lineID", - "includedNote" -}) -public class DocumentLineDocumentType { - - @XmlElement(name = "LineID") - protected IDType lineID; - @XmlElement(name = "IncludedNote") - protected List includedNote; - - /** - * Ruft den Wert der lineID-Eigenschaft ab. - * - * @return IDType - * - */ - public IDType getLineID() { - return lineID; - } - - /** - * Legt den Wert der lineID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setLineID(IDType value) { - this.lineID = value; - } - - /** - * Gets the value of the includedNote 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 includedNote property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getIncludedNote().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link NoteType } - * - * - */ - public List getIncludedNote() { - if (includedNote == null) { - includedNote = new ArrayList(); - } - return this.includedNote; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java deleted file mode 100644 index a0803d90..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java +++ /dev/null @@ -1,135 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r ExchangedDocumentContextType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ExchangedDocumentContextType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="TestIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/>
- *         <element name="BusinessProcessSpecifiedDocumentContextParameter" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentContextParameterType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="GuidelineSpecifiedDocumentContextParameter" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentContextParameterType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ExchangedDocumentContextType", propOrder = { - "testIndicator", - "businessProcessSpecifiedDocumentContextParameter", - "guidelineSpecifiedDocumentContextParameter" -}) -public class ExchangedDocumentContextType { - - @XmlElement(name = "TestIndicator") - protected IndicatorType testIndicator; - @XmlElement(name = "BusinessProcessSpecifiedDocumentContextParameter") - protected List businessProcessSpecifiedDocumentContextParameter; - @XmlElement(name = "GuidelineSpecifiedDocumentContextParameter") - protected List guidelineSpecifiedDocumentContextParameter; - - /** - * Ruft den Wert der testIndicator-Eigenschaft ab. - * - * @return IndicatorType - * - */ - public IndicatorType getTestIndicator() { - return testIndicator; - } - - /** - * Legt den Wert der testIndicator-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IndicatorType } - * - */ - public void setTestIndicator(IndicatorType value) { - this.testIndicator = value; - } - - /** - * Gets the value of the businessProcessSpecifiedDocumentContextParameter 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 businessProcessSpecifiedDocumentContextParameter property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBusinessProcessSpecifiedDocumentContextParameter().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link DocumentContextParameterType } - * - * - */ - public List getBusinessProcessSpecifiedDocumentContextParameter() { - if (businessProcessSpecifiedDocumentContextParameter == null) { - businessProcessSpecifiedDocumentContextParameter = new ArrayList(); - } - return this.businessProcessSpecifiedDocumentContextParameter; - } - - /** - * Gets the value of the guidelineSpecifiedDocumentContextParameter 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 guidelineSpecifiedDocumentContextParameter property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGuidelineSpecifiedDocumentContextParameter().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link DocumentContextParameterType } - * - * - */ - public List getGuidelineSpecifiedDocumentContextParameter() { - if (guidelineSpecifiedDocumentContextParameter == null) { - guidelineSpecifiedDocumentContextParameter = new ArrayList(); - } - return this.guidelineSpecifiedDocumentContextParameter; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java deleted file mode 100644 index d6b6f2d2..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java +++ /dev/null @@ -1,282 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r ExchangedDocumentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ExchangedDocumentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DocumentCodeType" minOccurs="0"/>
- *         <element name="IssueDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
- *         <element name="CopyIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/>
- *         <element name="LanguageID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="IncludedNote" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}NoteType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="EffectiveSpecifiedPeriod" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SpecifiedPeriodType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ExchangedDocumentType", propOrder = { - "id", - "name", - "typeCode", - "issueDateTime", - "copyIndicator", - "languageID", - "includedNote", - "effectiveSpecifiedPeriod" -}) -public class ExchangedDocumentType { - - @XmlElement(name = "ID") - protected IDType id; - @XmlElement(name = "Name") - protected List name; - @XmlElement(name = "TypeCode") - protected DocumentCodeType typeCode; - @XmlElement(name = "IssueDateTime") - protected DateTimeType issueDateTime; - @XmlElement(name = "CopyIndicator") - protected IndicatorType copyIndicator; - @XmlElement(name = "LanguageID") - protected List languageID; - @XmlElement(name = "IncludedNote") - protected List includedNote; - @XmlElement(name = "EffectiveSpecifiedPeriod") - protected SpecifiedPeriodType effectiveSpecifiedPeriod; - - /** - * Ruft den Wert der id-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getID() { - return id; - } - - /** - * Legt den Wert der id-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setID(IDType value) { - this.id = value; - } - - /** - * Gets the value of the name 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 name property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getName().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getName() { - if (name == null) { - name = new ArrayList(); - } - return this.name; - } - - /** - * Ruft den Wert der typeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link DocumentCodeType } - * - */ - public DocumentCodeType getTypeCode() { - return typeCode; - } - - /** - * Legt den Wert der typeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DocumentCodeType } - * - */ - public void setTypeCode(DocumentCodeType value) { - this.typeCode = value; - } - - /** - * Ruft den Wert der issueDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getIssueDateTime() { - return issueDateTime; - } - - /** - * Legt den Wert der issueDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setIssueDateTime(DateTimeType value) { - this.issueDateTime = value; - } - - /** - * Ruft den Wert der copyIndicator-Eigenschaft ab. - * - * @return - * possible object is - * {@link IndicatorType } - * - */ - public IndicatorType getCopyIndicator() { - return copyIndicator; - } - - /** - * Legt den Wert der copyIndicator-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IndicatorType } - * - */ - public void setCopyIndicator(IndicatorType value) { - this.copyIndicator = value; - } - - /** - * Gets the value of the languageID 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 languageID property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getLanguageID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getLanguageID() { - if (languageID == null) { - languageID = new ArrayList(); - } - return this.languageID; - } - - /** - * Gets the value of the includedNote 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 includedNote property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getIncludedNote().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link NoteType } - * - * - */ - public List getIncludedNote() { - if (includedNote == null) { - includedNote = new ArrayList(); - } - return this.includedNote; - } - - /** - * Ruft den Wert der effectiveSpecifiedPeriod-Eigenschaft ab. - * - * @return - * possible object is - * {@link SpecifiedPeriodType } - * - */ - public SpecifiedPeriodType getEffectiveSpecifiedPeriod() { - return effectiveSpecifiedPeriod; - } - - /** - * Legt den Wert der effectiveSpecifiedPeriod-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SpecifiedPeriodType } - * - */ - public void setEffectiveSpecifiedPeriod(SpecifiedPeriodType value) { - this.effectiveSpecifiedPeriod = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java deleted file mode 100644 index 0ed89ebd..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java +++ /dev/null @@ -1,129 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r IDType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="IDType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>token">
- *       <attribute name="schemeID" type="{http://www.w3.org/2001/XMLSchema}token" />
- *       <attribute name="schemeAgencyID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDTypeSchemeAgencyIDContentType" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "IDType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class IDType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String value; - @XmlAttribute(name = "schemeID") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String schemeID; - @XmlAttribute(name = "schemeAgencyID") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String schemeAgencyID; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Ruft den Wert der schemeID-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSchemeID() { - return schemeID; - } - - /** - * Legt den Wert der schemeID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSchemeID(String value) { - this.schemeID = value; - } - - /** - * Ruft den Wert der schemeAgencyID-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSchemeAgencyID() { - return schemeAgencyID; - } - - /** - * Legt den Wert der schemeAgencyID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSchemeAgencyID(String value) { - this.schemeAgencyID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java deleted file mode 100644 index 0f7d1acf..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r IndicatorType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="IndicatorType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <choice>
- *         <element name="Indicator" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *       </choice>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "IndicatorType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "indicator" -}) -public class IndicatorType { - - @XmlElement(name = "Indicator") - protected Boolean indicator; - - /** - * Ruft den Wert der indicator-Eigenschaft ab. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isIndicator() { - return indicator; - } - - /** - * Legt den Wert der indicator-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setIndicator(Boolean value) { - this.indicator = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java deleted file mode 100644 index 81917725..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java +++ /dev/null @@ -1,142 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r LogisticsServiceChargeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="LogisticsServiceChargeType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AppliedAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AppliedTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LogisticsServiceChargeType", propOrder = { - "description", - "appliedAmount", - "appliedTradeTax" -}) -public class LogisticsServiceChargeType { - - @XmlElement(name = "Description") - protected List description; - @XmlElement(name = "AppliedAmount") - protected List appliedAmount; - @XmlElement(name = "AppliedTradeTax") - protected List appliedTradeTax; - - /** - * Gets the value of the description 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 description property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDescription().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getDescription() { - if (description == null) { - description = new ArrayList(); - } - return this.description; - } - - /** - * Gets the value of the appliedAmount 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 appliedAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAppliedAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getAppliedAmount() { - if (appliedAmount == null) { - appliedAmount = new ArrayList(); - } - return this.appliedAmount; - } - - /** - * Gets the value of the appliedTradeTax 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 appliedTradeTax property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAppliedTradeTax().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeTaxType } - * - * - */ - public List getAppliedTradeTax() { - if (appliedTradeTax == null) { - appliedTradeTax = new ArrayList(); - } - return this.appliedTradeTax; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java deleted file mode 100644 index 9e874472..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java +++ /dev/null @@ -1,97 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r LogisticsTransportMovementType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="LogisticsTransportMovementType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ModeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LogisticsTransportMovementType", propOrder = { - "modeCode", - "id" -}) -public class LogisticsTransportMovementType { - - @XmlElement(name = "ModeCode") - protected CodeType modeCode; - @XmlElement(name = "ID") - protected IDType id; - - /** - * Ruft den Wert der modeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link CodeType } - * - */ - public CodeType getModeCode() { - return modeCode; - } - - /** - * Legt den Wert der modeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CodeType } - * - */ - public void setModeCode(CodeType value) { - this.modeCode = value; - } - - /** - * Ruft den Wert der id-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getID() { - return id; - } - - /** - * Legt den Wert der id-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setID(IDType value) { - this.id = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java deleted file mode 100644 index 0efff587..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java +++ /dev/null @@ -1,98 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import java.math.BigDecimal; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r MeasureType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="MeasureType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
- *       <attribute name="unitCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureTypeUnitCodeContentType" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MeasureType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class MeasureType { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitCode") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String unitCode; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Ruft den Wert der unitCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUnitCode() { - return unitCode; - } - - /** - * Legt den Wert der unitCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUnitCode(String value) { - this.unitCode = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java deleted file mode 100644 index 2be7c6b0..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java +++ /dev/null @@ -1,143 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r NoteType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="NoteType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ContentCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Content" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SubjectCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NoteType", propOrder = { - "contentCode", - "content", - "subjectCode" -}) -public class NoteType { - - public static final String GENERAL = ""; - public static final String REGULARINFO = "REG"; - public static final String PRICECONDITION = "AAK"; - public static final String CONDITIONS = "AAJ"; - public static final String PAYMENTINFO = "PMT"; - - @XmlElement(name = "ContentCode") - protected List contentCode; - @XmlElement(name = "Content") - protected List content; - @XmlElement(name = "SubjectCode") - protected CodeType subjectCode; - - /** - * Gets the value of the contentCode 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 contentCode property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getContentCode().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CodeType } - * - * - */ - public List getContentCode() { - if (contentCode == null) { - contentCode = new ArrayList(); - } - return this.contentCode; - } - - /** - * Gets the value of the content 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 content property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getContent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getContent() { - if (content == null) { - content = new ArrayList(); - } - return this.content; - } - - /** - * Ruft den Wert der subjectCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link CodeType } - * - */ - public CodeType getSubjectCode() { - return subjectCode; - } - - /** - * Legt den Wert der subjectCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CodeType } - * - */ - public void setSubjectCode(CodeType value) { - this.subjectCode = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/NoteTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/NoteTypeConstants.java new file mode 100644 index 00000000..ac01c71d --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/NoteTypeConstants.java @@ -0,0 +1,9 @@ +package org.mustangproject.ZUGFeRD.model; + +public class NoteTypeConstants { + public static final String GENERAL = ""; + public static final String REGULARINFO = "REG"; + public static final String PRICECONDITION = "AAK"; + public static final String CONDITIONS = "AAJ"; + public static final String PAYMENTINFO = "PMT"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java deleted file mode 100644 index 28ed0b5f..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java +++ /dev/null @@ -1,67 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import java.math.BigDecimal; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - *

Java-Klasse f�r NumericType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="NumericType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NumericType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class NumericType { - - @XmlValue - protected BigDecimal value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setValue(BigDecimal value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java deleted file mode 100644 index bc159efe..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java +++ /dev/null @@ -1,533 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.mustangproject.ZUGFeRD.model package. - *

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 _CrossIndustryDocument_QNAME = new QName("urn:ferd:CrossIndustryDocument:invoice:1p0", "CrossIndustryDocument"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.mustangproject.ZUGFeRD.model - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link DateTimeType } - * - */ - public DateTimeType createDateTimeType() { - return new DateTimeType(); - } - - /** - * Create an instance of {@link CrossIndustryDocumentType } - * - */ - public CrossIndustryDocumentType createCrossIndustryDocumentType() { - return new CrossIndustryDocumentType(); - } - - /** - * Create an instance of {@link AllowanceChargeReasonCodeType } - * - */ - public AllowanceChargeReasonCodeType createAllowanceChargeReasonCodeType() { - return new AllowanceChargeReasonCodeType(); - } - - /** - * Create an instance of {@link CountryIDType } - * - */ - public CountryIDType createCountryIDType() { - return new CountryIDType(); - } - - /** - * Create an instance of {@link DeliveryTermsCodeType } - * - */ - public DeliveryTermsCodeType createDeliveryTermsCodeType() { - return new DeliveryTermsCodeType(); - } - - /** - * Create an instance of {@link DocumentCodeType } - * - */ - public DocumentCodeType createDocumentCodeType() { - return new DocumentCodeType(); - } - - /** - * Create an instance of {@link PaymentMeansCodeType } - * - */ - public PaymentMeansCodeType createPaymentMeansCodeType() { - return new PaymentMeansCodeType(); - } - - /** - * Create an instance of {@link ReferenceCodeType } - * - */ - public ReferenceCodeType createReferenceCodeType() { - return new ReferenceCodeType(); - } - - /** - * Create an instance of {@link TaxCategoryCodeType } - * - */ - public TaxCategoryCodeType createTaxCategoryCodeType() { - return new TaxCategoryCodeType(); - } - - /** - * Create an instance of {@link TaxTypeCodeType } - * - */ - public TaxTypeCodeType createTaxTypeCodeType() { - return new TaxTypeCodeType(); - } - - /** - * Create an instance of {@link AmountType } - * - */ - public AmountType createAmountType() { - return new AmountType(); - } - - /** - * Create an instance of {@link CodeType } - * - */ - public CodeType createCodeType() { - return new CodeType(); - } - - /** - * Create an instance of {@link IDType } - * - */ - public IDType createIDType() { - return new IDType(); - } - - /** - * Create an instance of {@link IndicatorType } - * - */ - public IndicatorType createIndicatorType() { - return new IndicatorType(); - } - - /** - * Create an instance of {@link MeasureType } - * - */ - public MeasureType createMeasureType() { - return new MeasureType(); - } - - /** - * Create an instance of {@link NumericType } - * - */ - public NumericType createNumericType() { - return new NumericType(); - } - - /** - * Create an instance of {@link PercentType } - * - */ - public PercentType createPercentType() { - return new PercentType(); - } - - /** - * Create an instance of {@link QuantityType } - * - */ - public QuantityType createQuantityType() { - return new QuantityType(); - } - - /** - * Create an instance of {@link TextType } - * - */ - public TextType createTextType() { - return new TextType(); - } - - /** - * Create an instance of {@link CreditorFinancialAccountType } - * - */ - public CreditorFinancialAccountType createCreditorFinancialAccountType() { - return new CreditorFinancialAccountType(); - } - - /** - * Create an instance of {@link CreditorFinancialInstitutionType } - * - */ - public CreditorFinancialInstitutionType createCreditorFinancialInstitutionType() { - return new CreditorFinancialInstitutionType(); - } - - /** - * Create an instance of {@link DebtorFinancialAccountType } - * - */ - public DebtorFinancialAccountType createDebtorFinancialAccountType() { - return new DebtorFinancialAccountType(); - } - - /** - * Create an instance of {@link DebtorFinancialInstitutionType } - * - */ - public DebtorFinancialInstitutionType createDebtorFinancialInstitutionType() { - return new DebtorFinancialInstitutionType(); - } - - /** - * Create an instance of {@link DocumentContextParameterType } - * - */ - public DocumentContextParameterType createDocumentContextParameterType() { - return new DocumentContextParameterType(); - } - - /** - * Create an instance of {@link DocumentLineDocumentType } - * - */ - public DocumentLineDocumentType createDocumentLineDocumentType() { - return new DocumentLineDocumentType(); - } - - /** - * Create an instance of {@link ExchangedDocumentContextType } - * - */ - public ExchangedDocumentContextType createExchangedDocumentContextType() { - return new ExchangedDocumentContextType(); - } - - /** - * Create an instance of {@link ExchangedDocumentType } - * - */ - public ExchangedDocumentType createExchangedDocumentType() { - return new ExchangedDocumentType(); - } - - /** - * Create an instance of {@link LogisticsServiceChargeType } - * - */ - public LogisticsServiceChargeType createLogisticsServiceChargeType() { - return new LogisticsServiceChargeType(); - } - - /** - * Create an instance of {@link LogisticsTransportMovementType } - * - */ - public LogisticsTransportMovementType createLogisticsTransportMovementType() { - return new LogisticsTransportMovementType(); - } - - /** - * Create an instance of {@link NoteType } - * - */ - public NoteType createNoteType() { - return new NoteType(); - } - - /** - * Create an instance of {@link ProductCharacteristicType } - * - */ - public ProductCharacteristicType createProductCharacteristicType() { - return new ProductCharacteristicType(); - } - - /** - * Create an instance of {@link ProductClassificationType } - * - */ - public ProductClassificationType createProductClassificationType() { - return new ProductClassificationType(); - } - - /** - * Create an instance of {@link ReferencedDocumentType } - * - */ - public ReferencedDocumentType createReferencedDocumentType() { - return new ReferencedDocumentType(); - } - - /** - * Create an instance of {@link ReferencedProductType } - * - */ - public ReferencedProductType createReferencedProductType() { - return new ReferencedProductType(); - } - - /** - * Create an instance of {@link SpecifiedPeriodType } - * - */ - public SpecifiedPeriodType createSpecifiedPeriodType() { - return new SpecifiedPeriodType(); - } - - /** - * Create an instance of {@link SupplyChainConsignmentType } - * - */ - public SupplyChainConsignmentType createSupplyChainConsignmentType() { - return new SupplyChainConsignmentType(); - } - - /** - * Create an instance of {@link SupplyChainEventType } - * - */ - public SupplyChainEventType createSupplyChainEventType() { - return new SupplyChainEventType(); - } - - /** - * Create an instance of {@link SupplyChainTradeAgreementType } - * - */ - public SupplyChainTradeAgreementType createSupplyChainTradeAgreementType() { - return new SupplyChainTradeAgreementType(); - } - - /** - * Create an instance of {@link SupplyChainTradeDeliveryType } - * - */ - public SupplyChainTradeDeliveryType createSupplyChainTradeDeliveryType() { - return new SupplyChainTradeDeliveryType(); - } - - /** - * Create an instance of {@link SupplyChainTradeLineItemType } - * - */ - public SupplyChainTradeLineItemType createSupplyChainTradeLineItemType() { - return new SupplyChainTradeLineItemType(); - } - - /** - * Create an instance of {@link SupplyChainTradeSettlementType } - * - */ - public SupplyChainTradeSettlementType createSupplyChainTradeSettlementType() { - return new SupplyChainTradeSettlementType(); - } - - /** - * Create an instance of {@link SupplyChainTradeTransactionType } - * - */ - public SupplyChainTradeTransactionType createSupplyChainTradeTransactionType() { - return new SupplyChainTradeTransactionType(); - } - - /** - * Create an instance of {@link TaxRegistrationType } - * - */ - public TaxRegistrationType createTaxRegistrationType() { - return new TaxRegistrationType(); - } - - /** - * Create an instance of {@link TradeAccountingAccountType } - * - */ - public TradeAccountingAccountType createTradeAccountingAccountType() { - return new TradeAccountingAccountType(); - } - - /** - * Create an instance of {@link TradeAddressType } - * - */ - public TradeAddressType createTradeAddressType() { - return new TradeAddressType(); - } - - /** - * Create an instance of {@link TradeAllowanceChargeType } - * - */ - public TradeAllowanceChargeType createTradeAllowanceChargeType() { - return new TradeAllowanceChargeType(); - } - - /** - * Create an instance of {@link TradeContactType } - * - */ - public TradeContactType createTradeContactType() { - return new TradeContactType(); - } - - /** - * Create an instance of {@link TradeCountryType } - * - */ - public TradeCountryType createTradeCountryType() { - return new TradeCountryType(); - } - - /** - * Create an instance of {@link TradeDeliveryTermsType } - * - */ - public TradeDeliveryTermsType createTradeDeliveryTermsType() { - return new TradeDeliveryTermsType(); - } - - /** - * Create an instance of {@link TradePartyType } - * - */ - public TradePartyType createTradePartyType() { - return new TradePartyType(); - } - - /** - * Create an instance of {@link TradePaymentDiscountTermsType } - * - */ - public TradePaymentDiscountTermsType createTradePaymentDiscountTermsType() { - return new TradePaymentDiscountTermsType(); - } - - /** - * Create an instance of {@link TradePaymentPenaltyTermsType } - * - */ - public TradePaymentPenaltyTermsType createTradePaymentPenaltyTermsType() { - return new TradePaymentPenaltyTermsType(); - } - - /** - * Create an instance of {@link TradePaymentTermsType } - * - */ - public TradePaymentTermsType createTradePaymentTermsType() { - return new TradePaymentTermsType(); - } - - /** - * Create an instance of {@link TradePriceType } - * - */ - public TradePriceType createTradePriceType() { - return new TradePriceType(); - } - - /** - * Create an instance of {@link TradeProductType } - * - */ - public TradeProductType createTradeProductType() { - return new TradeProductType(); - } - - /** - * Create an instance of {@link TradeSettlementMonetarySummationType } - * - */ - public TradeSettlementMonetarySummationType createTradeSettlementMonetarySummationType() { - return new TradeSettlementMonetarySummationType(); - } - - /** - * Create an instance of {@link TradeSettlementPaymentMeansType } - * - */ - public TradeSettlementPaymentMeansType createTradeSettlementPaymentMeansType() { - return new TradeSettlementPaymentMeansType(); - } - - /** - * Create an instance of {@link TradeTaxType } - * - */ - public TradeTaxType createTradeTaxType() { - return new TradeTaxType(); - } - - /** - * Create an instance of {@link UniversalCommunicationType } - * - */ - public UniversalCommunicationType createUniversalCommunicationType() { - return new UniversalCommunicationType(); - } - - /** - * Create an instance of {@link DateTimeType.DateTimeString } - * - */ - public DateTimeType.DateTimeString createDateTimeTypeDateTimeString() { - return new DateTimeType.DateTimeString(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CrossIndustryDocumentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:ferd:CrossIndustryDocument:invoice:1p0", name = "CrossIndustryDocument") - public JAXBElement createCrossIndustryDocument(CrossIndustryDocumentType value) { - return new JAXBElement(_CrossIndustryDocument_QNAME, CrossIndustryDocumentType.class, null, value); - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java deleted file mode 100644 index b8a9d66e..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java +++ /dev/null @@ -1,79 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r PaymentMeansCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="PaymentMeansCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>PaymentMeansCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PaymentMeansCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class PaymentMeansCodeType { - - public static final String BANKACCOUNT = "42"; - public static final String NOTSPECIFIED = "1"; - public static final String AUTOMATICCLEARING = "3"; - public static final String CASH = "10"; - public static final String CHECK = "20"; - public static final String DEBITADVICE = "31"; - public static final String CREDITCARD = "48"; - public static final String DEBIT = "49"; - public static final String COMPENSATION = "97"; - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeTypeConstants.java new file mode 100644 index 00000000..6cd01ddc --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeTypeConstants.java @@ -0,0 +1,13 @@ +package org.mustangproject.ZUGFeRD.model; + +public class PaymentMeansCodeTypeConstants { + public static final String BANKACCOUNT = "42"; + public static final String NOTSPECIFIED = "1"; + public static final String AUTOMATICCLEARING = "3"; + public static final String CASH = "10"; + public static final String CHECK = "20"; + public static final String DEBITADVICE = "31"; + public static final String CREDITCARD = "48"; + public static final String DEBIT = "49"; + public static final String COMPENSATION = "97"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java deleted file mode 100644 index 8cf77697..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java +++ /dev/null @@ -1,67 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import java.math.BigDecimal; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - *

Java-Klasse f�r PercentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="PercentType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PercentType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class PercentType { - - @XmlValue - protected BigDecimal value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setValue(BigDecimal value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java deleted file mode 100644 index fa5b3a06..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java +++ /dev/null @@ -1,175 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r ProductCharacteristicType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ProductCharacteristicType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ValueMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Value" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductCharacteristicType", propOrder = { - "typeCode", - "description", - "valueMeasure", - "value" -}) -public class ProductCharacteristicType { - - @XmlElement(name = "TypeCode") - protected List typeCode; - @XmlElement(name = "Description") - protected List description; - @XmlElement(name = "ValueMeasure") - protected List valueMeasure; - @XmlElement(name = "Value") - protected List value; - - /** - * Gets the value of the typeCode 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 typeCode property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTypeCode().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CodeType } - * - * - */ - public List getTypeCode() { - if (typeCode == null) { - typeCode = new ArrayList(); - } - return this.typeCode; - } - - /** - * Gets the value of the description 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 description property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDescription().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getDescription() { - if (description == null) { - description = new ArrayList(); - } - return this.description; - } - - /** - * Gets the value of the valueMeasure 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 valueMeasure property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getValueMeasure().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link MeasureType } - * - * - */ - public List getValueMeasure() { - if (valueMeasure == null) { - valueMeasure = new ArrayList(); - } - return this.valueMeasure; - } - - /** - * Gets the value of the value 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 value property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getValue().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java deleted file mode 100644 index dedd58da..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java +++ /dev/null @@ -1,104 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r ProductClassificationType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ProductClassificationType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ClassCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/>
- *         <element name="ClassName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductClassificationType", propOrder = { - "classCode", - "className" -}) -public class ProductClassificationType { - - @XmlElement(name = "ClassCode") - protected CodeType classCode; - @XmlElement(name = "ClassName") - protected List className; - - /** - * Ruft den Wert der classCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link CodeType } - * - */ - public CodeType getClassCode() { - return classCode; - } - - /** - * Legt den Wert der classCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CodeType } - * - */ - public void setClassCode(CodeType value) { - this.classCode = value; - } - - /** - * Gets the value of the className 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 className property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getClassName().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getClassName() { - if (className == null) { - className = new ArrayList(); - } - return this.className; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java deleted file mode 100644 index 01ee7b7f..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java +++ /dev/null @@ -1,120 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import java.math.BigDecimal; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r QuantityType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="QuantityType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
- *       <attribute name="unitCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityTypeUnitCodeContentType" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "QuantityType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class QuantityType { - - public static final String PIECE = "C62"; - public static final String DAY = "DAY"; - public static final String HECTARE = "HAR"; - public static final String HOUR = "HUR"; - public static final String KILOGRAM = "KGM"; - public static final String KILOMETER = "KTM"; - public static final String KILOWATTHOUR = "KWH"; - public static final String FIXEDRATE = "LS"; - public static final String LITRE = "LTR"; - public static final String MINUTE = "MIN"; - public static final String SQUAREMILLIMETER = "MMK"; - public static final String MILLIMETER = "MMT"; - public static final String SQUAREMETER = "MTK"; - public static final String CUBICMETER = "MTQ"; - public static final String METER = "MTR"; - public static final String PRODUCTCOUNT = "NAR"; - public static final String PRODUCTPAIR = "NPR"; - public static final String PERCENT = "P1"; - public static final String SET = "SET"; - public static final String TON = "TNE"; - public static final String WEEK = "WEE"; - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitCode") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String unitCode; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Ruft den Wert der unitCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUnitCode() { - return unitCode; - } - - /** - * Legt den Wert der unitCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUnitCode(String value) { - this.unitCode = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityTypeConstants.java new file mode 100644 index 00000000..f7a2c8c1 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityTypeConstants.java @@ -0,0 +1,25 @@ +package org.mustangproject.ZUGFeRD.model; + +public class QuantityTypeConstants { + public static final String PIECE = "C62"; + public static final String DAY = "DAY"; + public static final String HECTARE = "HAR"; + public static final String HOUR = "HUR"; + public static final String KILOGRAM = "KGM"; + public static final String KILOMETER = "KTM"; + public static final String KILOWATTHOUR = "KWH"; + public static final String FIXEDRATE = "LS"; + public static final String LITRE = "LTR"; + public static final String MINUTE = "MIN"; + public static final String SQUAREMILLIMETER = "MMK"; + public static final String MILLIMETER = "MMT"; + public static final String SQUAREMETER = "MTK"; + public static final String CUBICMETER = "MTQ"; + public static final String METER = "MTR"; + public static final String PRODUCTCOUNT = "NAR"; + public static final String PRODUCTPAIR = "NPR"; + public static final String PERCENT = "P1"; + public static final String SET = "SET"; + public static final String TON = "TNE"; + public static final String WEEK = "WEE"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java deleted file mode 100644 index bec47d24..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r ReferenceCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ReferenceCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>ReferenceCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ReferenceCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class ReferenceCodeType { - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java deleted file mode 100644 index dc4706ff..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java +++ /dev/null @@ -1,190 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java-Klasse f�r ReferencedDocumentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ReferencedDocumentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="IssueDateTime" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DateMandatoryDateTimeType" minOccurs="0"/>
- *         <element name="LineID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DocumentCodeType" minOccurs="0"/>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ReferenceTypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}ReferenceCodeType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ReferencedDocumentType", propOrder = { - "issueDateTime", - "lineID", - "typeCode", - "id", - "referenceTypeCode" -}) -public class ReferencedDocumentType { - - @XmlElement(name = "IssueDateTime") - @XmlSchemaType(name = "anySimpleType") - protected String issueDateTime; - @XmlElement(name = "LineID") - protected IDType lineID; - @XmlElement(name = "TypeCode") - protected DocumentCodeType typeCode; - @XmlElement(name = "ID") - protected List id; - @XmlElement(name = "ReferenceTypeCode") - protected ReferenceCodeType referenceTypeCode; - - /** - * Ruft den Wert der issueDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIssueDateTime() { - return issueDateTime; - } - - /** - * Legt den Wert der issueDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIssueDateTime(String value) { - this.issueDateTime = value; - } - - /** - * Ruft den Wert der lineID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getLineID() { - return lineID; - } - - /** - * Legt den Wert der lineID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setLineID(IDType value) { - this.lineID = value; - } - - /** - * Ruft den Wert der typeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link DocumentCodeType } - * - */ - public DocumentCodeType getTypeCode() { - return typeCode; - } - - /** - * Legt den Wert der typeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DocumentCodeType } - * - */ - public void setTypeCode(DocumentCodeType value) { - this.typeCode = value; - } - - /** - * Gets the value of the id 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 id property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getID() { - if (id == null) { - id = new ArrayList(); - } - return this.id; - } - - /** - * Ruft den Wert der referenceTypeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link ReferenceCodeType } - * - */ - public ReferenceCodeType getReferenceTypeCode() { - return referenceTypeCode; - } - - /** - * Legt den Wert der referenceTypeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link ReferenceCodeType } - * - */ - public void setReferenceTypeCode(ReferenceCodeType value) { - this.referenceTypeCode = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java deleted file mode 100644 index 646dcd9e..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java +++ /dev/null @@ -1,231 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r ReferencedProductType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="ReferencedProductType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SellerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="BuyerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="UnitQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ReferencedProductType", propOrder = { - "globalID", - "sellerAssignedID", - "buyerAssignedID", - "name", - "description", - "unitQuantity" -}) -public class ReferencedProductType { - - @XmlElement(name = "GlobalID") - protected List globalID; - @XmlElement(name = "SellerAssignedID") - protected IDType sellerAssignedID; - @XmlElement(name = "BuyerAssignedID") - protected IDType buyerAssignedID; - @XmlElement(name = "Name") - protected List name; - @XmlElement(name = "Description") - protected List description; - @XmlElement(name = "UnitQuantity") - protected List unitQuantity; - - /** - * Gets the value of the globalID 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 globalID property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGlobalID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getGlobalID() { - if (globalID == null) { - globalID = new ArrayList(); - } - return this.globalID; - } - - /** - * Ruft den Wert der sellerAssignedID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getSellerAssignedID() { - return sellerAssignedID; - } - - /** - * Legt den Wert der sellerAssignedID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setSellerAssignedID(IDType value) { - this.sellerAssignedID = value; - } - - /** - * Ruft den Wert der buyerAssignedID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getBuyerAssignedID() { - return buyerAssignedID; - } - - /** - * Legt den Wert der buyerAssignedID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setBuyerAssignedID(IDType value) { - this.buyerAssignedID = value; - } - - /** - * Gets the value of the name 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 name property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getName().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getName() { - if (name == null) { - name = new ArrayList(); - } - return this.name; - } - - /** - * Gets the value of the description 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 description property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDescription().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getDescription() { - if (description == null) { - description = new ArrayList(); - } - return this.description; - } - - /** - * Gets the value of the unitQuantity 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 unitQuantity property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getUnitQuantity().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link QuantityType } - * - * - */ - public List getUnitQuantity() { - if (unitQuantity == null) { - unitQuantity = new ArrayList(); - } - return this.unitQuantity; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java deleted file mode 100644 index f1823e47..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java +++ /dev/null @@ -1,125 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r SpecifiedPeriodType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * 
- *   
- *     
- *       
- *         
- *         
- *         
- *       
- *     
- *   
- * 
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SpecifiedPeriodType", propOrder = { - "startDateTime", - "endDateTime", - "completeDateTime" -}) -public class SpecifiedPeriodType { - - @XmlElement(name = "StartDateTime") - protected DateTimeType startDateTime; - @XmlElement(name = "EndDateTime") - protected DateTimeType endDateTime; - @XmlElement(name = "CompleteDateTime") - protected DateTimeType completeDateTime; - - /** - * Ruft den Wert der startDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getStartDateTime() { - return startDateTime; - } - - /** - * Legt den Wert der startDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setStartDateTime(DateTimeType value) { - this.startDateTime = value; - } - - /** - * Ruft den Wert der endDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getEndDateTime() { - return endDateTime; - } - - /** - * Legt den Wert der endDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setEndDateTime(DateTimeType value) { - this.endDateTime = value; - } - - /** - * Ruft den Wert der completeDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getCompleteDateTime() { - return completeDateTime; - } - - /** - * Legt den Wert der completeDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setCompleteDateTime(DateTimeType value) { - this.completeDateTime = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java deleted file mode 100644 index cdb08594..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java +++ /dev/null @@ -1,76 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainConsignmentType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainConsignmentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="SpecifiedLogisticsTransportMovement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}LogisticsTransportMovementType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainConsignmentType", propOrder = { - "specifiedLogisticsTransportMovement" -}) -public class SupplyChainConsignmentType { - - @XmlElement(name = "SpecifiedLogisticsTransportMovement") - protected List specifiedLogisticsTransportMovement; - - /** - * Gets the value of the specifiedLogisticsTransportMovement 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 specifiedLogisticsTransportMovement property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedLogisticsTransportMovement().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link LogisticsTransportMovementType } - * - * - */ - public List getSpecifiedLogisticsTransportMovement() { - if (specifiedLogisticsTransportMovement == null) { - specifiedLogisticsTransportMovement = new ArrayList(); - } - return this.specifiedLogisticsTransportMovement; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java deleted file mode 100644 index aaf14cb0..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java +++ /dev/null @@ -1,76 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainEventType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainEventType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="OccurrenceDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainEventType", propOrder = { - "occurrenceDateTime" -}) -public class SupplyChainEventType { - - @XmlElement(name = "OccurrenceDateTime") - protected List occurrenceDateTime; - - /** - * Gets the value of the occurrenceDateTime 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 occurrenceDateTime property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getOccurrenceDateTime().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link DateTimeType } - * - * - */ - public List getOccurrenceDateTime() { - if (occurrenceDateTime == null) { - occurrenceDateTime = new ArrayList(); - } - return this.occurrenceDateTime; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java deleted file mode 100644 index 3372b779..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java +++ /dev/null @@ -1,386 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainTradeAgreementType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainTradeAgreementType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BuyerReference" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SellerTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="BuyerTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="ProductEndUserTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="ApplicableTradeDeliveryTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeDeliveryTermsType" minOccurs="0"/>
- *         <element name="BuyerOrderReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ContractReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AdditionalReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="GrossPriceProductTradePrice" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePriceType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="NetPriceProductTradePrice" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePriceType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="CustomerOrderReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainTradeAgreementType", propOrder = { - "buyerReference", - "sellerTradeParty", - "buyerTradeParty", - "productEndUserTradeParty", - "applicableTradeDeliveryTerms", - "buyerOrderReferencedDocument", - "contractReferencedDocument", - "additionalReferencedDocument", - "grossPriceProductTradePrice", - "netPriceProductTradePrice", - "customerOrderReferencedDocument" -}) -public class SupplyChainTradeAgreementType { - - @XmlElement(name = "BuyerReference") - protected List buyerReference; - @XmlElement(name = "SellerTradeParty") - protected TradePartyType sellerTradeParty; - @XmlElement(name = "BuyerTradeParty") - protected TradePartyType buyerTradeParty; - @XmlElement(name = "ProductEndUserTradeParty") - protected TradePartyType productEndUserTradeParty; - @XmlElement(name = "ApplicableTradeDeliveryTerms") - protected TradeDeliveryTermsType applicableTradeDeliveryTerms; - @XmlElement(name = "BuyerOrderReferencedDocument") - protected List buyerOrderReferencedDocument; - @XmlElement(name = "ContractReferencedDocument") - protected List contractReferencedDocument; - @XmlElement(name = "AdditionalReferencedDocument") - protected List additionalReferencedDocument; - @XmlElement(name = "GrossPriceProductTradePrice") - protected List grossPriceProductTradePrice; - @XmlElement(name = "NetPriceProductTradePrice") - protected List netPriceProductTradePrice; - @XmlElement(name = "CustomerOrderReferencedDocument") - protected List customerOrderReferencedDocument; - - /** - * Gets the value of the buyerReference 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 buyerReference property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBuyerReference().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getBuyerReference() { - if (buyerReference == null) { - buyerReference = new ArrayList(); - } - return this.buyerReference; - } - - /** - * Ruft den Wert der sellerTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getSellerTradeParty() { - return sellerTradeParty; - } - - /** - * Legt den Wert der sellerTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setSellerTradeParty(TradePartyType value) { - this.sellerTradeParty = value; - } - - /** - * Ruft den Wert der buyerTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getBuyerTradeParty() { - return buyerTradeParty; - } - - /** - * Legt den Wert der buyerTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setBuyerTradeParty(TradePartyType value) { - this.buyerTradeParty = value; - } - - /** - * Ruft den Wert der productEndUserTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getProductEndUserTradeParty() { - return productEndUserTradeParty; - } - - /** - * Legt den Wert der productEndUserTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setProductEndUserTradeParty(TradePartyType value) { - this.productEndUserTradeParty = value; - } - - /** - * Ruft den Wert der applicableTradeDeliveryTerms-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradeDeliveryTermsType } - * - */ - public TradeDeliveryTermsType getApplicableTradeDeliveryTerms() { - return applicableTradeDeliveryTerms; - } - - /** - * Legt den Wert der applicableTradeDeliveryTerms-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradeDeliveryTermsType } - * - */ - public void setApplicableTradeDeliveryTerms(TradeDeliveryTermsType value) { - this.applicableTradeDeliveryTerms = value; - } - - /** - * Gets the value of the buyerOrderReferencedDocument 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 buyerOrderReferencedDocument property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBuyerOrderReferencedDocument().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedDocumentType } - * - * - */ - public List getBuyerOrderReferencedDocument() { - if (buyerOrderReferencedDocument == null) { - buyerOrderReferencedDocument = new ArrayList(); - } - return this.buyerOrderReferencedDocument; - } - - /** - * Gets the value of the contractReferencedDocument 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 contractReferencedDocument property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getContractReferencedDocument().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedDocumentType } - * - * - */ - public List getContractReferencedDocument() { - if (contractReferencedDocument == null) { - contractReferencedDocument = new ArrayList(); - } - return this.contractReferencedDocument; - } - - /** - * Gets the value of the additionalReferencedDocument 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 additionalReferencedDocument property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAdditionalReferencedDocument().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedDocumentType } - * - * - */ - public List getAdditionalReferencedDocument() { - if (additionalReferencedDocument == null) { - additionalReferencedDocument = new ArrayList(); - } - return this.additionalReferencedDocument; - } - - /** - * Gets the value of the grossPriceProductTradePrice 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 grossPriceProductTradePrice property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGrossPriceProductTradePrice().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePriceType } - * - * - */ - public List getGrossPriceProductTradePrice() { - if (grossPriceProductTradePrice == null) { - grossPriceProductTradePrice = new ArrayList(); - } - return this.grossPriceProductTradePrice; - } - - /** - * Gets the value of the netPriceProductTradePrice 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 netPriceProductTradePrice property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getNetPriceProductTradePrice().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePriceType } - * - * - */ - public List getNetPriceProductTradePrice() { - if (netPriceProductTradePrice == null) { - netPriceProductTradePrice = new ArrayList(); - } - return this.netPriceProductTradePrice; - } - - /** - * Gets the value of the customerOrderReferencedDocument 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 customerOrderReferencedDocument property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCustomerOrderReferencedDocument().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedDocumentType } - * - * - */ - public List getCustomerOrderReferencedDocument() { - if (customerOrderReferencedDocument == null) { - customerOrderReferencedDocument = new ArrayList(); - } - return this.customerOrderReferencedDocument; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java deleted file mode 100644 index a48ae1b6..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java +++ /dev/null @@ -1,366 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainTradeDeliveryType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainTradeDeliveryType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BilledQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
- *         <element name="ChargeFreeQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
- *         <element name="PackageQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
- *         <element name="RelatedSupplyChainConsignment" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainConsignmentType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ShipToTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="UltimateShipToTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="ShipFromTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="ActualDeliverySupplyChainEvent" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainEventType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="DespatchAdviceReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" minOccurs="0"/>
- *         <element name="ReceivingAdviceReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="DeliveryNoteReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainTradeDeliveryType", propOrder = { - "billedQuantity", - "chargeFreeQuantity", - "packageQuantity", - "relatedSupplyChainConsignment", - "shipToTradeParty", - "ultimateShipToTradeParty", - "shipFromTradeParty", - "actualDeliverySupplyChainEvent", - "despatchAdviceReferencedDocument", - "receivingAdviceReferencedDocument", - "deliveryNoteReferencedDocument" -}) -public class SupplyChainTradeDeliveryType { - - @XmlElement(name = "BilledQuantity") - protected QuantityType billedQuantity; - @XmlElement(name = "ChargeFreeQuantity") - protected QuantityType chargeFreeQuantity; - @XmlElement(name = "PackageQuantity") - protected QuantityType packageQuantity; - @XmlElement(name = "RelatedSupplyChainConsignment") - protected List relatedSupplyChainConsignment; - @XmlElement(name = "ShipToTradeParty") - protected TradePartyType shipToTradeParty; - @XmlElement(name = "UltimateShipToTradeParty") - protected TradePartyType ultimateShipToTradeParty; - @XmlElement(name = "ShipFromTradeParty") - protected TradePartyType shipFromTradeParty; - @XmlElement(name = "ActualDeliverySupplyChainEvent") - protected List actualDeliverySupplyChainEvent; - @XmlElement(name = "DespatchAdviceReferencedDocument") - protected ReferencedDocumentType despatchAdviceReferencedDocument; - @XmlElement(name = "ReceivingAdviceReferencedDocument") - protected List receivingAdviceReferencedDocument; - @XmlElement(name = "DeliveryNoteReferencedDocument") - protected ReferencedDocumentType deliveryNoteReferencedDocument; - - /** - * Ruft den Wert der billedQuantity-Eigenschaft ab. - * - * @return - * possible object is - * {@link QuantityType } - * - */ - public QuantityType getBilledQuantity() { - return billedQuantity; - } - - /** - * Legt den Wert der billedQuantity-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link QuantityType } - * - */ - public void setBilledQuantity(QuantityType value) { - this.billedQuantity = value; - } - - /** - * Ruft den Wert der chargeFreeQuantity-Eigenschaft ab. - * - * @return - * possible object is - * {@link QuantityType } - * - */ - public QuantityType getChargeFreeQuantity() { - return chargeFreeQuantity; - } - - /** - * Legt den Wert der chargeFreeQuantity-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link QuantityType } - * - */ - public void setChargeFreeQuantity(QuantityType value) { - this.chargeFreeQuantity = value; - } - - /** - * Ruft den Wert der packageQuantity-Eigenschaft ab. - * - * @return - * possible object is - * {@link QuantityType } - * - */ - public QuantityType getPackageQuantity() { - return packageQuantity; - } - - /** - * Legt den Wert der packageQuantity-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link QuantityType } - * - */ - public void setPackageQuantity(QuantityType value) { - this.packageQuantity = value; - } - - /** - * Gets the value of the relatedSupplyChainConsignment 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 relatedSupplyChainConsignment property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getRelatedSupplyChainConsignment().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link SupplyChainConsignmentType } - * - * - */ - public List getRelatedSupplyChainConsignment() { - if (relatedSupplyChainConsignment == null) { - relatedSupplyChainConsignment = new ArrayList(); - } - return this.relatedSupplyChainConsignment; - } - - /** - * Ruft den Wert der shipToTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getShipToTradeParty() { - return shipToTradeParty; - } - - /** - * Legt den Wert der shipToTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setShipToTradeParty(TradePartyType value) { - this.shipToTradeParty = value; - } - - /** - * Ruft den Wert der ultimateShipToTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getUltimateShipToTradeParty() { - return ultimateShipToTradeParty; - } - - /** - * Legt den Wert der ultimateShipToTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setUltimateShipToTradeParty(TradePartyType value) { - this.ultimateShipToTradeParty = value; - } - - /** - * Ruft den Wert der shipFromTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getShipFromTradeParty() { - return shipFromTradeParty; - } - - /** - * Legt den Wert der shipFromTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setShipFromTradeParty(TradePartyType value) { - this.shipFromTradeParty = value; - } - - /** - * Gets the value of the actualDeliverySupplyChainEvent 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 actualDeliverySupplyChainEvent property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getActualDeliverySupplyChainEvent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link SupplyChainEventType } - * - * - */ - public List getActualDeliverySupplyChainEvent() { - if (actualDeliverySupplyChainEvent == null) { - actualDeliverySupplyChainEvent = new ArrayList(); - } - return this.actualDeliverySupplyChainEvent; - } - - /** - * Ruft den Wert der despatchAdviceReferencedDocument-Eigenschaft ab. - * - * @return - * possible object is - * {@link ReferencedDocumentType } - * - */ - public ReferencedDocumentType getDespatchAdviceReferencedDocument() { - return despatchAdviceReferencedDocument; - } - - /** - * Legt den Wert der despatchAdviceReferencedDocument-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link ReferencedDocumentType } - * - */ - public void setDespatchAdviceReferencedDocument(ReferencedDocumentType value) { - this.despatchAdviceReferencedDocument = value; - } - - /** - * Gets the value of the receivingAdviceReferencedDocument 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 receivingAdviceReferencedDocument property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getReceivingAdviceReferencedDocument().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedDocumentType } - * - * - */ - public List getReceivingAdviceReferencedDocument() { - if (receivingAdviceReferencedDocument == null) { - receivingAdviceReferencedDocument = new ArrayList(); - } - return this.receivingAdviceReferencedDocument; - } - - /** - * Ruft den Wert der deliveryNoteReferencedDocument-Eigenschaft ab. - * - * @return - * possible object is - * {@link ReferencedDocumentType } - * - */ - public ReferencedDocumentType getDeliveryNoteReferencedDocument() { - return deliveryNoteReferencedDocument; - } - - /** - * Legt den Wert der deliveryNoteReferencedDocument-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link ReferencedDocumentType } - * - */ - public void setDeliveryNoteReferencedDocument(ReferencedDocumentType value) { - this.deliveryNoteReferencedDocument = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java deleted file mode 100644 index 84846eca..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java +++ /dev/null @@ -1,181 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r SupplyChainTradeLineItemType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainTradeLineItemType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="AssociatedDocumentLineDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentLineDocumentType" minOccurs="0"/>
- *         <element name="SpecifiedSupplyChainTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeAgreementType" minOccurs="0"/>
- *         <element name="SpecifiedSupplyChainTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeDeliveryType" minOccurs="0"/>
- *         <element name="SpecifiedSupplyChainTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeSettlementType" minOccurs="0"/>
- *         <element name="SpecifiedTradeProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeProductType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainTradeLineItemType", propOrder = { - "associatedDocumentLineDocument", - "specifiedSupplyChainTradeAgreement", - "specifiedSupplyChainTradeDelivery", - "specifiedSupplyChainTradeSettlement", - "specifiedTradeProduct" -}) -public class SupplyChainTradeLineItemType { - - @XmlElement(name = "AssociatedDocumentLineDocument") - protected DocumentLineDocumentType associatedDocumentLineDocument; - @XmlElement(name = "SpecifiedSupplyChainTradeAgreement") - protected SupplyChainTradeAgreementType specifiedSupplyChainTradeAgreement; - @XmlElement(name = "SpecifiedSupplyChainTradeDelivery") - protected SupplyChainTradeDeliveryType specifiedSupplyChainTradeDelivery; - @XmlElement(name = "SpecifiedSupplyChainTradeSettlement") - protected SupplyChainTradeSettlementType specifiedSupplyChainTradeSettlement; - @XmlElement(name = "SpecifiedTradeProduct") - protected TradeProductType specifiedTradeProduct; - - /** - * Ruft den Wert der associatedDocumentLineDocument-Eigenschaft ab. - * - * @return - * possible object is - * {@link DocumentLineDocumentType } - * - */ - public DocumentLineDocumentType getAssociatedDocumentLineDocument() { - return associatedDocumentLineDocument; - } - - /** - * Legt den Wert der associatedDocumentLineDocument-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DocumentLineDocumentType } - * - */ - public void setAssociatedDocumentLineDocument(DocumentLineDocumentType value) { - this.associatedDocumentLineDocument = value; - } - - /** - * Ruft den Wert der specifiedSupplyChainTradeAgreement-Eigenschaft ab. - * - * @return - * possible object is - * {@link SupplyChainTradeAgreementType } - * - */ - public SupplyChainTradeAgreementType getSpecifiedSupplyChainTradeAgreement() { - return specifiedSupplyChainTradeAgreement; - } - - /** - * Legt den Wert der specifiedSupplyChainTradeAgreement-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeAgreementType } - * - */ - public void setSpecifiedSupplyChainTradeAgreement(SupplyChainTradeAgreementType value) { - this.specifiedSupplyChainTradeAgreement = value; - } - - /** - * Ruft den Wert der specifiedSupplyChainTradeDelivery-Eigenschaft ab. - * - * @return - * possible object is - * {@link SupplyChainTradeDeliveryType } - * - */ - public SupplyChainTradeDeliveryType getSpecifiedSupplyChainTradeDelivery() { - return specifiedSupplyChainTradeDelivery; - } - - /** - * Legt den Wert der specifiedSupplyChainTradeDelivery-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeDeliveryType } - * - */ - public void setSpecifiedSupplyChainTradeDelivery(SupplyChainTradeDeliveryType value) { - this.specifiedSupplyChainTradeDelivery = value; - } - - /** - * Ruft den Wert der specifiedSupplyChainTradeSettlement-Eigenschaft ab. - * - * @return - * possible object is - * {@link SupplyChainTradeSettlementType } - * - */ - public SupplyChainTradeSettlementType getSpecifiedSupplyChainTradeSettlement() { - return specifiedSupplyChainTradeSettlement; - } - - /** - * Legt den Wert der specifiedSupplyChainTradeSettlement-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeSettlementType } - * - */ - public void setSpecifiedSupplyChainTradeSettlement(SupplyChainTradeSettlementType value) { - this.specifiedSupplyChainTradeSettlement = value; - } - - /** - * Ruft den Wert der specifiedTradeProduct-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradeProductType } - * - */ - public TradeProductType getSpecifiedTradeProduct() { - return specifiedTradeProduct; - } - - /** - * Legt den Wert der specifiedTradeProduct-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradeProductType } - * - */ - public void setSpecifiedTradeProduct(TradeProductType value) { - this.specifiedTradeProduct = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java deleted file mode 100644 index f4cfd4f4..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java +++ /dev/null @@ -1,457 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainTradeSettlementType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainTradeSettlementType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="PaymentReference" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="InvoiceCurrencyCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/>
- *         <element name="InvoiceeTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/>
- *         <element name="PayeeTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedTradeSettlementPaymentMeans" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeSettlementPaymentMeansType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ApplicableTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="BillingSpecifiedPeriod" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SpecifiedPeriodType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedLogisticsServiceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}LogisticsServiceChargeType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedTradePaymentTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentTermsType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedTradeAccountingAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAccountingAccountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SpecifiedTradeSettlementMonetarySummation" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeSettlementMonetarySummationType" minOccurs="0"/>
- *         <element name="ReceivableSpecifiedTradeAccountingAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAccountingAccountType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainTradeSettlementType", propOrder = { - "paymentReference", - "invoiceCurrencyCode", - "invoiceeTradeParty", - "payeeTradeParty", - "specifiedTradeSettlementPaymentMeans", - "applicableTradeTax", - "billingSpecifiedPeriod", - "specifiedTradeAllowanceCharge", - "specifiedLogisticsServiceCharge", - "specifiedTradePaymentTerms", - "specifiedTradeAccountingAccount", - "specifiedTradeSettlementMonetarySummation", - "receivableSpecifiedTradeAccountingAccount" -}) -public class SupplyChainTradeSettlementType { - - @XmlElement(name = "PaymentReference") - protected List paymentReference; - @XmlElement(name = "InvoiceCurrencyCode") - protected CodeType invoiceCurrencyCode; - @XmlElement(name = "InvoiceeTradeParty") - protected TradePartyType invoiceeTradeParty; - @XmlElement(name = "PayeeTradeParty") - protected List payeeTradeParty; - @XmlElement(name = "SpecifiedTradeSettlementPaymentMeans") - protected List specifiedTradeSettlementPaymentMeans; - @XmlElement(name = "ApplicableTradeTax") - protected List applicableTradeTax; - @XmlElement(name = "BillingSpecifiedPeriod") - protected List billingSpecifiedPeriod; - @XmlElement(name = "SpecifiedTradeAllowanceCharge") - protected List specifiedTradeAllowanceCharge; - @XmlElement(name = "SpecifiedLogisticsServiceCharge") - protected List specifiedLogisticsServiceCharge; - @XmlElement(name = "SpecifiedTradePaymentTerms") - protected List specifiedTradePaymentTerms; - @XmlElement(name = "SpecifiedTradeAccountingAccount") - protected List specifiedTradeAccountingAccount; - @XmlElement(name = "SpecifiedTradeSettlementMonetarySummation") - protected TradeSettlementMonetarySummationType specifiedTradeSettlementMonetarySummation; - @XmlElement(name = "ReceivableSpecifiedTradeAccountingAccount") - protected List receivableSpecifiedTradeAccountingAccount; - - /** - * Gets the value of the paymentReference 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 paymentReference property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPaymentReference().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getPaymentReference() { - if (paymentReference == null) { - paymentReference = new ArrayList(); - } - return this.paymentReference; - } - - /** - * Ruft den Wert der invoiceCurrencyCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link CodeType } - * - */ - public CodeType getInvoiceCurrencyCode() { - return invoiceCurrencyCode; - } - - /** - * Legt den Wert der invoiceCurrencyCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CodeType } - * - */ - public void setInvoiceCurrencyCode(CodeType value) { - this.invoiceCurrencyCode = value; - } - - /** - * Ruft den Wert der invoiceeTradeParty-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradePartyType } - * - */ - public TradePartyType getInvoiceeTradeParty() { - return invoiceeTradeParty; - } - - /** - * Legt den Wert der invoiceeTradeParty-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradePartyType } - * - */ - public void setInvoiceeTradeParty(TradePartyType value) { - this.invoiceeTradeParty = value; - } - - /** - * Gets the value of the payeeTradeParty 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 payeeTradeParty property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPayeeTradeParty().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePartyType } - * - * - */ - public List getPayeeTradeParty() { - if (payeeTradeParty == null) { - payeeTradeParty = new ArrayList(); - } - return this.payeeTradeParty; - } - - /** - * Gets the value of the specifiedTradeSettlementPaymentMeans 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 specifiedTradeSettlementPaymentMeans property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedTradeSettlementPaymentMeans().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeSettlementPaymentMeansType } - * - * - */ - public List getSpecifiedTradeSettlementPaymentMeans() { - if (specifiedTradeSettlementPaymentMeans == null) { - specifiedTradeSettlementPaymentMeans = new ArrayList(); - } - return this.specifiedTradeSettlementPaymentMeans; - } - - /** - * Gets the value of the applicableTradeTax 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 applicableTradeTax property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getApplicableTradeTax().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeTaxType } - * - * - */ - public List getApplicableTradeTax() { - if (applicableTradeTax == null) { - applicableTradeTax = new ArrayList(); - } - return this.applicableTradeTax; - } - - /** - * Gets the value of the billingSpecifiedPeriod 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 billingSpecifiedPeriod property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBillingSpecifiedPeriod().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link SpecifiedPeriodType } - * - * - */ - public List getBillingSpecifiedPeriod() { - if (billingSpecifiedPeriod == null) { - billingSpecifiedPeriod = new ArrayList(); - } - return this.billingSpecifiedPeriod; - } - - /** - * Gets the value of the specifiedTradeAllowanceCharge 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 specifiedTradeAllowanceCharge property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedTradeAllowanceCharge().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeAllowanceChargeType } - * - * - */ - public List getSpecifiedTradeAllowanceCharge() { - if (specifiedTradeAllowanceCharge == null) { - specifiedTradeAllowanceCharge = new ArrayList(); - } - return this.specifiedTradeAllowanceCharge; - } - - /** - * Gets the value of the specifiedLogisticsServiceCharge 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 specifiedLogisticsServiceCharge property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedLogisticsServiceCharge().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link LogisticsServiceChargeType } - * - * - */ - public List getSpecifiedLogisticsServiceCharge() { - if (specifiedLogisticsServiceCharge == null) { - specifiedLogisticsServiceCharge = new ArrayList(); - } - return this.specifiedLogisticsServiceCharge; - } - - /** - * Gets the value of the specifiedTradePaymentTerms 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 specifiedTradePaymentTerms property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedTradePaymentTerms().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePaymentTermsType } - * - * - */ - public List getSpecifiedTradePaymentTerms() { - if (specifiedTradePaymentTerms == null) { - specifiedTradePaymentTerms = new ArrayList(); - } - return this.specifiedTradePaymentTerms; - } - - /** - * Gets the value of the specifiedTradeAccountingAccount 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 specifiedTradeAccountingAccount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedTradeAccountingAccount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeAccountingAccountType } - * - * - */ - public List getSpecifiedTradeAccountingAccount() { - if (specifiedTradeAccountingAccount == null) { - specifiedTradeAccountingAccount = new ArrayList(); - } - return this.specifiedTradeAccountingAccount; - } - - /** - * Ruft den Wert der specifiedTradeSettlementMonetarySummation-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradeSettlementMonetarySummationType } - * - */ - public TradeSettlementMonetarySummationType getSpecifiedTradeSettlementMonetarySummation() { - return specifiedTradeSettlementMonetarySummation; - } - - /** - * Legt den Wert der specifiedTradeSettlementMonetarySummation-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradeSettlementMonetarySummationType } - * - */ - public void setSpecifiedTradeSettlementMonetarySummation(TradeSettlementMonetarySummationType value) { - this.specifiedTradeSettlementMonetarySummation = value; - } - - /** - * Gets the value of the receivableSpecifiedTradeAccountingAccount 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 receivableSpecifiedTradeAccountingAccount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getReceivableSpecifiedTradeAccountingAccount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeAccountingAccountType } - * - * - */ - public List getReceivableSpecifiedTradeAccountingAccount() { - if (receivableSpecifiedTradeAccountingAccount == null) { - receivableSpecifiedTradeAccountingAccount = new ArrayList(); - } - return this.receivableSpecifiedTradeAccountingAccount; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java deleted file mode 100644 index 65d6e471..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java +++ /dev/null @@ -1,165 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r SupplyChainTradeTransactionType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="SupplyChainTradeTransactionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ApplicableSupplyChainTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeAgreementType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ApplicableSupplyChainTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeDeliveryType" minOccurs="0"/>
- *         <element name="ApplicableSupplyChainTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeSettlementType" minOccurs="0"/>
- *         <element name="IncludedSupplyChainTradeLineItem" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeLineItemType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SupplyChainTradeTransactionType", propOrder = { - "applicableSupplyChainTradeAgreement", - "applicableSupplyChainTradeDelivery", - "applicableSupplyChainTradeSettlement", - "includedSupplyChainTradeLineItem" -}) -public class SupplyChainTradeTransactionType { - - @XmlElement(name = "ApplicableSupplyChainTradeAgreement") - protected List applicableSupplyChainTradeAgreement; - @XmlElement(name = "ApplicableSupplyChainTradeDelivery") - protected SupplyChainTradeDeliveryType applicableSupplyChainTradeDelivery; - @XmlElement(name = "ApplicableSupplyChainTradeSettlement") - protected SupplyChainTradeSettlementType applicableSupplyChainTradeSettlement; - @XmlElement(name = "IncludedSupplyChainTradeLineItem") - protected List includedSupplyChainTradeLineItem; - - /** - * Gets the value of the applicableSupplyChainTradeAgreement 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 applicableSupplyChainTradeAgreement property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getApplicableSupplyChainTradeAgreement().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link SupplyChainTradeAgreementType } - * - * - */ - public List getApplicableSupplyChainTradeAgreement() { - if (applicableSupplyChainTradeAgreement == null) { - applicableSupplyChainTradeAgreement = new ArrayList(); - } - return this.applicableSupplyChainTradeAgreement; - } - - /** - * Ruft den Wert der applicableSupplyChainTradeDelivery-Eigenschaft ab. - * - * @return - * possible object is - * {@link SupplyChainTradeDeliveryType } - * - */ - public SupplyChainTradeDeliveryType getApplicableSupplyChainTradeDelivery() { - return applicableSupplyChainTradeDelivery; - } - - /** - * Legt den Wert der applicableSupplyChainTradeDelivery-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeDeliveryType } - * - */ - public void setApplicableSupplyChainTradeDelivery(SupplyChainTradeDeliveryType value) { - this.applicableSupplyChainTradeDelivery = value; - } - - /** - * Ruft den Wert der applicableSupplyChainTradeSettlement-Eigenschaft ab. - * - * @return - * possible object is - * {@link SupplyChainTradeSettlementType } - * - */ - public SupplyChainTradeSettlementType getApplicableSupplyChainTradeSettlement() { - return applicableSupplyChainTradeSettlement; - } - - /** - * Legt den Wert der applicableSupplyChainTradeSettlement-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link SupplyChainTradeSettlementType } - * - */ - public void setApplicableSupplyChainTradeSettlement(SupplyChainTradeSettlementType value) { - this.applicableSupplyChainTradeSettlement = value; - } - - /** - * Gets the value of the includedSupplyChainTradeLineItem 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 includedSupplyChainTradeLineItem property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getIncludedSupplyChainTradeLineItem().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link SupplyChainTradeLineItemType } - * - * - */ - public List getIncludedSupplyChainTradeLineItem() { - if (includedSupplyChainTradeLineItem == null) { - includedSupplyChainTradeLineItem = new ArrayList(); - } - return this.includedSupplyChainTradeLineItem; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java deleted file mode 100644 index c1f24ec1..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java +++ /dev/null @@ -1,76 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r TaxCategoryCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TaxCategoryCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>TaxCategoryCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TaxCategoryCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class TaxCategoryCodeType { - - public static final String STANDARDRATE = "S"; - public static final String REVERSECHARGE = "AE"; - public static final String TAXEXEMPT = "E"; - public static final String ZEROTAXPRODUCTS = "Z"; - public static final String UNTAXEDSERVICE = "O"; - public static final String INTRACOMMUNITY = "IC"; - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeTypeConstants.java new file mode 100644 index 00000000..c11c53ac --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeTypeConstants.java @@ -0,0 +1,10 @@ +package org.mustangproject.ZUGFeRD.model; + +public class TaxCategoryCodeTypeConstants { + public static final String STANDARDRATE = "S"; + public static final String REVERSECHARGE = "AE"; + public static final String TAXEXEMPT = "E"; + public static final String ZEROTAXPRODUCTS = "Z"; + public static final String UNTAXEDSERVICE = "O"; + public static final String INTRACOMMUNITY = "IC"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java deleted file mode 100644 index 5fcb5b3c..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java +++ /dev/null @@ -1,72 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r TaxRegistrationType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TaxRegistrationType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TaxRegistrationType", propOrder = { - "id" -}) -public class TaxRegistrationType { - - public static final String USTID = "VA"; - public static final String TAXID = "FC"; - - @XmlElement(name = "ID") - protected IDType id; - - /** - * Ruft den Wert der id-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getID() { - return id; - } - - /** - * Legt den Wert der id-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setID(IDType value) { - this.id = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationTypeConstants.java new file mode 100644 index 00000000..37563fc6 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationTypeConstants.java @@ -0,0 +1,6 @@ +package org.mustangproject.ZUGFeRD.model; + +public class TaxRegistrationTypeConstants { + public static final String USTID = "VA"; + public static final String TAXID = "FC"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java deleted file mode 100644 index d3c59fe6..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java +++ /dev/null @@ -1,73 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Java-Klasse f�r TaxTypeCodeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TaxTypeCodeType">
- *   <simpleContent>
- *     <extension base="<urn:un:unece:uncefact:data:standard:QualifiedDataType:12>TaxTypeCodeContentType">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TaxTypeCodeType", namespace = "urn:un:unece:uncefact:data:standard:QualifiedDataType:12", propOrder = { - "value" -}) -public class TaxTypeCodeType { - - public static final String SALESTAX = "VAT"; - public static final String INSURANCETAX = "ZF_INSURANCE_TAX"; - public static final String OLDPART = "AAJ"; - - @XmlValue - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeTypeConstants.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeTypeConstants.java new file mode 100644 index 00000000..804f5cd3 --- /dev/null +++ b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeTypeConstants.java @@ -0,0 +1,7 @@ +package org.mustangproject.ZUGFeRD.model; + +public class TaxTypeCodeTypeConstants { + public static final String SALESTAX = "VAT"; + public static final String INSURANCETAX = "ZF_INSURANCE_TAX"; + public static final String OLDPART = "AAJ"; +} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java deleted file mode 100644 index 84ee4eb7..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java +++ /dev/null @@ -1,66 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; - - -/** - *

Java-Klasse f�r TextType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TextType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TextType", namespace = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", propOrder = { - "value" -}) -public class TextType { - - @XmlValue - protected String value; - - /** - * Ruft den Wert der value-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Legt den Wert der value-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java deleted file mode 100644 index 4545ed74..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r TradeAccountingAccountType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeAccountingAccountType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeAccountingAccountType", propOrder = { - "id" -}) -public class TradeAccountingAccountType { - - @XmlElement(name = "ID") - protected IDType id; - - /** - * Ruft den Wert der id-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getID() { - return id; - } - - /** - * Legt den Wert der id-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setID(IDType value) { - this.id = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java deleted file mode 100644 index a1008330..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java +++ /dev/null @@ -1,188 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeAddressType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeAddressType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="PostcodeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="LineOne" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="LineTwo" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="CityName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="CountryID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeAddressType", propOrder = { - "postcodeCode", - "lineOne", - "lineTwo", - "cityName", - "countryID" -}) -public class TradeAddressType { - - @XmlElement(name = "PostcodeCode") - protected List postcodeCode; - @XmlElement(name = "LineOne") - protected TextType lineOne; - @XmlElement(name = "LineTwo") - protected TextType lineTwo; - @XmlElement(name = "CityName") - protected TextType cityName; - @XmlElement(name = "CountryID") - protected CountryIDType countryID; - - /** - * Gets the value of the postcodeCode 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 postcodeCode property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPostcodeCode().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CodeType } - * - * - */ - public List getPostcodeCode() { - if (postcodeCode == null) { - postcodeCode = new ArrayList(); - } - return this.postcodeCode; - } - - /** - * Ruft den Wert der lineOne-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getLineOne() { - return lineOne; - } - - /** - * Legt den Wert der lineOne-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setLineOne(TextType value) { - this.lineOne = value; - } - - /** - * Ruft den Wert der lineTwo-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getLineTwo() { - return lineTwo; - } - - /** - * Legt den Wert der lineTwo-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setLineTwo(TextType value) { - this.lineTwo = value; - } - - /** - * Ruft den Wert der cityName-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getCityName() { - return cityName; - } - - /** - * Legt den Wert der cityName-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setCityName(TextType value) { - this.cityName = value; - } - - /** - * Ruft den Wert der countryID-Eigenschaft ab. - * - * @return - * possible object is - * {@link CountryIDType } - * - */ - public CountryIDType getCountryID() { - return countryID; - } - - /** - * Legt den Wert der countryID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CountryIDType } - * - */ - public void setCountryID(CountryIDType value) { - this.countryID = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java deleted file mode 100644 index 0d85382e..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java +++ /dev/null @@ -1,305 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeAllowanceChargeType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeAllowanceChargeType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ChargeIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/>
- *         <element name="SequenceNumeric" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}NumericType" minOccurs="0"/>
- *         <element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
- *         <element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" minOccurs="0"/>
- *         <element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
- *         <element name="ActualAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ReasonCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}AllowanceChargeReasonCodeType" minOccurs="0"/>
- *         <element name="Reason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="CategoryTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeAllowanceChargeType", propOrder = { - "chargeIndicator", - "sequenceNumeric", - "calculationPercent", - "basisAmount", - "basisQuantity", - "actualAmount", - "reasonCode", - "reason", - "categoryTradeTax" -}) -public class TradeAllowanceChargeType { - - @XmlElement(name = "ChargeIndicator") - protected IndicatorType chargeIndicator; - @XmlElement(name = "SequenceNumeric") - protected NumericType sequenceNumeric; - @XmlElement(name = "CalculationPercent") - protected PercentType calculationPercent; - @XmlElement(name = "BasisAmount") - protected AmountType basisAmount; - @XmlElement(name = "BasisQuantity") - protected QuantityType basisQuantity; - @XmlElement(name = "ActualAmount") - protected List actualAmount; - @XmlElement(name = "ReasonCode") - protected AllowanceChargeReasonCodeType reasonCode; - @XmlElement(name = "Reason") - protected TextType reason; - @XmlElement(name = "CategoryTradeTax") - protected List categoryTradeTax; - - /** - * Ruft den Wert der chargeIndicator-Eigenschaft ab. - * - * @return - * possible object is - * {@link IndicatorType } - * - */ - public IndicatorType getChargeIndicator() { - return chargeIndicator; - } - - /** - * Legt den Wert der chargeIndicator-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IndicatorType } - * - */ - public void setChargeIndicator(IndicatorType value) { - this.chargeIndicator = value; - } - - /** - * Ruft den Wert der sequenceNumeric-Eigenschaft ab. - * - * @return - * possible object is - * {@link NumericType } - * - */ - public NumericType getSequenceNumeric() { - return sequenceNumeric; - } - - /** - * Legt den Wert der sequenceNumeric-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link NumericType } - * - */ - public void setSequenceNumeric(NumericType value) { - this.sequenceNumeric = value; - } - - /** - * Ruft den Wert der calculationPercent-Eigenschaft ab. - * - * @return - * possible object is - * {@link PercentType } - * - */ - public PercentType getCalculationPercent() { - return calculationPercent; - } - - /** - * Legt den Wert der calculationPercent-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link PercentType } - * - */ - public void setCalculationPercent(PercentType value) { - this.calculationPercent = value; - } - - /** - * Ruft den Wert der basisAmount-Eigenschaft ab. - * - * @return - * possible object is - * {@link AmountType } - * - */ - public AmountType getBasisAmount() { - return basisAmount; - } - - /** - * Legt den Wert der basisAmount-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link AmountType } - * - */ - public void setBasisAmount(AmountType value) { - this.basisAmount = value; - } - - /** - * Ruft den Wert der basisQuantity-Eigenschaft ab. - * - * @return - * possible object is - * {@link QuantityType } - * - */ - public QuantityType getBasisQuantity() { - return basisQuantity; - } - - /** - * Legt den Wert der basisQuantity-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link QuantityType } - * - */ - public void setBasisQuantity(QuantityType value) { - this.basisQuantity = value; - } - - /** - * Gets the value of the actualAmount 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 actualAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getActualAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getActualAmount() { - if (actualAmount == null) { - actualAmount = new ArrayList(); - } - return this.actualAmount; - } - - /** - * Ruft den Wert der reasonCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link AllowanceChargeReasonCodeType } - * - */ - public AllowanceChargeReasonCodeType getReasonCode() { - return reasonCode; - } - - /** - * Legt den Wert der reasonCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link AllowanceChargeReasonCodeType } - * - */ - public void setReasonCode(AllowanceChargeReasonCodeType value) { - this.reasonCode = value; - } - - /** - * Ruft den Wert der reason-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getReason() { - return reason; - } - - /** - * Legt den Wert der reason-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setReason(TextType value) { - this.reason = value; - } - - /** - * Gets the value of the categoryTradeTax 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 categoryTradeTax property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCategoryTradeTax().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeTaxType } - * - * - */ - public List getCategoryTradeTax() { - if (categoryTradeTax == null) { - categoryTradeTax = new ArrayList(); - } - return this.categoryTradeTax; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java deleted file mode 100644 index e81483dd..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java +++ /dev/null @@ -1,193 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeContactType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeContactType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="PersonName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="DepartmentName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="TelephoneUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="FaxUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="EmailURIUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeContactType", propOrder = { - "personName", - "departmentName", - "telephoneUniversalCommunication", - "faxUniversalCommunication", - "emailURIUniversalCommunication" -}) -public class TradeContactType { - - @XmlElement(name = "PersonName") - protected TextType personName; - @XmlElement(name = "DepartmentName") - protected TextType departmentName; - @XmlElement(name = "TelephoneUniversalCommunication") - protected List telephoneUniversalCommunication; - @XmlElement(name = "FaxUniversalCommunication") - protected List faxUniversalCommunication; - @XmlElement(name = "EmailURIUniversalCommunication") - protected UniversalCommunicationType emailURIUniversalCommunication; - - /** - * Ruft den Wert der personName-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getPersonName() { - return personName; - } - - /** - * Legt den Wert der personName-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setPersonName(TextType value) { - this.personName = value; - } - - /** - * Ruft den Wert der departmentName-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getDepartmentName() { - return departmentName; - } - - /** - * Legt den Wert der departmentName-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setDepartmentName(TextType value) { - this.departmentName = value; - } - - /** - * Gets the value of the telephoneUniversalCommunication 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 telephoneUniversalCommunication property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTelephoneUniversalCommunication().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link UniversalCommunicationType } - * - * - */ - public List getTelephoneUniversalCommunication() { - if (telephoneUniversalCommunication == null) { - telephoneUniversalCommunication = new ArrayList(); - } - return this.telephoneUniversalCommunication; - } - - /** - * Gets the value of the faxUniversalCommunication 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 faxUniversalCommunication property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getFaxUniversalCommunication().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link UniversalCommunicationType } - * - * - */ - public List getFaxUniversalCommunication() { - if (faxUniversalCommunication == null) { - faxUniversalCommunication = new ArrayList(); - } - return this.faxUniversalCommunication; - } - - /** - * Ruft den Wert der emailURIUniversalCommunication-Eigenschaft ab. - * - * @return - * possible object is - * {@link UniversalCommunicationType } - * - */ - public UniversalCommunicationType getEmailURIUniversalCommunication() { - return emailURIUniversalCommunication; - } - - /** - * Legt den Wert der emailURIUniversalCommunication-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link UniversalCommunicationType } - * - */ - public void setEmailURIUniversalCommunication(UniversalCommunicationType value) { - this.emailURIUniversalCommunication = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java deleted file mode 100644 index e22f9258..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java +++ /dev/null @@ -1,76 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeCountryType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeCountryType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeCountryType", propOrder = { - "id" -}) -public class TradeCountryType { - - @XmlElement(name = "ID") - protected List id; - - /** - * Gets the value of the id 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 id property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CountryIDType } - * - * - */ - public List getID() { - if (id == null) { - id = new ArrayList(); - } - return this.id; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java deleted file mode 100644 index 677dc7a3..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r TradeDeliveryTermsType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeDeliveryTermsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="DeliveryTypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DeliveryTermsCodeType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeDeliveryTermsType", propOrder = { - "deliveryTypeCode" -}) -public class TradeDeliveryTermsType { - - @XmlElement(name = "DeliveryTypeCode") - protected DeliveryTermsCodeType deliveryTypeCode; - - /** - * Ruft den Wert der deliveryTypeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link DeliveryTermsCodeType } - * - */ - public DeliveryTermsCodeType getDeliveryTypeCode() { - return deliveryTypeCode; - } - - /** - * Legt den Wert der deliveryTypeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DeliveryTermsCodeType } - * - */ - public void setDeliveryTypeCode(DeliveryTermsCodeType value) { - this.deliveryTypeCode = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java deleted file mode 100644 index ee70c846..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java +++ /dev/null @@ -1,231 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradePartyType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradePartyType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="DefinedTradeContact" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeContactType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="PostalTradeAddress" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAddressType" minOccurs="0"/>
- *         <element name="SpecifiedTaxRegistration" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TaxRegistrationType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradePartyType", propOrder = { - "id", - "globalID", - "name", - "definedTradeContact", - "postalTradeAddress", - "specifiedTaxRegistration" -}) -public class TradePartyType { - - @XmlElement(name = "ID") - protected List id; - @XmlElement(name = "GlobalID") - protected List globalID; - @XmlElement(name = "Name") - protected TextType name; - @XmlElement(name = "DefinedTradeContact") - protected List definedTradeContact; - @XmlElement(name = "PostalTradeAddress") - protected TradeAddressType postalTradeAddress; - @XmlElement(name = "SpecifiedTaxRegistration") - protected List specifiedTaxRegistration; - - /** - * Gets the value of the id 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 id property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getID() { - if (id == null) { - id = new ArrayList(); - } - return this.id; - } - - /** - * Gets the value of the globalID 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 globalID property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGlobalID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getGlobalID() { - if (globalID == null) { - globalID = new ArrayList(); - } - return this.globalID; - } - - /** - * Ruft den Wert der name-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getName() { - return name; - } - - /** - * Legt den Wert der name-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setName(TextType value) { - this.name = value; - } - - /** - * Gets the value of the definedTradeContact 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 definedTradeContact property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDefinedTradeContact().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeContactType } - * - * - */ - public List getDefinedTradeContact() { - if (definedTradeContact == null) { - definedTradeContact = new ArrayList(); - } - return this.definedTradeContact; - } - - /** - * Ruft den Wert der postalTradeAddress-Eigenschaft ab. - * - * @return - * possible object is - * {@link TradeAddressType } - * - */ - public TradeAddressType getPostalTradeAddress() { - return postalTradeAddress; - } - - /** - * Legt den Wert der postalTradeAddress-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TradeAddressType } - * - */ - public void setPostalTradeAddress(TradeAddressType value) { - this.postalTradeAddress = value; - } - - /** - * Gets the value of the specifiedTaxRegistration 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 specifiedTaxRegistration property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecifiedTaxRegistration().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TaxRegistrationType } - * - * - */ - public List getSpecifiedTaxRegistration() { - if (specifiedTaxRegistration == null) { - specifiedTaxRegistration = new ArrayList(); - } - return this.specifiedTaxRegistration; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java deleted file mode 100644 index ca141163..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java +++ /dev/null @@ -1,193 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradePaymentDiscountTermsType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradePaymentDiscountTermsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BasisDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
- *         <element name="BasisPeriodMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" minOccurs="0"/>
- *         <element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
- *         <element name="ActualDiscountAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradePaymentDiscountTermsType", propOrder = { - "basisDateTime", - "basisPeriodMeasure", - "basisAmount", - "calculationPercent", - "actualDiscountAmount" -}) -public class TradePaymentDiscountTermsType { - - @XmlElement(name = "BasisDateTime") - protected DateTimeType basisDateTime; - @XmlElement(name = "BasisPeriodMeasure") - protected MeasureType basisPeriodMeasure; - @XmlElement(name = "BasisAmount") - protected List basisAmount; - @XmlElement(name = "CalculationPercent") - protected PercentType calculationPercent; - @XmlElement(name = "ActualDiscountAmount") - protected List actualDiscountAmount; - - /** - * Ruft den Wert der basisDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getBasisDateTime() { - return basisDateTime; - } - - /** - * Legt den Wert der basisDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setBasisDateTime(DateTimeType value) { - this.basisDateTime = value; - } - - /** - * Ruft den Wert der basisPeriodMeasure-Eigenschaft ab. - * - * @return - * possible object is - * {@link MeasureType } - * - */ - public MeasureType getBasisPeriodMeasure() { - return basisPeriodMeasure; - } - - /** - * Legt den Wert der basisPeriodMeasure-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link MeasureType } - * - */ - public void setBasisPeriodMeasure(MeasureType value) { - this.basisPeriodMeasure = value; - } - - /** - * Gets the value of the basisAmount 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 basisAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBasisAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getBasisAmount() { - if (basisAmount == null) { - basisAmount = new ArrayList(); - } - return this.basisAmount; - } - - /** - * Ruft den Wert der calculationPercent-Eigenschaft ab. - * - * @return - * possible object is - * {@link PercentType } - * - */ - public PercentType getCalculationPercent() { - return calculationPercent; - } - - /** - * Legt den Wert der calculationPercent-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link PercentType } - * - */ - public void setCalculationPercent(PercentType value) { - this.calculationPercent = value; - } - - /** - * Gets the value of the actualDiscountAmount 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 actualDiscountAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getActualDiscountAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getActualDiscountAmount() { - if (actualDiscountAmount == null) { - actualDiscountAmount = new ArrayList(); - } - return this.actualDiscountAmount; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java deleted file mode 100644 index f050c742..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java +++ /dev/null @@ -1,193 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradePaymentPenaltyTermsType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradePaymentPenaltyTermsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BasisDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
- *         <element name="BasisPeriodMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" minOccurs="0"/>
- *         <element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
- *         <element name="ActualPenaltyAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradePaymentPenaltyTermsType", propOrder = { - "basisDateTime", - "basisPeriodMeasure", - "basisAmount", - "calculationPercent", - "actualPenaltyAmount" -}) -public class TradePaymentPenaltyTermsType { - - @XmlElement(name = "BasisDateTime") - protected DateTimeType basisDateTime; - @XmlElement(name = "BasisPeriodMeasure") - protected MeasureType basisPeriodMeasure; - @XmlElement(name = "BasisAmount") - protected List basisAmount; - @XmlElement(name = "CalculationPercent") - protected PercentType calculationPercent; - @XmlElement(name = "ActualPenaltyAmount") - protected List actualPenaltyAmount; - - /** - * Ruft den Wert der basisDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getBasisDateTime() { - return basisDateTime; - } - - /** - * Legt den Wert der basisDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setBasisDateTime(DateTimeType value) { - this.basisDateTime = value; - } - - /** - * Ruft den Wert der basisPeriodMeasure-Eigenschaft ab. - * - * @return - * possible object is - * {@link MeasureType } - * - */ - public MeasureType getBasisPeriodMeasure() { - return basisPeriodMeasure; - } - - /** - * Legt den Wert der basisPeriodMeasure-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link MeasureType } - * - */ - public void setBasisPeriodMeasure(MeasureType value) { - this.basisPeriodMeasure = value; - } - - /** - * Gets the value of the basisAmount 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 basisAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBasisAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getBasisAmount() { - if (basisAmount == null) { - basisAmount = new ArrayList(); - } - return this.basisAmount; - } - - /** - * Ruft den Wert der calculationPercent-Eigenschaft ab. - * - * @return - * possible object is - * {@link PercentType } - * - */ - public PercentType getCalculationPercent() { - return calculationPercent; - } - - /** - * Legt den Wert der calculationPercent-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link PercentType } - * - */ - public void setCalculationPercent(PercentType value) { - this.calculationPercent = value; - } - - /** - * Gets the value of the actualPenaltyAmount 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 actualPenaltyAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getActualPenaltyAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getActualPenaltyAmount() { - if (actualPenaltyAmount == null) { - actualPenaltyAmount = new ArrayList(); - } - return this.actualPenaltyAmount; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java deleted file mode 100644 index 476d89e7..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java +++ /dev/null @@ -1,203 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradePaymentTermsType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradePaymentTermsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="DueDateDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
- *         <element name="PartialPaymentAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ApplicableTradePaymentPenaltyTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentPenaltyTermsType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ApplicableTradePaymentDiscountTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentDiscountTermsType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradePaymentTermsType", propOrder = { - "description", - "dueDateDateTime", - "partialPaymentAmount", - "applicableTradePaymentPenaltyTerms", - "applicableTradePaymentDiscountTerms" -}) -public class TradePaymentTermsType { - - @XmlElement(name = "Description") - protected List description; - @XmlElement(name = "DueDateDateTime") - protected DateTimeType dueDateDateTime; - @XmlElement(name = "PartialPaymentAmount") - protected List partialPaymentAmount; - @XmlElement(name = "ApplicableTradePaymentPenaltyTerms") - protected List applicableTradePaymentPenaltyTerms; - @XmlElement(name = "ApplicableTradePaymentDiscountTerms") - protected List applicableTradePaymentDiscountTerms; - - /** - * Gets the value of the description 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 description property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDescription().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getDescription() { - if (description == null) { - description = new ArrayList(); - } - return this.description; - } - - /** - * Ruft den Wert der dueDateDateTime-Eigenschaft ab. - * - * @return - * possible object is - * {@link DateTimeType } - * - */ - public DateTimeType getDueDateDateTime() { - return dueDateDateTime; - } - - /** - * Legt den Wert der dueDateDateTime-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DateTimeType } - * - */ - public void setDueDateDateTime(DateTimeType value) { - this.dueDateDateTime = value; - } - - /** - * Gets the value of the partialPaymentAmount 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 partialPaymentAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPartialPaymentAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getPartialPaymentAmount() { - if (partialPaymentAmount == null) { - partialPaymentAmount = new ArrayList(); - } - return this.partialPaymentAmount; - } - - /** - * Gets the value of the applicableTradePaymentPenaltyTerms 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 applicableTradePaymentPenaltyTerms property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getApplicableTradePaymentPenaltyTerms().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePaymentPenaltyTermsType } - * - * - */ - public List getApplicableTradePaymentPenaltyTerms() { - if (applicableTradePaymentPenaltyTerms == null) { - applicableTradePaymentPenaltyTerms = new ArrayList(); - } - return this.applicableTradePaymentPenaltyTerms; - } - - /** - * Gets the value of the applicableTradePaymentDiscountTerms 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 applicableTradePaymentDiscountTerms property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getApplicableTradePaymentDiscountTerms().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradePaymentDiscountTermsType } - * - * - */ - public List getApplicableTradePaymentDiscountTerms() { - if (applicableTradePaymentDiscountTerms == null) { - applicableTradePaymentDiscountTerms = new ArrayList(); - } - return this.applicableTradePaymentDiscountTerms; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java deleted file mode 100644 index a205a694..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java +++ /dev/null @@ -1,137 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradePriceType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradePriceType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/>
- *         <element name="AppliedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradePriceType", propOrder = { - "chargeAmount", - "basisQuantity", - "appliedTradeAllowanceCharge" -}) -public class TradePriceType { - - @XmlElement(name = "ChargeAmount") - protected List chargeAmount; - @XmlElement(name = "BasisQuantity") - protected QuantityType basisQuantity; - @XmlElement(name = "AppliedTradeAllowanceCharge") - protected List appliedTradeAllowanceCharge; - - /** - * Gets the value of the chargeAmount 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 chargeAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getChargeAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getChargeAmount() { - if (chargeAmount == null) { - chargeAmount = new ArrayList(); - } - return this.chargeAmount; - } - - /** - * Ruft den Wert der basisQuantity-Eigenschaft ab. - * - * @return - * possible object is - * {@link QuantityType } - * - */ - public QuantityType getBasisQuantity() { - return basisQuantity; - } - - /** - * Legt den Wert der basisQuantity-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link QuantityType } - * - */ - public void setBasisQuantity(QuantityType value) { - this.basisQuantity = value; - } - - /** - * Gets the value of the appliedTradeAllowanceCharge 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 appliedTradeAllowanceCharge property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAppliedTradeAllowanceCharge().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeAllowanceChargeType } - * - * - */ - public List getAppliedTradeAllowanceCharge() { - if (appliedTradeAllowanceCharge == null) { - appliedTradeAllowanceCharge = new ArrayList(); - } - return this.appliedTradeAllowanceCharge; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java deleted file mode 100644 index dcd79221..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java +++ /dev/null @@ -1,330 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeProductType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeProductType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="SellerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="BuyerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ApplicableProductCharacteristic" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductCharacteristicType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="DesignatedProductClassification" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductClassificationType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="OriginTradeCountry" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeCountryType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="IncludedReferencedProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedProductType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeProductType", propOrder = { - "globalID", - "sellerAssignedID", - "buyerAssignedID", - "name", - "description", - "applicableProductCharacteristic", - "designatedProductClassification", - "originTradeCountry", - "includedReferencedProduct" -}) -public class TradeProductType { - - @XmlElement(name = "GlobalID") - protected List globalID; - @XmlElement(name = "SellerAssignedID") - protected IDType sellerAssignedID; - @XmlElement(name = "BuyerAssignedID") - protected IDType buyerAssignedID; - @XmlElement(name = "Name") - protected List name; - @XmlElement(name = "Description") - protected List description; - @XmlElement(name = "ApplicableProductCharacteristic") - protected List applicableProductCharacteristic; - @XmlElement(name = "DesignatedProductClassification") - protected List designatedProductClassification; - @XmlElement(name = "OriginTradeCountry") - protected List originTradeCountry; - @XmlElement(name = "IncludedReferencedProduct") - protected List includedReferencedProduct; - - /** - * Gets the value of the globalID 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 globalID property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGlobalID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getGlobalID() { - if (globalID == null) { - globalID = new ArrayList(); - } - return this.globalID; - } - - /** - * Ruft den Wert der sellerAssignedID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getSellerAssignedID() { - return sellerAssignedID; - } - - /** - * Legt den Wert der sellerAssignedID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setSellerAssignedID(IDType value) { - this.sellerAssignedID = value; - } - - /** - * Ruft den Wert der buyerAssignedID-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getBuyerAssignedID() { - return buyerAssignedID; - } - - /** - * Legt den Wert der buyerAssignedID-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setBuyerAssignedID(IDType value) { - this.buyerAssignedID = value; - } - - /** - * Gets the value of the name 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 name property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getName().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getName() { - if (name == null) { - name = new ArrayList(); - } - return this.name; - } - - /** - * Gets the value of the description 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 description property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDescription().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getDescription() { - if (description == null) { - description = new ArrayList(); - } - return this.description; - } - - /** - * Gets the value of the applicableProductCharacteristic 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 applicableProductCharacteristic property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getApplicableProductCharacteristic().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ProductCharacteristicType } - * - * - */ - public List getApplicableProductCharacteristic() { - if (applicableProductCharacteristic == null) { - applicableProductCharacteristic = new ArrayList(); - } - return this.applicableProductCharacteristic; - } - - /** - * Gets the value of the designatedProductClassification 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 designatedProductClassification property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDesignatedProductClassification().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ProductClassificationType } - * - * - */ - public List getDesignatedProductClassification() { - if (designatedProductClassification == null) { - designatedProductClassification = new ArrayList(); - } - return this.designatedProductClassification; - } - - /** - * Gets the value of the originTradeCountry 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 originTradeCountry property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getOriginTradeCountry().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TradeCountryType } - * - * - */ - public List getOriginTradeCountry() { - if (originTradeCountry == null) { - originTradeCountry = new ArrayList(); - } - return this.originTradeCountry; - } - - /** - * Gets the value of the includedReferencedProduct 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 includedReferencedProduct property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getIncludedReferencedProduct().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ReferencedProductType } - * - * - */ - public List getIncludedReferencedProduct() { - if (includedReferencedProduct == null) { - includedReferencedProduct = new ArrayList(); - } - return this.includedReferencedProduct; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java deleted file mode 100644 index 596aeb7a..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java +++ /dev/null @@ -1,340 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeSettlementMonetarySummationType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeSettlementMonetarySummationType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="LineTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ChargeTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AllowanceTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TaxBasisTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TaxTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="GrandTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TotalPrepaidAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TotalAllowanceChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="DuePayableAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeSettlementMonetarySummationType", propOrder = { - "lineTotalAmount", - "chargeTotalAmount", - "allowanceTotalAmount", - "taxBasisTotalAmount", - "taxTotalAmount", - "grandTotalAmount", - "totalPrepaidAmount", - "totalAllowanceChargeAmount", - "duePayableAmount" -}) -public class TradeSettlementMonetarySummationType { - - @XmlElement(name = "LineTotalAmount") - protected List lineTotalAmount; - @XmlElement(name = "ChargeTotalAmount") - protected List chargeTotalAmount; - @XmlElement(name = "AllowanceTotalAmount") - protected List allowanceTotalAmount; - @XmlElement(name = "TaxBasisTotalAmount") - protected List taxBasisTotalAmount; - @XmlElement(name = "TaxTotalAmount") - protected List taxTotalAmount; - @XmlElement(name = "GrandTotalAmount") - protected List grandTotalAmount; - @XmlElement(name = "TotalPrepaidAmount") - protected List totalPrepaidAmount; - @XmlElement(name = "TotalAllowanceChargeAmount") - protected List totalAllowanceChargeAmount; - @XmlElement(name = "DuePayableAmount") - protected List duePayableAmount; - - /** - * Gets the value of the lineTotalAmount 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 lineTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getLineTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getLineTotalAmount() { - if (lineTotalAmount == null) { - lineTotalAmount = new ArrayList(); - } - return this.lineTotalAmount; - } - - /** - * Gets the value of the chargeTotalAmount 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 chargeTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getChargeTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getChargeTotalAmount() { - if (chargeTotalAmount == null) { - chargeTotalAmount = new ArrayList(); - } - return this.chargeTotalAmount; - } - - /** - * Gets the value of the allowanceTotalAmount 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 allowanceTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAllowanceTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getAllowanceTotalAmount() { - if (allowanceTotalAmount == null) { - allowanceTotalAmount = new ArrayList(); - } - return this.allowanceTotalAmount; - } - - /** - * Gets the value of the taxBasisTotalAmount 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 taxBasisTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTaxBasisTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getTaxBasisTotalAmount() { - if (taxBasisTotalAmount == null) { - taxBasisTotalAmount = new ArrayList(); - } - return this.taxBasisTotalAmount; - } - - /** - * Gets the value of the taxTotalAmount 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 taxTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTaxTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getTaxTotalAmount() { - if (taxTotalAmount == null) { - taxTotalAmount = new ArrayList(); - } - return this.taxTotalAmount; - } - - /** - * Gets the value of the grandTotalAmount 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 grandTotalAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getGrandTotalAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getGrandTotalAmount() { - if (grandTotalAmount == null) { - grandTotalAmount = new ArrayList(); - } - return this.grandTotalAmount; - } - - /** - * Gets the value of the totalPrepaidAmount 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 totalPrepaidAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTotalPrepaidAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getTotalPrepaidAmount() { - if (totalPrepaidAmount == null) { - totalPrepaidAmount = new ArrayList(); - } - return this.totalPrepaidAmount; - } - - /** - * Gets the value of the totalAllowanceChargeAmount 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 totalAllowanceChargeAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTotalAllowanceChargeAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getTotalAllowanceChargeAmount() { - if (totalAllowanceChargeAmount == null) { - totalAllowanceChargeAmount = new ArrayList(); - } - return this.totalAllowanceChargeAmount; - } - - /** - * Gets the value of the duePayableAmount 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 duePayableAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getDuePayableAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getDuePayableAmount() { - if (duePayableAmount == null) { - duePayableAmount = new ArrayList(); - } - return this.duePayableAmount; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java deleted file mode 100644 index f629bbaf..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java +++ /dev/null @@ -1,249 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeSettlementPaymentMeansType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeSettlementPaymentMeansType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}PaymentMeansCodeType" minOccurs="0"/>
- *         <element name="Information" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="PayerPartyDebtorFinancialAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DebtorFinancialAccountType" minOccurs="0"/>
- *         <element name="PayeePartyCreditorFinancialAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}CreditorFinancialAccountType" minOccurs="0"/>
- *         <element name="PayerSpecifiedDebtorFinancialInstitution" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DebtorFinancialInstitutionType" minOccurs="0"/>
- *         <element name="PayeeSpecifiedCreditorFinancialInstitution" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}CreditorFinancialInstitutionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeSettlementPaymentMeansType", propOrder = { - "typeCode", - "information", - "id", - "payerPartyDebtorFinancialAccount", - "payeePartyCreditorFinancialAccount", - "payerSpecifiedDebtorFinancialInstitution", - "payeeSpecifiedCreditorFinancialInstitution" -}) -public class TradeSettlementPaymentMeansType { - - @XmlElement(name = "TypeCode") - protected PaymentMeansCodeType typeCode; - @XmlElement(name = "Information") - protected List information; - @XmlElement(name = "ID") - protected List id; - @XmlElement(name = "PayerPartyDebtorFinancialAccount") - protected DebtorFinancialAccountType payerPartyDebtorFinancialAccount; - @XmlElement(name = "PayeePartyCreditorFinancialAccount") - protected CreditorFinancialAccountType payeePartyCreditorFinancialAccount; - @XmlElement(name = "PayerSpecifiedDebtorFinancialInstitution") - protected DebtorFinancialInstitutionType payerSpecifiedDebtorFinancialInstitution; - @XmlElement(name = "PayeeSpecifiedCreditorFinancialInstitution") - protected CreditorFinancialInstitutionType payeeSpecifiedCreditorFinancialInstitution; - - /** - * Ruft den Wert der typeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link PaymentMeansCodeType } - * - */ - public PaymentMeansCodeType getTypeCode() { - return typeCode; - } - - /** - * Legt den Wert der typeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link PaymentMeansCodeType } - * - */ - public void setTypeCode(PaymentMeansCodeType value) { - this.typeCode = value; - } - - /** - * Gets the value of the information 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 information property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getInformation().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TextType } - * - * - */ - public List getInformation() { - if (information == null) { - information = new ArrayList(); - } - return this.information; - } - - /** - * Gets the value of the id 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 id property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getID().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link IDType } - * - * - */ - public List getID() { - if (id == null) { - id = new ArrayList(); - } - return this.id; - } - - /** - * Ruft den Wert der payerPartyDebtorFinancialAccount-Eigenschaft ab. - * - * @return - * possible object is - * {@link DebtorFinancialAccountType } - * - */ - public DebtorFinancialAccountType getPayerPartyDebtorFinancialAccount() { - return payerPartyDebtorFinancialAccount; - } - - /** - * Legt den Wert der payerPartyDebtorFinancialAccount-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DebtorFinancialAccountType } - * - */ - public void setPayerPartyDebtorFinancialAccount(DebtorFinancialAccountType value) { - this.payerPartyDebtorFinancialAccount = value; - } - - /** - * Ruft den Wert der payeePartyCreditorFinancialAccount-Eigenschaft ab. - * - * @return - * possible object is - * {@link CreditorFinancialAccountType } - * - */ - public CreditorFinancialAccountType getPayeePartyCreditorFinancialAccount() { - return payeePartyCreditorFinancialAccount; - } - - /** - * Legt den Wert der payeePartyCreditorFinancialAccount-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CreditorFinancialAccountType } - * - */ - public void setPayeePartyCreditorFinancialAccount(CreditorFinancialAccountType value) { - this.payeePartyCreditorFinancialAccount = value; - } - - /** - * Ruft den Wert der payerSpecifiedDebtorFinancialInstitution-Eigenschaft ab. - * - * @return - * possible object is - * {@link DebtorFinancialInstitutionType } - * - */ - public DebtorFinancialInstitutionType getPayerSpecifiedDebtorFinancialInstitution() { - return payerSpecifiedDebtorFinancialInstitution; - } - - /** - * Legt den Wert der payerSpecifiedDebtorFinancialInstitution-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link DebtorFinancialInstitutionType } - * - */ - public void setPayerSpecifiedDebtorFinancialInstitution(DebtorFinancialInstitutionType value) { - this.payerSpecifiedDebtorFinancialInstitution = value; - } - - /** - * Ruft den Wert der payeeSpecifiedCreditorFinancialInstitution-Eigenschaft ab. - * - * @return - * possible object is - * {@link CreditorFinancialInstitutionType } - * - */ - public CreditorFinancialInstitutionType getPayeeSpecifiedCreditorFinancialInstitution() { - return payeeSpecifiedCreditorFinancialInstitution; - } - - /** - * Legt den Wert der payeeSpecifiedCreditorFinancialInstitution-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link CreditorFinancialInstitutionType } - * - */ - public void setPayeeSpecifiedCreditorFinancialInstitution(CreditorFinancialInstitutionType value) { - this.payeeSpecifiedCreditorFinancialInstitution = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java deleted file mode 100644 index eb2f970f..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java +++ /dev/null @@ -1,287 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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; - - -/** - *

Java-Klasse f�r TradeTaxType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="TradeTaxType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="CalculatedAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxTypeCodeType" minOccurs="0"/>
- *         <element name="ExemptionReason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *         <element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="LineTotalBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AllowanceChargeBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="CategoryCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxCategoryCodeType" minOccurs="0"/>
- *         <element name="ApplicablePercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TradeTaxType", propOrder = { - "calculatedAmount", - "typeCode", - "exemptionReason", - "basisAmount", - "lineTotalBasisAmount", - "allowanceChargeBasisAmount", - "categoryCode", - "applicablePercent" -}) -public class TradeTaxType { - - @XmlElement(name = "CalculatedAmount") - protected List calculatedAmount; - @XmlElement(name = "TypeCode") - protected TaxTypeCodeType typeCode; - @XmlElement(name = "ExemptionReason") - protected TextType exemptionReason; - @XmlElement(name = "BasisAmount") - protected List basisAmount; - @XmlElement(name = "LineTotalBasisAmount") - protected List lineTotalBasisAmount; - @XmlElement(name = "AllowanceChargeBasisAmount") - protected List allowanceChargeBasisAmount; - @XmlElement(name = "CategoryCode") - protected TaxCategoryCodeType categoryCode; - @XmlElement(name = "ApplicablePercent") - protected PercentType applicablePercent; - - /** - * Gets the value of the calculatedAmount 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 calculatedAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCalculatedAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getCalculatedAmount() { - if (calculatedAmount == null) { - calculatedAmount = new ArrayList(); - } - return this.calculatedAmount; - } - - /** - * Ruft den Wert der typeCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link TaxTypeCodeType } - * - */ - public TaxTypeCodeType getTypeCode() { - return typeCode; - } - - /** - * Legt den Wert der typeCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TaxTypeCodeType } - * - */ - public void setTypeCode(TaxTypeCodeType value) { - this.typeCode = value; - } - - /** - * Ruft den Wert der exemptionReason-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getExemptionReason() { - return exemptionReason; - } - - /** - * Legt den Wert der exemptionReason-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setExemptionReason(TextType value) { - this.exemptionReason = value; - } - - /** - * Gets the value of the basisAmount 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 basisAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBasisAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getBasisAmount() { - if (basisAmount == null) { - basisAmount = new ArrayList(); - } - return this.basisAmount; - } - - /** - * Gets the value of the lineTotalBasisAmount 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 lineTotalBasisAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getLineTotalBasisAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getLineTotalBasisAmount() { - if (lineTotalBasisAmount == null) { - lineTotalBasisAmount = new ArrayList(); - } - return this.lineTotalBasisAmount; - } - - /** - * Gets the value of the allowanceChargeBasisAmount 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 allowanceChargeBasisAmount property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAllowanceChargeBasisAmount().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmountType } - * - * - */ - public List getAllowanceChargeBasisAmount() { - if (allowanceChargeBasisAmount == null) { - allowanceChargeBasisAmount = new ArrayList(); - } - return this.allowanceChargeBasisAmount; - } - - /** - * Ruft den Wert der categoryCode-Eigenschaft ab. - * - * @return - * possible object is - * {@link TaxCategoryCodeType } - * - */ - public TaxCategoryCodeType getCategoryCode() { - return categoryCode; - } - - /** - * Legt den Wert der categoryCode-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TaxCategoryCodeType } - * - */ - public void setCategoryCode(TaxCategoryCodeType value) { - this.categoryCode = value; - } - - /** - * Ruft den Wert der applicablePercent-Eigenschaft ab. - * - * @return - * possible object is - * {@link PercentType } - * - */ - public PercentType getApplicablePercent() { - return applicablePercent; - } - - /** - * Legt den Wert der applicablePercent-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link PercentType } - * - */ - public void setApplicablePercent(PercentType value) { - this.applicablePercent = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java deleted file mode 100644 index a087c8f9..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java +++ /dev/null @@ -1,97 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - - -package org.mustangproject.ZUGFeRD.model; - -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-Klasse f�r UniversalCommunicationType complex type. - * - *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. - * - *

- * <complexType name="UniversalCommunicationType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="URIID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/>
- *         <element name="CompleteNumber" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "UniversalCommunicationType", propOrder = { - "uriid", - "completeNumber" -}) -public class UniversalCommunicationType { - - @XmlElement(name = "URIID") - protected IDType uriid; - @XmlElement(name = "CompleteNumber") - protected TextType completeNumber; - - /** - * Ruft den Wert der uriid-Eigenschaft ab. - * - * @return - * possible object is - * {@link IDType } - * - */ - public IDType getURIID() { - return uriid; - } - - /** - * Legt den Wert der uriid-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link IDType } - * - */ - public void setURIID(IDType value) { - this.uriid = value; - } - - /** - * Ruft den Wert der completeNumber-Eigenschaft ab. - * - * @return - * possible object is - * {@link TextType } - * - */ - public TextType getCompleteNumber() { - return completeNumber; - } - - /** - * Legt den Wert der completeNumber-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link TextType } - * - */ - public void setCompleteNumber(TextType value) { - this.completeNumber = value; - } - -} diff --git a/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java b/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java deleted file mode 100644 index c8c7a670..00000000 --- a/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java +++ /dev/null @@ -1,18 +0,0 @@ -// -// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert -// Siehe http://java.sun.com/xml/jaxb -// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2015.10.16 um 06:16:03 PM CEST -// - -@XmlSchema(namespace = "urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12", - xmlns = { - @XmlNs(namespaceURI = "http://www.w3.org/2001/XMLSchema-instance", prefix = "xsi"), - @XmlNs(namespaceURI = "urn:ferd:CrossIndustryDocument:invoice:1p0", prefix = "rsm"), - @XmlNs(namespaceURI = "urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12", prefix = "ram"), - @XmlNs(namespaceURI = "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15", prefix = "udt"), - }, - elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package org.mustangproject.ZUGFeRD.model; - -import javax.xml.bind.annotation.*; \ No newline at end of file diff --git a/src/main/schema/ZUGFeRD1p0.xsd b/src/main/schema/ZUGFeRD1p0.xsd new file mode 100644 index 00000000..cc3075a4 --- /dev/null +++ b/src/main/schema/ZUGFeRD1p0.xsd @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + diff --git a/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd new file mode 100644 index 00000000..42b66e81 --- /dev/null +++ b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_QualifiedDataType_12.xsd @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd new file mode 100644 index 00000000..d207ef0a --- /dev/null +++ b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_12.xsd @@ -0,0 +1,352 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd new file mode 100644 index 00000000..49670142 --- /dev/null +++ b/src/main/schema/ZUGFeRD1p0_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_15.xsd @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +