removed pdfa3-sample submodule, made mustang main (and only) module, corrected the POM, released 1.4.0 via maven, updated the developer documentation, updated toecount to 0.0.9 to use mustang 1.4.0 via maven repo

This commit is contained in:
Jochen Staerk
2017-05-18 08:41:47 +02:00
parent a60cb07c9b
commit 52f997f271
103 changed files with 395 additions and 1102 deletions

View File

@@ -1,335 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
EXTERNAL COMPONENTS
Apache PDFBox includes a number of components with separate copyright notices
and license terms. Your use of these components is subject to the terms and
conditions of the following licenses.
Contributions made to the original PDFBox, JempBox and FontBox projects:
Copyright (c) 2002-2007, www.pdfbox.org
Copyright (c) 2006-2007, www.jempbox.org
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of pdfbox; nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
Adobe Font Metrics (AFM) for PDF Core 14 Fonts
This file and the 14 PostScript(R) AFM files it accompanies may be used,
copied, and distributed for any purpose and without charge, with or without
modification, provided that all copyright notices are retained; that the
AFM files are not distributed without this file; that all modifications
to this file or any of the AFM files are prominently noted in the modified
file(s); and that this paragraph is not modified. Adobe Systems has no
responsibility or obligation to support the use of the AFM files.
CMaps for PDF Fonts (http://opensource.adobe.com/wiki/display/cmap/Downloads)
Copyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of Adobe Systems Incorporated nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
Glyphlist (http://www.adobe.com/devnet/opentype/archives/glyph.html)
Copyright (c) 1997,1998,2002,2007 Adobe Systems Incorporated
Permission is hereby granted, free of charge, to any person obtaining a
copy of this documentation file to use, copy, publish, distribute,
sublicense, and/or sell copies of the documentation, and to permit
others to do the same, provided that:
- No modification, editing or other alteration of this document is
allowed; and
- The above copyright notice and this permission notice shall be
included in all copies of the documentation.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this documentation file, to create their own derivative works
from the content of this document to use, copy, publish, distribute,
sublicense, and/or sell the derivative works, and to permit others to do
the same, provided that the derived work is not represented as being a
copy or version of this document.
Adobe shall not be liable to any party for any loss of revenue or profit
or for indirect, incidental, special, consequential, or other similar
damages, whether based on tort (including without limitation negligence
or strict liability), contract or other legal or equitable grounds even
if Adobe has been advised or had reason to know of the possibility of
such damages. The Adobe materials are provided on an "AS IS" basis.
Adobe specifically disclaims all express, statutory, or implied
warranties relating to the Adobe materials, including but not limited to
those concerning merchantability or fitness for a particular purpose or
non-infringement of any third party rights regarding the Adobe
materials.
PaDaF PDF/A preflight (http://sourceforge.net/projects/padaf)
Copyright 2010 Atos Worldline SAS
Licensed by Atos Worldline SAS under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
Atos Worldline SAS licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -1,25 +0,0 @@
Mustangproject
Copyright 2014 Jochen Staerk <jstaerk@usegroup.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Based on Apache PDFBox developed at
The Apache Software Foundation (http://www.apache.org/).
Apache PDFBox was based on source code originally developed in the PDFBox, JempBox and FontBox projects.
Copyright (c) 2002-2007, www.pdfbox.org
Copyright (c) 2006-2007, www.jempbox.org
Apache PDFBox was based on source code originally developed in the PaDaF project.
Copyright (c) 2010 Atos Worldline SAS

View File

@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mustangproject.ZUGFeRD</groupId>
<artifactId>mustang</artifactId>
<name>Mustang</name>
<version>1.4.0.0</version>
<description>The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs</description>
<url>http://www.mustangproject.org/</url>
<mailingLists>
<mailingList>
<name>User List</name>
<archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>Jochen St<53>rk</name>
<email>jstaerk@usegroup.de</email>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Alexander Schmidt</name>
<email>schmidt.alexander@mail.de</email>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes />
</artifactSet>
</configuration>
</execution>
</executions>
<configuration>
<minimizeJar>true</minimizeJar>
</configuration>
</plugin>
</plugins>
</build>
</project>

Binary file not shown.

View File

@@ -1,277 +0,0 @@
package zugferd;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Calendar;
import javax.xml.transform.TransformerException;
import org.apache.pdfbox.exceptions.COSVisitorException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableContact;
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableItem;
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableProduct;
import org.mustangproject.ZUGFeRD.IZUGFeRDExportableTransaction;
import org.mustangproject.ZUGFeRD.ZUGFeRDExporter;
class Contact implements IZUGFeRDExportableContact {
@Override
public String getCountry() {
return "DE";
}
@Override
public String getLocation() {
return "Spielkreis";
}
@Override
public String getName() {
return "Theodor Est";
}
@Override
public String getStreet() {
return "Bahnstr. 42";
}
@Override
public String getVATID() {
return "DE999999999";
}
@Override
public String getZIP() {
return "88802";
}
}
class Item implements IZUGFeRDExportableItem {
private BigDecimal price, quantity;
public Item(BigDecimal price, BigDecimal quantity, Product product) {
super();
this.price = price;
this.quantity = quantity;
this.product = product;
}
private Product product;
public BigDecimal getPrice() {
return price;
}
public void setPrice(BigDecimal price) {
this.price = price;
}
public BigDecimal getQuantity() {
return quantity;
}
public void setQuantity(BigDecimal quantity) {
this.quantity = quantity;
}
public Product getProduct() {
return product;
}
public void setProduct(Product product) {
this.product = product;
}
}
class Product implements IZUGFeRDExportableProduct {
private String description, name, unit;
public Product(String description, String name, String unit,
BigDecimal VATPercent) {
super();
this.description = description;
this.name = name;
this.unit = unit;
this.VATPercent = VATPercent;
}
private BigDecimal VATPercent;
@Override
public String getDescription() {
return description;
}
@Override
public String getName() {
return name;
}
@Override
public String getUnit() {
return unit;
}
@Override
public BigDecimal getVATPercent() {
return VATPercent;
}
public void setDescription(String description) {
this.description = description;
}
public void setName(String name) {
this.name = name;
}
public void setUnit(String unit) {
this.unit = unit;
}
public void setVATPercent(BigDecimal vATPercent) {
VATPercent = vATPercent;
}
}
public class MustangWriter implements IZUGFeRDExportableTransaction {
public static void main(String[] args) {
MustangWriter w=new MustangWriter();
w.apply();
}
@Override
public Date getDeliveryDate() {
return new GregorianCalendar(2017, Calendar.MAY, 7).getTime();
}
@Override
public Date getDueDate() {
return new GregorianCalendar(2017, Calendar.MAY, 30).getTime();
}
@Override
public Date getIssueDate() {
return new GregorianCalendar(2017, Calendar.MAY, 9).getTime();
}
@Override
public String getNumber() {
return "RE-20170509/505";
}
@Override
public String getOwnBIC() {
return "COBADEFFXXX";
}
@Override
public String getOwnBankName() {
return "Commerzbank";
}
@Override
public String getOwnCountry() {
return "DE";
}
@Override
public String getOwnIBAN() {
return "DE88 2008 0000 0970 3757 00";
}
@Override
public String getOwnLocation() {
return "Stadthausen";
}
@Override
public String getOwnOrganisationName() {
return "Bei Spiel GmbH";
}
@Override
public String getOwnStreet() {
return "Ecke 12";
}
@Override
public String getOwnTaxID() {
return "22/815/0815/4";
}
@Override
public String getOwnVATID() {
return "DE136695976";
}
@Override
public String getOwnZIP() {
return "12345";
}
@Override
public IZUGFeRDExportableContact getRecipient() {
return new Contact();
}
@Override
public IZUGFeRDExportableItem[] getZFItems() {
Item[] allItems = new Item[3];
Product designProduct = new Product("",
"Künstlerische Gestaltung (Stunde)", "HUR", new BigDecimal(
"7.000000"));
Product balloonProduct = new Product("", "Luftballon", "C62",
new BigDecimal("19.000000"));
Product airProduct = new Product("", "Heiße Luft pro Liter", "LTR",
new BigDecimal("19.000000"));
allItems[0] = new Item(new BigDecimal("160"),
new BigDecimal("1"), designProduct);
allItems[1] = new Item(new BigDecimal("0.79"),
new BigDecimal("400"), balloonProduct);
allItems[2] = new Item(new BigDecimal("0.10"),
new BigDecimal("200"), airProduct);
return allItems;
}
private void apply() {
PDDocument doc;
try {
System.out.println("Reading blank PDF");
doc = PDDocument
.load("/Users/jstaerk/workspace/zugferd/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf");
ZUGFeRDExporter ze = new ZUGFeRDExporter();
System.out.println("Converting to PDF/A-3u");
ze.PDFmakeA3compliant(doc, "Mustangproject",
System.getProperty("user.name"), true);
System.out.println("Generating and attaching ZUGFeRD-Data");
ze.setTest();
ze.PDFattachZugferdFile(doc, this);
System.out.println("Writing ZUGFeRD-PDF");
doc.save("/Users/jstaerk/workspace/zugferd/MustangGnuaccountingBeispielRE-20170509_505.pdf");
System.out.println("Done.");
} catch (IOException e) {
e.printStackTrace();
} catch (TransformerException e) {
e.printStackTrace();
} catch (COSVisitorException e) {
e.printStackTrace();
}
}
@Override
public String getOwnOrganisationFullPlaintextInfo() {
return "Bei Spiel GmbH\n"
+ "Ecke 12\n"
+ "12345 Stadthausen\n"
+ "Geschäftsführer: Max Mustermann";
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,100 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mustangproject.ZUGFeRD</groupId>
<artifactId>mustang</artifactId>
<version>1.4.0.0</version>
<packaging>jar</packaging>
<name>Mustang</name>
<description>The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs</description>
<url>http://www.mustangproject.org/</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<minimizeJar>true</minimizeJar>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<!--exclude>classworlds:classworlds</exclude>
<exclude>junit:junit</exclude>
<exclude>jmock:*</exclude>
<exclude>*:xml-apis</exclude>
<exclude>org.apache.maven:lib:tests</exclude>
<exclude>log4j:log4j:jar:</exclude-->
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.2.11</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>preflight</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
</dependencies>
<mailingLists>
<mailingList>
<name>User List</name>
<archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<name>Jochen Stärk</name>
<email>jstaerk@usegroup.de</email>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Alexander Schmidt</name>
<email>schmidt.alexander@mail.de</email>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
</project>

View File

@@ -1,31 +0,0 @@
/*
* Copyright 2015 AlexanderSchmidt.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.mustangproject.ZUGFeRD;
import java.math.BigDecimal;
/**
*
* @author AlexanderSchmidt
*/
public interface IZUGFeRDAllowanceCharge {
BigDecimal getTotalAmount();
String getReason();
BigDecimal getTaxPercent();
}

View File

@@ -1,49 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* Neccessary interface for ZUGFeRD exporter
* Licensed under the APLv2
* @date 2014-05-10
* @version 1.2.0
* @author jstaerk
* */
public interface IZUGFeRDExportableContact {
/**
* First and last name of the recipient
* @return
*/
String getName();
/**
* Postal code of the recipient
* @return
*/
String getZIP();
/**
* VAT ID (Umsatzsteueridentifikationsnummer) of the contact
* @return
*/
String getVATID();
/**
* two-letter country code of the contact
* @return
*/
String getCountry();
/***
* Returns the city of the contact
* @return
*/
String getLocation();
/***
* Returns the street address (street+number) of the contact
*/
String getStreet();
}

View File

@@ -1,34 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* Neccessary interface for ZUGFeRD exporter
* Licensed under the APLv2
* @date 2014-05-10
* @version 1.2.0
* @author jstaerk
* */
import java.math.BigDecimal;
public interface IZUGFeRDExportableItem {
IZUGFeRDExportableProduct getProduct();
IZUGFeRDAllowanceCharge[] getItemAllowances();
IZUGFeRDAllowanceCharge[] getItemCharges();
/**
* The price of one item excl. taxes
* @return
*/
BigDecimal getPrice();
/***
* how many
* @return
*/
BigDecimal getQuantity();
}

View File

@@ -1,61 +0,0 @@
package org.mustangproject.ZUGFeRD;
import java.math.BigDecimal;
/**
* Mustangproject's ZUGFeRD implementation
* Necessary interface for ZUGFeRD exporter
* Licensed under the APLv2
* @date 2014-05-10
* @version 1.2.0
* @author jstaerk
* */
public interface IZUGFeRDExportableProduct {
/**
* Unit code of the product
* Most common ones are
C62 one (piece)
DAY day
HAR hectare
HUR hour
KGM kilogram
KTM kilometre
KWH kilowatt hour
LS lump sum
LTR litre
MIN minute
MMK square millimetre
MMT millimetre
MTK square metre
MTQ cubic metre
MTR metre
NAR number of articles
NPR number of pairs
P1 percent
SET set
TNE tonne (metric ton)
WEE week
* @return
*/
String getUnit();
/**
* Short name of the product
* @return
*/
String getName();
/**
* long description of the product
* @return
*/
String getDescription();
/**
* VAT percent of the product (e.g. 19, or 5.1 if you like)
* @return
*/
BigDecimal getVATPercent();
}

View File

@@ -1,153 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* Neccessary interface for ZUGFeRD exporter
* Licensed under the APLv2
* @date 2014-05-10 to 2014-06-25
* @version 1.2.0
* @author jstaerk
* */
import java.util.Date;
public interface IZUGFeRDExportableTransaction {
/**
* Number, typically invoice number of the invoice
* @return
*/
String getNumber();
/**
* the date when the invoice was created
* @return
*/
Date getIssueDate();
/**
* this should be the full sender institution name, details, manager and tax registration like.
* It is one of the few functions which may return null.
*
Lieferant GmbH
Lieferantenstraße 20
80333 München
Deutschland
Geschäftsführer: Hans Muster
Handelsregisternummer: H A 123
* @return
*/
String getOwnOrganisationFullPlaintextInfo();
/**
* when the invoice is to be paid
* @return
*/
Date getDueDate();
IZUGFeRDAllowanceCharge[] getZFAllowances();
IZUGFeRDAllowanceCharge[] getZFCharges();
IZUGFeRDAllowanceCharge[] getZFLogisticsServiceCharges();
IZUGFeRDExportableItem[] getZFItems();
/***
* the recipient
* @return
*/
IZUGFeRDExportableContact getRecipient();
/***
* BIC of the sender
* @return
*/
String getOwnBIC();
/***
* Bank name of the sender
* @return
*/
String getOwnBankName();
/**
* IBAN of the sender
* @return
*/
String getOwnIBAN();
/**
* Tax ID (not VAT ID) of the sender
*/
String getOwnTaxID();
/**
* VAT ID (Umsatzsteueridentifikationsnummer) of the sender
* @return
*/
String getOwnVATID();
/**
* own name
* @return
*/
String getOwnOrganisationName();
/**
* own street address
* @return
*/
String getOwnStreet();
/**
* own street postal code
* @return
*/
String getOwnZIP();
/**
* own city
* @return
*/
String getOwnLocation();
/**
* own two digit country code
* @return
*/
String getOwnCountry();
/**
* get delivery date
* @return
*/
Date getDeliveryDate();
/**
* get main invoice currency used on the invoice
* @return
*/
String getCurrency();
/**
* get payment information text. e.g. Bank transfer
* @return
*/
String getOwnPaymentInfoText();
/**
* get payment term descriptional text
* e.g. Bis zum 22.10.2015 ohne Abzug
* @return
*/
String getPaymentTermDescription();
/**
* get reference document number
* typically used for Invoice Corrections
* Will be added as IncludedNote in comfort profile
* @return
*/
String getReferenceNumber();
}

View File

@@ -1,46 +0,0 @@
package org.mustangproject.ZUGFeRD;
import java.math.BigDecimal;
/**
* Mustangproject's ZUGFeRD implementation
* ZUGFeRD exporter helper class
* Licensed under the APLv2
* @date 2015-10-29
* @version 1.2.0
* @author jstaerk
* */
public class VATAmount {
public VATAmount(BigDecimal basis, BigDecimal calculated) {
super();
this.basis = basis;
this.calculated = calculated;
}
BigDecimal basis, calculated;
public BigDecimal getBasis() {
return basis;
}
public void setBasis(BigDecimal basis) {
this.basis = basis;
}
public BigDecimal getCalculated() {
return calculated;
}
public void setCalculated(BigDecimal calculated) {
this.calculated = calculated;
}
public VATAmount add(VATAmount v) {
return new VATAmount(basis.add(v.getBasis()), calculated.add(v.getCalculated()));
}
public VATAmount subtract(VATAmount v) {
return new VATAmount(basis.subtract(v.getBasis()), calculated.subtract(v.getCalculated()));
}
}

View File

@@ -1,94 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* ZUGFeRD exporter helper class
* Licensed under the APLv2
* @date 2014-05-10
* @version 1.2.0
* @author jstaerk
* */
import org.apache.xmpbox.XMPMetadata;
import org.apache.xmpbox.XmpConstants;
import org.apache.xmpbox.schema.PDFAExtensionSchema;
import org.apache.xmpbox.type.ArrayProperty;
import org.apache.xmpbox.type.Attribute;
import org.apache.xmpbox.type.Cardinality;
import org.apache.xmpbox.type.ChoiceType;
import org.apache.xmpbox.type.DefinedStructuredType;
import org.apache.xmpbox.type.PDFAPropertyType;
import org.apache.xmpbox.type.PDFASchemaType;
import org.apache.xmpbox.type.StructuredType;
import org.apache.xmpbox.type.TextType;
/**
* Additionally to adding a RDF namespace with a indication which file attachment if Zugferd, this namespace has to be described in a PDFA Extension Schema. I
* know there is a PDFAExtensionSchema in the context of PDFBox' XMPBOX but I have been using PDFBox' JempBOX so far because I could not find out how to write
* XMPBOX XMPMetadata to a PDF file. So this is my version of PDFAExtensionSchema for PDFBox' jempbox XMPMetadata
*
* @author jstaerk
*/
@StructuredType(preferedPrefix = "pdfaExtension", namespace = "http://www.aiim.org/pdfa/ns/extension/")
public class XMPSchemaPDFAExtensions extends PDFAExtensionSchema {
public final String xmlns_pdfaSchema = "http://www.aiim.org/pdfa/ns/schema#";
public final String prefix_pdfaSchema = "pdfaSchema";
public final String xmlns_pdfaProperty = "http://www.aiim.org/pdfa/ns/property#";
public final String prefix_pdfaProperty = "pdfaProperty";
private DefinedStructuredType addProperty(ArrayProperty parent, String name, String type, String category, String description) {
XMPMetadata metadata = getMetadata();
DefinedStructuredType li = new DefinedStructuredType(metadata, getNamespace(), getPrefix(), XmpConstants.LIST_NAME);
li.setAttribute(new Attribute(getNamespace(), XmpConstants.PARSE_TYPE, XmpConstants.RESOURCE_NAME));
ChoiceType pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.NAME, name);
li.addProperty(pdfa2);
pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.VALUETYPE, type);
li.addProperty(pdfa2);
pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.CATEGORY, category);
li.addProperty(pdfa2);
pdfa2 = new ChoiceType(metadata, xmlns_pdfaProperty, prefix_pdfaProperty, PDFAPropertyType.DESCRIPTION, description);
li.addProperty(pdfa2);
parent.addProperty(li);
return li;
}
public XMPSchemaPDFAExtensions(XMPMetadata metadata) {
super(metadata);
addNamespace(xmlns_pdfaSchema, prefix_pdfaSchema);
addNamespace(xmlns_pdfaProperty, prefix_pdfaProperty);
ArrayProperty newBag = createArrayProperty(SCHEMAS, Cardinality.Bag);
DefinedStructuredType li = new DefinedStructuredType(metadata, getNamespace(), getPrefix(), XmpConstants.LIST_NAME);
li.setAttribute(new Attribute(getNamespace(), XmpConstants.PARSE_TYPE, XmpConstants.RESOURCE_NAME));
newBag.addProperty(li);
addProperty(newBag);
TextType pdfa1 = new TextType(metadata, xmlns_pdfaSchema, prefix_pdfaSchema, PDFASchemaType.SCHEMA, "ZUGFeRD PDFA Extension Schema");
li.addProperty(pdfa1);
pdfa1 = new TextType(metadata, xmlns_pdfaSchema, prefix_pdfaSchema, PDFASchemaType.NAMESPACE_URI, "urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#");
li.addProperty(pdfa1);
pdfa1 = new TextType(metadata, xmlns_pdfaSchema, prefix_pdfaSchema, PDFASchemaType.PREFIX, "zf");
li.addProperty(pdfa1);
ArrayProperty newSeq = new ArrayProperty(metadata, xmlns_pdfaSchema, prefix_pdfaSchema, PDFASchemaType.PROPERTY, Cardinality.Seq);
li.addProperty(newSeq);
addProperty(newSeq, "DocumentFileName", "Text", "external", "name of the embedded XML invoice file");
addProperty(newSeq, "DocumentType", "Text", "external", "INVOICE");
addProperty(newSeq, "Version", "Text", "external", "The actual version of the ZUGFeRD XML schema");
addProperty(newSeq, "ConformanceLevel", "Text", "external", "The conformance level of the embedded ZUGFeRD data");
}
}

View File

@@ -1,28 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* ZUGFeRD exporter helper class
* Licensed under the APLv2
* @date 2014-05-10
* @version 1.2.0s
* @author jstaerk
* */
import org.apache.xmpbox.XMPMetadata;
import org.apache.xmpbox.schema.XMPSchema;
public class XMPSchemaZugferd extends XMPSchema {
/**
* This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file
*/
public XMPSchemaZugferd(XMPMetadata metadata, String conformanceLevel) {
super(metadata, "urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#", "zf", "ZUGFeRD Schema");
setAboutAsSimple("");
setTextPropertyValue("ConformanceLevel", conformanceLevel);
setTextPropertyValue("DocumentType", "INVOICE");
setTextPropertyValue("DocumentFileName", "ZUGFeRD-invoice.xml");
setTextPropertyValue("Version", "1.0");
}
}

View File

@@ -1,448 +0,0 @@
package org.mustangproject.ZUGFeRD;
/**
* Mustangproject's ZUGFeRD implementation
* ZUGFeRD importer
* Licensed under the APLv2
* @date 2014-07-07
* @version 1.1.0
* @author jstaerk
* */
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.util.Map;
import javax.management.RuntimeErrorException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDDocumentNameDictionary;
import org.apache.pdfbox.pdmodel.PDEmbeddedFilesNameTreeNode;
import org.apache.pdfbox.pdmodel.common.COSObjectable;
import org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification;
import org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
//root.setNamespace(Namespace.getNamespace("http://www.energystar.gov/manageBldgs/req"));
public class ZUGFeRDImporter {
/*
call extract(importFilename).
containsMeta() will return if ZUGFeRD data has been found,
afterwards you can call getBIC(), getIBAN() etc.
*/
/**@var if metadata has been found */
private boolean containsMeta=false;
/**@var the reference (i.e. invoice number) of the sender */
private String foreignReference;
private String BIC;
private String IBAN;
private String holder;
private String amount;
private String dueDate;
/** Raw XML form of the extracted data - may be directly obtained. */
private byte[] rawXML=null;
private String bankName;
private boolean amountFound;
private boolean extracted=false;
private boolean parsed=false;
/**
* Extracts a ZUGFeRD invoice from a PDF document represented by a file name.
* Errors are just logged to STDOUT.
*/
public void extract(String pdfFilename)
{
try
{
extractLowLevel(new BufferedInputStream(new FileInputStream(pdfFilename)));
} catch (IOException ioe)
{
ioe.printStackTrace();
}
}
/**
* Extracts a ZUGFeRD invoice from a PDF document represented by an input stream.
* Errors are reported via exception handling.
*/
public void extractLowLevel(InputStream pdfStream) throws IOException {
PDDocument doc = null;
try {
doc = PDDocument.load(pdfStream);
// PDDocumentInformation info = doc.getDocumentInformation();
PDDocumentNameDictionary names = new PDDocumentNameDictionary(
doc.getDocumentCatalog());
PDEmbeddedFilesNameTreeNode etn;
etn = names.getEmbeddedFiles();
if (etn==null) {
doc.close();
return;
}
Map<String, PDComplexFileSpecification> efMap = etn.getNames();
// String filePath = "/tmp/";
for (String filename : efMap.keySet()) {
/**
* currently (in the release candidate of version 1) only one
* attached file with the name ZUGFeRD-invoice.xml is allowed
* */
if (filename.equals("ZUGFeRD-invoice.xml")) { //$NON-NLS-1$
containsMeta = true;
PDComplexFileSpecification fileSpec = (PDComplexFileSpecification) efMap
.get(filename);
PDEmbeddedFile embeddedFile = fileSpec.getEmbeddedFile();
// String embeddedFilename = filePath + filename;
// File file = new File(filePath + filename);
// System.out.println("Writing " + embeddedFilename);
// ByteArrayOutputStream fileBytes=new
// ByteArrayOutputStream();
// FileOutputStream fos = new FileOutputStream(file);
rawXML = embeddedFile.toByteArray();
setMeta(new String(rawXML));
extracted=true;
// fos.write(embeddedFile.getByteArray());
// fos.close();
}
}
} catch (IOException e1) {
throw e1;
}
finally {
try {
if(doc!=null) {
doc.close();
}
} catch (IOException e) {}
}
}
public void parse() {
DocumentBuilderFactory factory = null;
DocumentBuilder builder = null;
Document document = null;
if (!extracted) {
throw new RuntimeException("extract() or extractLowLevel() must be used before parsing.");
}
factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true); //otherwise we can not act namespace independend, i.e. use document.getElementsByTagNameNS("*",...
try {
builder = factory.newDocumentBuilder();
} catch (ParserConfigurationException ex3) {
// TODO Auto-generated catch block
ex3.printStackTrace();
}
try {
InputStream bais = new ByteArrayInputStream(rawXML);
document = builder.parse(bais);
} catch (SAXException ex1) {
ex1.printStackTrace();
} catch (IOException ex2) {
ex2.printStackTrace();
}
NodeList ndList ;
// rootNode = document.getDocumentElement();
// ApplicableSupplyChainTradeSettlement
ndList = document.getDocumentElement()
.getElementsByTagNameNS("*","PaymentReference"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// if there is a attribute in the tag number:value
setForeignReference(booking.getTextContent());
}
/*
ndList = document
.getElementsByTagName("GermanBankleitzahlID"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// if there is a attribute in the tag number:value
setBIC(booking.getTextContent());
}
ndList = document.getElementsByTagName("ProprietaryID"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// if there is a attribute in the tag number:value
setIBAN(booking.getTextContent());
}
<ram:PayeePartyCreditorFinancialAccount>
<ram:IBANID>DE1234</ram:IBANID>
</ram:PayeePartyCreditorFinancialAccount>
<ram:PayeeSpecifiedCreditorFinancialInstitution>
<ram:BICID>DE5656565</ram:BICID>
<ram:Name>Commerzbank</ram:Name>
</ram:PayeeSpecifiedCreditorFinancialInstitution>
*/
ndList = document.getElementsByTagNameNS("*","PayeePartyCreditorFinancialAccount"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// there are many "name" elements, so get the one below
// SellerTradeParty
NodeList bookingDetails = booking.getChildNodes();
for (int detailIndex = 0; detailIndex < bookingDetails
.getLength(); detailIndex++) {
Node detail = bookingDetails.item(detailIndex);
if ((detail.getLocalName()!=null)&&(detail.getLocalName().equals("IBANID"))) { //$NON-NLS-1$
setIBAN(detail.getTextContent());
}
}
}
ndList = document.getElementsByTagNameNS("*","PayeeSpecifiedCreditorFinancialInstitution"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// there are many "name" elements, so get the one below
// SellerTradeParty
NodeList bookingDetails = booking.getChildNodes();
for (int detailIndex = 0; detailIndex < bookingDetails
.getLength(); detailIndex++) {
Node detail = bookingDetails.item(detailIndex);
if ((detail.getLocalName()!=null)&&(detail.getLocalName().equals("BICID"))) { //$NON-NLS-1$
setBIC(detail.getTextContent());
}
if ((detail.getLocalName()!=null)&&(detail.getLocalName().equals("Name"))) { //$NON-NLS-1$
setBankName(detail.getTextContent());
}
}
}
//
ndList = document.getElementsByTagNameNS("*","SellerTradeParty"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// there are many "name" elements, so get the one below
// SellerTradeParty
NodeList bookingDetails = booking.getChildNodes();
for (int detailIndex = 0; detailIndex < bookingDetails
.getLength(); detailIndex++) {
Node detail = bookingDetails.item(detailIndex);
if ((detail.getLocalName()!=null)&&(detail.getLocalName().equals("Name"))) { //$NON-NLS-1$
setHolder(detail.getTextContent());
}
}
}
ndList = document.getElementsByTagNameNS("*","DuePayableAmount"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// if there is a attribute in the tag number:value
amountFound=true;
setAmount(booking.getTextContent());
}
if (!amountFound) {
/* there is apparently no requirement to mention DuePayableAmount,,
* if it's not there, check for GrandTotalAmount
*/
ndList = document.getElementsByTagNameNS("*","GrandTotalAmount"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// if there is a attribute in the tag number:value
amountFound=true;
setAmount(booking.getTextContent());
}
}
ndList = document.getElementsByTagNameNS("*","SpecifiedTradePaymentTerms"); //$NON-NLS-1$
for (int bookingIndex = 0; bookingIndex < ndList
.getLength(); bookingIndex++) {
Node booking = ndList.item(bookingIndex);
// there are many "name" elements, so get the one below
// SellerTradeParty
NodeList bookingDetails = booking.getChildNodes();
for (int detailIndex = 0; detailIndex < bookingDetails
.getLength(); detailIndex++) {
Node detail = bookingDetails.item(detailIndex);
if ((detail.getLocalName()!=null)&&(detail.getLocalName().equals("DueDateDateTime"))) { //$NON-NLS-1$
setDueDate(detail.getTextContent().trim());
}
}
}
parsed=true;
}
public boolean containsMeta() {
return containsMeta;
}
public String getForeignReference() {
if (!parsed) {
throw new RuntimeException("use parse() before requesting a value");
}
return foreignReference;
}
private void setForeignReference(String foreignReference) {
this.foreignReference = foreignReference;
}
public String getBIC() {
if (!parsed) {
throw new RuntimeException("use parse() before requesting a value");
}
return BIC;
}
private void setBIC(String bic) {
this.BIC = bic;
}
private void setDueDate(String dueDate) {
this.dueDate = dueDate;
}
private void setBankName(String bankname) {
this.bankName = bankname;
}
public String getIBAN() {
if (!parsed) {
throw new RuntimeException("use parse() before requesting a value");
}
return IBAN;
}
public String getBankName() {
if (!parsed) {
throw new RuntimeException("use parse() before requesting a value");
}
return bankName;
}
private void setIBAN(String IBAN) {
this.IBAN = IBAN;
}
public String getHolder() {
if (rawXML==null) {
throw new RuntimeException("use parse() before requesting a value");
}
return holder;
}
private void setHolder(String holder) {
this.holder = holder;
}
public String getAmount() {
if (rawXML==null) {
throw new RuntimeException("use parse() before requesting a value");
}
return amount;
}
public String getDueDate() {
if (rawXML==null) {
throw new RuntimeException("use parse() before requesting a value");
}
return dueDate;
}
private void setAmount(String amount) {
this.amount = amount;
}
public void setMeta(String meta) {
this.rawXML=meta.getBytes();
}
public String getMeta() {
if (rawXML==null){
return null;
} else {
return new String(rawXML);
}
}
/**
* Returns the raw XML data as extracted from the ZUGFeRD PDF file.
*/
public byte[] getRawXML()
{
return rawXML;
}
/**
* will return true if the metadata (just extract-ed or set with setMeta) contains ZUGFeRD XML
* */
public boolean canParse() {
//SpecifiedExchangedDocumentContext is in the schema, so a relatively good indication if zugferd is present - better than just invoice
String meta=getMeta();
return (meta!=null)&&( meta.length()>0)&&( meta.contains("SpecifiedExchangedDocumentContext")); //$NON-NLS-1$
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r AllowanceChargeReasonCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="AllowanceChargeReasonCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;AllowanceChargeReasonCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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;
}
}

View File

@@ -1,98 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r AmountType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="AmountType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;decimal"&gt;
* &lt;attribute name="currencyID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountTypeCurrencyIDContentType" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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 currencyID-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
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;
}
}

View File

@@ -1,130 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r CodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="CodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;token"&gt;
* &lt;attribute name="listID" type="{http://www.w3.org/2001/XMLSchema}token" /&gt;
* &lt;attribute name="listVersionID" type="{http://www.w3.org/2001/XMLSchema}token" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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 listID-Eigenschaft ab.
*
* @return
* possible object is
* {@link 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
* possible object is
* {@link 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;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r CountryIDType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="CountryIDType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;CountryIDContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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;
}
}

View File

@@ -1,125 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r CreditorFinancialAccountType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="CreditorFinancialAccountType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="IBANID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="AccountName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="ProprietaryID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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 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;
}
}

View File

@@ -1,125 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r CreditorFinancialInstitutionType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="CreditorFinancialInstitutionType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BICID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="GermanBankleitzahlID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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
* possible object is
* {@link 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
* 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;
}
}

View File

@@ -1,128 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r CrossIndustryDocumentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="CrossIndustryDocumentType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="SpecifiedExchangedDocumentContext" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ExchangedDocumentContextType"/&gt;
* &lt;element name="HeaderExchangedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ExchangedDocumentType"/&gt;
* &lt;element name="SpecifiedSupplyChainTradeTransaction" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeTransactionType"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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
* possible object is
* {@link 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
* possible object is
* {@link 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;
}
}

View File

@@ -1,162 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DateTimeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DateTimeType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;choice&gt;
* &lt;element name="DateTimeString"&gt;
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* &lt;/element&gt;
* &lt;/choice&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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;
}
/**
* <p>Java-Klasse f<>r anonymous complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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 format-Eigenschaft ab.
*
* @return
* possible object is
* {@link 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;
}
}
}

View File

@@ -1,97 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DebtorFinancialAccountType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DebtorFinancialAccountType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="IBANID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="ProprietaryID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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
* 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;
}
}

View File

@@ -1,125 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DebtorFinancialInstitutionType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DebtorFinancialInstitutionType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BICID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="GermanBankleitzahlID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* possible object is
* {@link 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
* possible object is
* {@link 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
* 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;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DeliveryTermsCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DeliveryTermsCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;DeliveryTermsCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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;
}
}

View File

@@ -1,73 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DocumentCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DocumentCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;DocumentCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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;
}
}

View File

@@ -1,72 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DocumentContextParameterType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DocumentContextParameterType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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
* 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;
}
}

View File

@@ -1,104 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r DocumentLineDocumentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="DocumentLineDocumentType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="LineID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="IncludedNote" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}NoteType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentLineDocumentType", propOrder = {
"lineID",
"includedNote"
})
public class DocumentLineDocumentType {
@XmlElement(name = "LineID")
protected IDType lineID;
@XmlElement(name = "IncludedNote")
protected List<NoteType> includedNote;
/**
* 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;
}
/**
* Gets the value of the includedNote property.
*
* <p>
* 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 <CODE>set</CODE> method for the includedNote property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIncludedNote().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link NoteType }
*
*
*/
public List<NoteType> getIncludedNote() {
if (includedNote == null) {
includedNote = new ArrayList<NoteType>();
}
return this.includedNote;
}
}

View File

@@ -1,137 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ExchangedDocumentContextType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ExchangedDocumentContextType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="TestIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/&gt;
* &lt;element name="BusinessProcessSpecifiedDocumentContextParameter" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentContextParameterType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="GuidelineSpecifiedDocumentContextParameter" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentContextParameterType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangedDocumentContextType", propOrder = {
"testIndicator",
"businessProcessSpecifiedDocumentContextParameter",
"guidelineSpecifiedDocumentContextParameter"
})
public class ExchangedDocumentContextType {
@XmlElement(name = "TestIndicator")
protected IndicatorType testIndicator;
@XmlElement(name = "BusinessProcessSpecifiedDocumentContextParameter")
protected List<DocumentContextParameterType> businessProcessSpecifiedDocumentContextParameter;
@XmlElement(name = "GuidelineSpecifiedDocumentContextParameter")
protected List<DocumentContextParameterType> guidelineSpecifiedDocumentContextParameter;
/**
* Ruft den Wert der testIndicator-Eigenschaft ab.
*
* @return
* possible object is
* {@link 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.
*
* <p>
* 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 <CODE>set</CODE> method for the businessProcessSpecifiedDocumentContextParameter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBusinessProcessSpecifiedDocumentContextParameter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DocumentContextParameterType }
*
*
*/
public List<DocumentContextParameterType> getBusinessProcessSpecifiedDocumentContextParameter() {
if (businessProcessSpecifiedDocumentContextParameter == null) {
businessProcessSpecifiedDocumentContextParameter = new ArrayList<DocumentContextParameterType>();
}
return this.businessProcessSpecifiedDocumentContextParameter;
}
/**
* Gets the value of the guidelineSpecifiedDocumentContextParameter property.
*
* <p>
* 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 <CODE>set</CODE> method for the guidelineSpecifiedDocumentContextParameter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGuidelineSpecifiedDocumentContextParameter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DocumentContextParameterType }
*
*
*/
public List<DocumentContextParameterType> getGuidelineSpecifiedDocumentContextParameter() {
if (guidelineSpecifiedDocumentContextParameter == null) {
guidelineSpecifiedDocumentContextParameter = new ArrayList<DocumentContextParameterType>();
}
return this.guidelineSpecifiedDocumentContextParameter;
}
}

View File

@@ -1,282 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ExchangedDocumentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ExchangedDocumentType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DocumentCodeType" minOccurs="0"/&gt;
* &lt;element name="IssueDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/&gt;
* &lt;element name="CopyIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/&gt;
* &lt;element name="LanguageID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="IncludedNote" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}NoteType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="EffectiveSpecifiedPeriod" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SpecifiedPeriodType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<TextType> name;
@XmlElement(name = "TypeCode")
protected DocumentCodeType typeCode;
@XmlElement(name = "IssueDateTime")
protected DateTimeType issueDateTime;
@XmlElement(name = "CopyIndicator")
protected IndicatorType copyIndicator;
@XmlElement(name = "LanguageID")
protected List<IDType> languageID;
@XmlElement(name = "IncludedNote")
protected List<NoteType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the name property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getName() {
if (name == null) {
name = new ArrayList<TextType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the languageID property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getLanguageID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getLanguageID() {
if (languageID == null) {
languageID = new ArrayList<IDType>();
}
return this.languageID;
}
/**
* Gets the value of the includedNote property.
*
* <p>
* 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 <CODE>set</CODE> method for the includedNote property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIncludedNote().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link NoteType }
*
*
*/
public List<NoteType> getIncludedNote() {
if (includedNote == null) {
includedNote = new ArrayList<NoteType>();
}
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;
}
}

View File

@@ -1,129 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r IDType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="IDType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;token"&gt;
* &lt;attribute name="schemeID" type="{http://www.w3.org/2001/XMLSchema}token" /&gt;
* &lt;attribute name="schemeAgencyID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDTypeSchemeAgencyIDContentType" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r IndicatorType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="IndicatorType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;choice&gt;
* &lt;element name="Indicator" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
* &lt;/choice&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,142 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r LogisticsServiceChargeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="LogisticsServiceChargeType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="AppliedAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="AppliedTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LogisticsServiceChargeType", propOrder = {
"description",
"appliedAmount",
"appliedTradeTax"
})
public class LogisticsServiceChargeType {
@XmlElement(name = "Description")
protected List<TextType> description;
@XmlElement(name = "AppliedAmount")
protected List<AmountType> appliedAmount;
@XmlElement(name = "AppliedTradeTax")
protected List<TradeTaxType> appliedTradeTax;
/**
* Gets the value of the description property.
*
* <p>
* 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 <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getDescription() {
if (description == null) {
description = new ArrayList<TextType>();
}
return this.description;
}
/**
* Gets the value of the appliedAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the appliedAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAppliedAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getAppliedAmount() {
if (appliedAmount == null) {
appliedAmount = new ArrayList<AmountType>();
}
return this.appliedAmount;
}
/**
* Gets the value of the appliedTradeTax property.
*
* <p>
* 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 <CODE>set</CODE> method for the appliedTradeTax property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAppliedTradeTax().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeTaxType }
*
*
*/
public List<TradeTaxType> getAppliedTradeTax() {
if (appliedTradeTax == null) {
appliedTradeTax = new ArrayList<TradeTaxType>();
}
return this.appliedTradeTax;
}
}

View File

@@ -1,97 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r LogisticsTransportMovementType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="LogisticsTransportMovementType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ModeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,98 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r MeasureType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="MeasureType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;decimal"&gt;
* &lt;attribute name="unitCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureTypeUnitCodeContentType" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,143 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r NoteType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="NoteType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ContentCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Content" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SubjectCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<CodeType> contentCode;
@XmlElement(name = "Content")
protected List<TextType> content;
@XmlElement(name = "SubjectCode")
protected CodeType subjectCode;
/**
* Gets the value of the contentCode property.
*
* <p>
* 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 <CODE>set</CODE> method for the contentCode property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContentCode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CodeType }
*
*
*/
public List<CodeType> getContentCode() {
if (contentCode == null) {
contentCode = new ArrayList<CodeType>();
}
return this.contentCode;
}
/**
* Gets the value of the content property.
*
* <p>
* 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 <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getContent() {
if (content == null) {
content = new ArrayList<TextType>();
}
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;
}
}

View File

@@ -1,67 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r NumericType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="NumericType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;decimal"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,533 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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.
* <p>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<CrossIndustryDocumentType> createCrossIndustryDocument(CrossIndustryDocumentType value) {
return new JAXBElement<CrossIndustryDocumentType>(_CrossIndustryDocument_QNAME, CrossIndustryDocumentType.class, null, value);
}
}

View File

@@ -1,79 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r PaymentMeansCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="PaymentMeansCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;PaymentMeansCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,67 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r PercentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="PercentType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;decimal"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,175 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ProductCharacteristicType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ProductCharacteristicType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ValueMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Value" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProductCharacteristicType", propOrder = {
"typeCode",
"description",
"valueMeasure",
"value"
})
public class ProductCharacteristicType {
@XmlElement(name = "TypeCode")
protected List<CodeType> typeCode;
@XmlElement(name = "Description")
protected List<TextType> description;
@XmlElement(name = "ValueMeasure")
protected List<MeasureType> valueMeasure;
@XmlElement(name = "Value")
protected List<TextType> value;
/**
* Gets the value of the typeCode property.
*
* <p>
* 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 <CODE>set</CODE> method for the typeCode property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTypeCode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CodeType }
*
*
*/
public List<CodeType> getTypeCode() {
if (typeCode == null) {
typeCode = new ArrayList<CodeType>();
}
return this.typeCode;
}
/**
* Gets the value of the description property.
*
* <p>
* 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 <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getDescription() {
if (description == null) {
description = new ArrayList<TextType>();
}
return this.description;
}
/**
* Gets the value of the valueMeasure property.
*
* <p>
* 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 <CODE>set</CODE> method for the valueMeasure property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValueMeasure().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link MeasureType }
*
*
*/
public List<MeasureType> getValueMeasure() {
if (valueMeasure == null) {
valueMeasure = new ArrayList<MeasureType>();
}
return this.valueMeasure;
}
/**
* Gets the value of the value property.
*
* <p>
* 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 <CODE>set</CODE> method for the value property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValue().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getValue() {
if (value == null) {
value = new ArrayList<TextType>();
}
return this.value;
}
}

View File

@@ -1,104 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ProductClassificationType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ProductClassificationType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ClassCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/&gt;
* &lt;element name="ClassName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProductClassificationType", propOrder = {
"classCode",
"className"
})
public class ProductClassificationType {
@XmlElement(name = "ClassCode")
protected CodeType classCode;
@XmlElement(name = "ClassName")
protected List<TextType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the className property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getClassName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getClassName() {
if (className == null) {
className = new ArrayList<TextType>();
}
return this.className;
}
}

View File

@@ -1,120 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r QuantityType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="QuantityType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;decimal"&gt;
* &lt;attribute name="unitCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityTypeUnitCodeContentType" /&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ReferenceCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ReferenceCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;ReferenceCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,190 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ReferencedDocumentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ReferencedDocumentType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="IssueDateTime" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DateMandatoryDateTimeType" minOccurs="0"/&gt;
* &lt;element name="LineID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DocumentCodeType" minOccurs="0"/&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ReferenceTypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}ReferenceCodeType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<IDType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the id property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getID() {
if (id == null) {
id = new ArrayList<IDType>();
}
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;
}
}

View File

@@ -1,231 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r ReferencedProductType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ReferencedProductType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SellerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="BuyerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="UnitQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReferencedProductType", propOrder = {
"globalID",
"sellerAssignedID",
"buyerAssignedID",
"name",
"description",
"unitQuantity"
})
public class ReferencedProductType {
@XmlElement(name = "GlobalID")
protected List<IDType> globalID;
@XmlElement(name = "SellerAssignedID")
protected IDType sellerAssignedID;
@XmlElement(name = "BuyerAssignedID")
protected IDType buyerAssignedID;
@XmlElement(name = "Name")
protected List<TextType> name;
@XmlElement(name = "Description")
protected List<TextType> description;
@XmlElement(name = "UnitQuantity")
protected List<QuantityType> unitQuantity;
/**
* Gets the value of the globalID property.
*
* <p>
* 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 <CODE>set</CODE> method for the globalID property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGlobalID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getGlobalID() {
if (globalID == null) {
globalID = new ArrayList<IDType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the name property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getName() {
if (name == null) {
name = new ArrayList<TextType>();
}
return this.name;
}
/**
* Gets the value of the description property.
*
* <p>
* 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 <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getDescription() {
if (description == null) {
description = new ArrayList<TextType>();
}
return this.description;
}
/**
* Gets the value of the unitQuantity property.
*
* <p>
* 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 <CODE>set</CODE> method for the unitQuantity property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getUnitQuantity().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link QuantityType }
*
*
*/
public List<QuantityType> getUnitQuantity() {
if (unitQuantity == null) {
unitQuantity = new ArrayList<QuantityType>();
}
return this.unitQuantity;
}
}

View File

@@ -1,125 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SpecifiedPeriodType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="SpecifiedPeriodType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StartDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
* <element name="EndDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
* <element name="CompleteDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,76 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainConsignmentType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainConsignmentType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="SpecifiedLogisticsTransportMovement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}LogisticsTransportMovementType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SupplyChainConsignmentType", propOrder = {
"specifiedLogisticsTransportMovement"
})
public class SupplyChainConsignmentType {
@XmlElement(name = "SpecifiedLogisticsTransportMovement")
protected List<LogisticsTransportMovementType> specifiedLogisticsTransportMovement;
/**
* Gets the value of the specifiedLogisticsTransportMovement property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedLogisticsTransportMovement property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedLogisticsTransportMovement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link LogisticsTransportMovementType }
*
*
*/
public List<LogisticsTransportMovementType> getSpecifiedLogisticsTransportMovement() {
if (specifiedLogisticsTransportMovement == null) {
specifiedLogisticsTransportMovement = new ArrayList<LogisticsTransportMovementType>();
}
return this.specifiedLogisticsTransportMovement;
}
}

View File

@@ -1,76 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainEventType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainEventType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="OccurrenceDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SupplyChainEventType", propOrder = {
"occurrenceDateTime"
})
public class SupplyChainEventType {
@XmlElement(name = "OccurrenceDateTime")
protected List<DateTimeType> occurrenceDateTime;
/**
* Gets the value of the occurrenceDateTime property.
*
* <p>
* 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 <CODE>set</CODE> method for the occurrenceDateTime property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOccurrenceDateTime().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DateTimeType }
*
*
*/
public List<DateTimeType> getOccurrenceDateTime() {
if (occurrenceDateTime == null) {
occurrenceDateTime = new ArrayList<DateTimeType>();
}
return this.occurrenceDateTime;
}
}

View File

@@ -1,386 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainTradeAgreementType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainTradeAgreementType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BuyerReference" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SellerTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="BuyerTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="ProductEndUserTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="ApplicableTradeDeliveryTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeDeliveryTermsType" minOccurs="0"/&gt;
* &lt;element name="BuyerOrderReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ContractReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="AdditionalReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="GrossPriceProductTradePrice" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePriceType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="NetPriceProductTradePrice" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePriceType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="CustomerOrderReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<TextType> 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<ReferencedDocumentType> buyerOrderReferencedDocument;
@XmlElement(name = "ContractReferencedDocument")
protected List<ReferencedDocumentType> contractReferencedDocument;
@XmlElement(name = "AdditionalReferencedDocument")
protected List<ReferencedDocumentType> additionalReferencedDocument;
@XmlElement(name = "GrossPriceProductTradePrice")
protected List<TradePriceType> grossPriceProductTradePrice;
@XmlElement(name = "NetPriceProductTradePrice")
protected List<TradePriceType> netPriceProductTradePrice;
@XmlElement(name = "CustomerOrderReferencedDocument")
protected List<ReferencedDocumentType> customerOrderReferencedDocument;
/**
* Gets the value of the buyerReference property.
*
* <p>
* 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 <CODE>set</CODE> method for the buyerReference property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBuyerReference().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getBuyerReference() {
if (buyerReference == null) {
buyerReference = new ArrayList<TextType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the buyerOrderReferencedDocument property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBuyerOrderReferencedDocument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedDocumentType }
*
*
*/
public List<ReferencedDocumentType> getBuyerOrderReferencedDocument() {
if (buyerOrderReferencedDocument == null) {
buyerOrderReferencedDocument = new ArrayList<ReferencedDocumentType>();
}
return this.buyerOrderReferencedDocument;
}
/**
* Gets the value of the contractReferencedDocument property.
*
* <p>
* 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 <CODE>set</CODE> method for the contractReferencedDocument property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContractReferencedDocument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedDocumentType }
*
*
*/
public List<ReferencedDocumentType> getContractReferencedDocument() {
if (contractReferencedDocument == null) {
contractReferencedDocument = new ArrayList<ReferencedDocumentType>();
}
return this.contractReferencedDocument;
}
/**
* Gets the value of the additionalReferencedDocument property.
*
* <p>
* 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 <CODE>set</CODE> method for the additionalReferencedDocument property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAdditionalReferencedDocument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedDocumentType }
*
*
*/
public List<ReferencedDocumentType> getAdditionalReferencedDocument() {
if (additionalReferencedDocument == null) {
additionalReferencedDocument = new ArrayList<ReferencedDocumentType>();
}
return this.additionalReferencedDocument;
}
/**
* Gets the value of the grossPriceProductTradePrice property.
*
* <p>
* 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 <CODE>set</CODE> method for the grossPriceProductTradePrice property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGrossPriceProductTradePrice().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePriceType }
*
*
*/
public List<TradePriceType> getGrossPriceProductTradePrice() {
if (grossPriceProductTradePrice == null) {
grossPriceProductTradePrice = new ArrayList<TradePriceType>();
}
return this.grossPriceProductTradePrice;
}
/**
* Gets the value of the netPriceProductTradePrice property.
*
* <p>
* 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 <CODE>set</CODE> method for the netPriceProductTradePrice property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNetPriceProductTradePrice().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePriceType }
*
*
*/
public List<TradePriceType> getNetPriceProductTradePrice() {
if (netPriceProductTradePrice == null) {
netPriceProductTradePrice = new ArrayList<TradePriceType>();
}
return this.netPriceProductTradePrice;
}
/**
* Gets the value of the customerOrderReferencedDocument property.
*
* <p>
* 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 <CODE>set</CODE> method for the customerOrderReferencedDocument property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCustomerOrderReferencedDocument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedDocumentType }
*
*
*/
public List<ReferencedDocumentType> getCustomerOrderReferencedDocument() {
if (customerOrderReferencedDocument == null) {
customerOrderReferencedDocument = new ArrayList<ReferencedDocumentType>();
}
return this.customerOrderReferencedDocument;
}
}

View File

@@ -1,366 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainTradeDeliveryType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainTradeDeliveryType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BilledQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/&gt;
* &lt;element name="ChargeFreeQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/&gt;
* &lt;element name="PackageQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/&gt;
* &lt;element name="RelatedSupplyChainConsignment" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainConsignmentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ShipToTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="UltimateShipToTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="ShipFromTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="ActualDeliverySupplyChainEvent" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainEventType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="DespatchAdviceReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" minOccurs="0"/&gt;
* &lt;element name="ReceivingAdviceReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="DeliveryNoteReferencedDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedDocumentType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<SupplyChainConsignmentType> relatedSupplyChainConsignment;
@XmlElement(name = "ShipToTradeParty")
protected TradePartyType shipToTradeParty;
@XmlElement(name = "UltimateShipToTradeParty")
protected TradePartyType ultimateShipToTradeParty;
@XmlElement(name = "ShipFromTradeParty")
protected TradePartyType shipFromTradeParty;
@XmlElement(name = "ActualDeliverySupplyChainEvent")
protected List<SupplyChainEventType> actualDeliverySupplyChainEvent;
@XmlElement(name = "DespatchAdviceReferencedDocument")
protected ReferencedDocumentType despatchAdviceReferencedDocument;
@XmlElement(name = "ReceivingAdviceReferencedDocument")
protected List<ReferencedDocumentType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the relatedSupplyChainConsignment property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelatedSupplyChainConsignment().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SupplyChainConsignmentType }
*
*
*/
public List<SupplyChainConsignmentType> getRelatedSupplyChainConsignment() {
if (relatedSupplyChainConsignment == null) {
relatedSupplyChainConsignment = new ArrayList<SupplyChainConsignmentType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the actualDeliverySupplyChainEvent property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getActualDeliverySupplyChainEvent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SupplyChainEventType }
*
*
*/
public List<SupplyChainEventType> getActualDeliverySupplyChainEvent() {
if (actualDeliverySupplyChainEvent == null) {
actualDeliverySupplyChainEvent = new ArrayList<SupplyChainEventType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the receivingAdviceReferencedDocument property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getReceivingAdviceReferencedDocument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedDocumentType }
*
*
*/
public List<ReferencedDocumentType> getReceivingAdviceReferencedDocument() {
if (receivingAdviceReferencedDocument == null) {
receivingAdviceReferencedDocument = new ArrayList<ReferencedDocumentType>();
}
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;
}
}

View File

@@ -1,181 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainTradeLineItemType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainTradeLineItemType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="AssociatedDocumentLineDocument" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DocumentLineDocumentType" minOccurs="0"/&gt;
* &lt;element name="SpecifiedSupplyChainTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeAgreementType" minOccurs="0"/&gt;
* &lt;element name="SpecifiedSupplyChainTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeDeliveryType" minOccurs="0"/&gt;
* &lt;element name="SpecifiedSupplyChainTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeSettlementType" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradeProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeProductType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,457 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainTradeSettlementType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainTradeSettlementType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PaymentReference" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="InvoiceCurrencyCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" minOccurs="0"/&gt;
* &lt;element name="InvoiceeTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" minOccurs="0"/&gt;
* &lt;element name="PayeeTradeParty" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePartyType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradeSettlementPaymentMeans" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeSettlementPaymentMeansType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ApplicableTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="BillingSpecifiedPeriod" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SpecifiedPeriodType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedLogisticsServiceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}LogisticsServiceChargeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradePaymentTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentTermsType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradeAccountingAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAccountingAccountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTradeSettlementMonetarySummation" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeSettlementMonetarySummationType" minOccurs="0"/&gt;
* &lt;element name="ReceivableSpecifiedTradeAccountingAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAccountingAccountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<TextType> paymentReference;
@XmlElement(name = "InvoiceCurrencyCode")
protected CodeType invoiceCurrencyCode;
@XmlElement(name = "InvoiceeTradeParty")
protected TradePartyType invoiceeTradeParty;
@XmlElement(name = "PayeeTradeParty")
protected List<TradePartyType> payeeTradeParty;
@XmlElement(name = "SpecifiedTradeSettlementPaymentMeans")
protected List<TradeSettlementPaymentMeansType> specifiedTradeSettlementPaymentMeans;
@XmlElement(name = "ApplicableTradeTax")
protected List<TradeTaxType> applicableTradeTax;
@XmlElement(name = "BillingSpecifiedPeriod")
protected List<SpecifiedPeriodType> billingSpecifiedPeriod;
@XmlElement(name = "SpecifiedTradeAllowanceCharge")
protected List<TradeAllowanceChargeType> specifiedTradeAllowanceCharge;
@XmlElement(name = "SpecifiedLogisticsServiceCharge")
protected List<LogisticsServiceChargeType> specifiedLogisticsServiceCharge;
@XmlElement(name = "SpecifiedTradePaymentTerms")
protected List<TradePaymentTermsType> specifiedTradePaymentTerms;
@XmlElement(name = "SpecifiedTradeAccountingAccount")
protected List<TradeAccountingAccountType> specifiedTradeAccountingAccount;
@XmlElement(name = "SpecifiedTradeSettlementMonetarySummation")
protected TradeSettlementMonetarySummationType specifiedTradeSettlementMonetarySummation;
@XmlElement(name = "ReceivableSpecifiedTradeAccountingAccount")
protected List<TradeAccountingAccountType> receivableSpecifiedTradeAccountingAccount;
/**
* Gets the value of the paymentReference property.
*
* <p>
* 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 <CODE>set</CODE> method for the paymentReference property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPaymentReference().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getPaymentReference() {
if (paymentReference == null) {
paymentReference = new ArrayList<TextType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the payeeTradeParty property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPayeeTradeParty().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePartyType }
*
*
*/
public List<TradePartyType> getPayeeTradeParty() {
if (payeeTradeParty == null) {
payeeTradeParty = new ArrayList<TradePartyType>();
}
return this.payeeTradeParty;
}
/**
* Gets the value of the specifiedTradeSettlementPaymentMeans property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedTradeSettlementPaymentMeans property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedTradeSettlementPaymentMeans().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeSettlementPaymentMeansType }
*
*
*/
public List<TradeSettlementPaymentMeansType> getSpecifiedTradeSettlementPaymentMeans() {
if (specifiedTradeSettlementPaymentMeans == null) {
specifiedTradeSettlementPaymentMeans = new ArrayList<TradeSettlementPaymentMeansType>();
}
return this.specifiedTradeSettlementPaymentMeans;
}
/**
* Gets the value of the applicableTradeTax property.
*
* <p>
* 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 <CODE>set</CODE> method for the applicableTradeTax property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableTradeTax().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeTaxType }
*
*
*/
public List<TradeTaxType> getApplicableTradeTax() {
if (applicableTradeTax == null) {
applicableTradeTax = new ArrayList<TradeTaxType>();
}
return this.applicableTradeTax;
}
/**
* Gets the value of the billingSpecifiedPeriod property.
*
* <p>
* 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 <CODE>set</CODE> method for the billingSpecifiedPeriod property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBillingSpecifiedPeriod().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SpecifiedPeriodType }
*
*
*/
public List<SpecifiedPeriodType> getBillingSpecifiedPeriod() {
if (billingSpecifiedPeriod == null) {
billingSpecifiedPeriod = new ArrayList<SpecifiedPeriodType>();
}
return this.billingSpecifiedPeriod;
}
/**
* Gets the value of the specifiedTradeAllowanceCharge property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedTradeAllowanceCharge property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedTradeAllowanceCharge().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeAllowanceChargeType }
*
*
*/
public List<TradeAllowanceChargeType> getSpecifiedTradeAllowanceCharge() {
if (specifiedTradeAllowanceCharge == null) {
specifiedTradeAllowanceCharge = new ArrayList<TradeAllowanceChargeType>();
}
return this.specifiedTradeAllowanceCharge;
}
/**
* Gets the value of the specifiedLogisticsServiceCharge property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedLogisticsServiceCharge property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedLogisticsServiceCharge().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link LogisticsServiceChargeType }
*
*
*/
public List<LogisticsServiceChargeType> getSpecifiedLogisticsServiceCharge() {
if (specifiedLogisticsServiceCharge == null) {
specifiedLogisticsServiceCharge = new ArrayList<LogisticsServiceChargeType>();
}
return this.specifiedLogisticsServiceCharge;
}
/**
* Gets the value of the specifiedTradePaymentTerms property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedTradePaymentTerms property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedTradePaymentTerms().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePaymentTermsType }
*
*
*/
public List<TradePaymentTermsType> getSpecifiedTradePaymentTerms() {
if (specifiedTradePaymentTerms == null) {
specifiedTradePaymentTerms = new ArrayList<TradePaymentTermsType>();
}
return this.specifiedTradePaymentTerms;
}
/**
* Gets the value of the specifiedTradeAccountingAccount property.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedTradeAccountingAccount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedTradeAccountingAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeAccountingAccountType }
*
*
*/
public List<TradeAccountingAccountType> getSpecifiedTradeAccountingAccount() {
if (specifiedTradeAccountingAccount == null) {
specifiedTradeAccountingAccount = new ArrayList<TradeAccountingAccountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the receivableSpecifiedTradeAccountingAccount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getReceivableSpecifiedTradeAccountingAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeAccountingAccountType }
*
*
*/
public List<TradeAccountingAccountType> getReceivableSpecifiedTradeAccountingAccount() {
if (receivableSpecifiedTradeAccountingAccount == null) {
receivableSpecifiedTradeAccountingAccount = new ArrayList<TradeAccountingAccountType>();
}
return this.receivableSpecifiedTradeAccountingAccount;
}
}

View File

@@ -1,165 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r SupplyChainTradeTransactionType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SupplyChainTradeTransactionType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ApplicableSupplyChainTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeAgreementType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ApplicableSupplyChainTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeDeliveryType" minOccurs="0"/&gt;
* &lt;element name="ApplicableSupplyChainTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeSettlementType" minOccurs="0"/&gt;
* &lt;element name="IncludedSupplyChainTradeLineItem" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeLineItemType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SupplyChainTradeTransactionType", propOrder = {
"applicableSupplyChainTradeAgreement",
"applicableSupplyChainTradeDelivery",
"applicableSupplyChainTradeSettlement",
"includedSupplyChainTradeLineItem"
})
public class SupplyChainTradeTransactionType {
@XmlElement(name = "ApplicableSupplyChainTradeAgreement")
protected List<SupplyChainTradeAgreementType> applicableSupplyChainTradeAgreement;
@XmlElement(name = "ApplicableSupplyChainTradeDelivery")
protected SupplyChainTradeDeliveryType applicableSupplyChainTradeDelivery;
@XmlElement(name = "ApplicableSupplyChainTradeSettlement")
protected SupplyChainTradeSettlementType applicableSupplyChainTradeSettlement;
@XmlElement(name = "IncludedSupplyChainTradeLineItem")
protected List<SupplyChainTradeLineItemType> includedSupplyChainTradeLineItem;
/**
* Gets the value of the applicableSupplyChainTradeAgreement property.
*
* <p>
* 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 <CODE>set</CODE> method for the applicableSupplyChainTradeAgreement property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableSupplyChainTradeAgreement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SupplyChainTradeAgreementType }
*
*
*/
public List<SupplyChainTradeAgreementType> getApplicableSupplyChainTradeAgreement() {
if (applicableSupplyChainTradeAgreement == null) {
applicableSupplyChainTradeAgreement = new ArrayList<SupplyChainTradeAgreementType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the includedSupplyChainTradeLineItem property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIncludedSupplyChainTradeLineItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SupplyChainTradeLineItemType }
*
*
*/
public List<SupplyChainTradeLineItemType> getIncludedSupplyChainTradeLineItem() {
if (includedSupplyChainTradeLineItem == null) {
includedSupplyChainTradeLineItem = new ArrayList<SupplyChainTradeLineItemType>();
}
return this.includedSupplyChainTradeLineItem;
}
}

View File

@@ -1,76 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TaxCategoryCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TaxCategoryCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;TaxCategoryCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,72 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TaxRegistrationType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TaxRegistrationType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,73 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TaxTypeCodeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TaxTypeCodeType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;urn:un:unece:uncefact:data:standard:QualifiedDataType:12&gt;TaxTypeCodeContentType"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,66 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TextType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TextType"&gt;
* &lt;simpleContent&gt;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
* &lt;/extension&gt;
* &lt;/simpleContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeAccountingAccountType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeAccountingAccountType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,188 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeAddressType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeAddressType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PostcodeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="LineOne" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="LineTwo" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="CityName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="CountryID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeAddressType", propOrder = {
"postcodeCode",
"lineOne",
"lineTwo",
"cityName",
"countryID"
})
public class TradeAddressType {
@XmlElement(name = "PostcodeCode")
protected List<CodeType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the postcodeCode property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPostcodeCode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CodeType }
*
*
*/
public List<CodeType> getPostcodeCode() {
if (postcodeCode == null) {
postcodeCode = new ArrayList<CodeType>();
}
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;
}
}

View File

@@ -1,305 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeAllowanceChargeType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeAllowanceChargeType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ChargeIndicator" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IndicatorType" minOccurs="0"/&gt;
* &lt;element name="SequenceNumeric" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}NumericType" minOccurs="0"/&gt;
* &lt;element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/&gt;
* &lt;element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" minOccurs="0"/&gt;
* &lt;element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/&gt;
* &lt;element name="ActualAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ReasonCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}AllowanceChargeReasonCodeType" minOccurs="0"/&gt;
* &lt;element name="Reason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="CategoryTradeTax" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeTaxType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<AmountType> actualAmount;
@XmlElement(name = "ReasonCode")
protected AllowanceChargeReasonCodeType reasonCode;
@XmlElement(name = "Reason")
protected TextType reason;
@XmlElement(name = "CategoryTradeTax")
protected List<TradeTaxType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the actualAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getActualAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getActualAmount() {
if (actualAmount == null) {
actualAmount = new ArrayList<AmountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the categoryTradeTax property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCategoryTradeTax().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeTaxType }
*
*
*/
public List<TradeTaxType> getCategoryTradeTax() {
if (categoryTradeTax == null) {
categoryTradeTax = new ArrayList<TradeTaxType>();
}
return this.categoryTradeTax;
}
}

View File

@@ -1,193 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeContactType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeContactType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="PersonName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="DepartmentName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="TelephoneUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="FaxUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="EmailURIUniversalCommunication" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}UniversalCommunicationType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<UniversalCommunicationType> telephoneUniversalCommunication;
@XmlElement(name = "FaxUniversalCommunication")
protected List<UniversalCommunicationType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the telephoneUniversalCommunication property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTelephoneUniversalCommunication().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link UniversalCommunicationType }
*
*
*/
public List<UniversalCommunicationType> getTelephoneUniversalCommunication() {
if (telephoneUniversalCommunication == null) {
telephoneUniversalCommunication = new ArrayList<UniversalCommunicationType>();
}
return this.telephoneUniversalCommunication;
}
/**
* Gets the value of the faxUniversalCommunication property.
*
* <p>
* 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 <CODE>set</CODE> method for the faxUniversalCommunication property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getFaxUniversalCommunication().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link UniversalCommunicationType }
*
*
*/
public List<UniversalCommunicationType> getFaxUniversalCommunication() {
if (faxUniversalCommunication == null) {
faxUniversalCommunication = new ArrayList<UniversalCommunicationType>();
}
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;
}
}

View File

@@ -1,76 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeCountryType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeCountryType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeCountryType", propOrder = {
"id"
})
public class TradeCountryType {
@XmlElement(name = "ID")
protected List<CountryIDType> id;
/**
* Gets the value of the id property.
*
* <p>
* 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 <CODE>set</CODE> method for the id property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CountryIDType }
*
*
*/
public List<CountryIDType> getID() {
if (id == null) {
id = new ArrayList<CountryIDType>();
}
return this.id;
}
}

View File

@@ -1,69 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeDeliveryTermsType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeDeliveryTermsType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="DeliveryTypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}DeliveryTermsCodeType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,231 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradePartyType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradePartyType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="DefinedTradeContact" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeContactType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="PostalTradeAddress" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAddressType" minOccurs="0"/&gt;
* &lt;element name="SpecifiedTaxRegistration" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TaxRegistrationType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradePartyType", propOrder = {
"id",
"globalID",
"name",
"definedTradeContact",
"postalTradeAddress",
"specifiedTaxRegistration"
})
public class TradePartyType {
@XmlElement(name = "ID")
protected List<IDType> id;
@XmlElement(name = "GlobalID")
protected List<IDType> globalID;
@XmlElement(name = "Name")
protected TextType name;
@XmlElement(name = "DefinedTradeContact")
protected List<TradeContactType> definedTradeContact;
@XmlElement(name = "PostalTradeAddress")
protected TradeAddressType postalTradeAddress;
@XmlElement(name = "SpecifiedTaxRegistration")
protected List<TaxRegistrationType> specifiedTaxRegistration;
/**
* Gets the value of the id property.
*
* <p>
* 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 <CODE>set</CODE> method for the id property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getID() {
if (id == null) {
id = new ArrayList<IDType>();
}
return this.id;
}
/**
* Gets the value of the globalID property.
*
* <p>
* 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 <CODE>set</CODE> method for the globalID property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGlobalID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getGlobalID() {
if (globalID == null) {
globalID = new ArrayList<IDType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the definedTradeContact property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDefinedTradeContact().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeContactType }
*
*
*/
public List<TradeContactType> getDefinedTradeContact() {
if (definedTradeContact == null) {
definedTradeContact = new ArrayList<TradeContactType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the specifiedTaxRegistration property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSpecifiedTaxRegistration().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TaxRegistrationType }
*
*
*/
public List<TaxRegistrationType> getSpecifiedTaxRegistration() {
if (specifiedTaxRegistration == null) {
specifiedTaxRegistration = new ArrayList<TaxRegistrationType>();
}
return this.specifiedTaxRegistration;
}
}

View File

@@ -1,193 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradePaymentDiscountTermsType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradePaymentDiscountTermsType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BasisDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/&gt;
* &lt;element name="BasisPeriodMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" minOccurs="0"/&gt;
* &lt;element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/&gt;
* &lt;element name="ActualDiscountAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<AmountType> basisAmount;
@XmlElement(name = "CalculationPercent")
protected PercentType calculationPercent;
@XmlElement(name = "ActualDiscountAmount")
protected List<AmountType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the basisAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBasisAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getBasisAmount() {
if (basisAmount == null) {
basisAmount = new ArrayList<AmountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the actualDiscountAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getActualDiscountAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getActualDiscountAmount() {
if (actualDiscountAmount == null) {
actualDiscountAmount = new ArrayList<AmountType>();
}
return this.actualDiscountAmount;
}
}

View File

@@ -1,193 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradePaymentPenaltyTermsType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradePaymentPenaltyTermsType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="BasisDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/&gt;
* &lt;element name="BasisPeriodMeasure" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}MeasureType" minOccurs="0"/&gt;
* &lt;element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="CalculationPercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/&gt;
* &lt;element name="ActualPenaltyAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<AmountType> basisAmount;
@XmlElement(name = "CalculationPercent")
protected PercentType calculationPercent;
@XmlElement(name = "ActualPenaltyAmount")
protected List<AmountType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the basisAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBasisAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getBasisAmount() {
if (basisAmount == null) {
basisAmount = new ArrayList<AmountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the actualPenaltyAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getActualPenaltyAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getActualPenaltyAmount() {
if (actualPenaltyAmount == null) {
actualPenaltyAmount = new ArrayList<AmountType>();
}
return this.actualPenaltyAmount;
}
}

View File

@@ -1,203 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradePaymentTermsType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradePaymentTermsType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="DueDateDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" minOccurs="0"/&gt;
* &lt;element name="PartialPaymentAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ApplicableTradePaymentPenaltyTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentPenaltyTermsType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ApplicableTradePaymentDiscountTerms" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradePaymentDiscountTermsType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradePaymentTermsType", propOrder = {
"description",
"dueDateDateTime",
"partialPaymentAmount",
"applicableTradePaymentPenaltyTerms",
"applicableTradePaymentDiscountTerms"
})
public class TradePaymentTermsType {
@XmlElement(name = "Description")
protected List<TextType> description;
@XmlElement(name = "DueDateDateTime")
protected DateTimeType dueDateDateTime;
@XmlElement(name = "PartialPaymentAmount")
protected List<AmountType> partialPaymentAmount;
@XmlElement(name = "ApplicableTradePaymentPenaltyTerms")
protected List<TradePaymentPenaltyTermsType> applicableTradePaymentPenaltyTerms;
@XmlElement(name = "ApplicableTradePaymentDiscountTerms")
protected List<TradePaymentDiscountTermsType> applicableTradePaymentDiscountTerms;
/**
* Gets the value of the description property.
*
* <p>
* 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 <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getDescription() {
if (description == null) {
description = new ArrayList<TextType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the partialPaymentAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPartialPaymentAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getPartialPaymentAmount() {
if (partialPaymentAmount == null) {
partialPaymentAmount = new ArrayList<AmountType>();
}
return this.partialPaymentAmount;
}
/**
* Gets the value of the applicableTradePaymentPenaltyTerms property.
*
* <p>
* 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 <CODE>set</CODE> method for the applicableTradePaymentPenaltyTerms property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableTradePaymentPenaltyTerms().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePaymentPenaltyTermsType }
*
*
*/
public List<TradePaymentPenaltyTermsType> getApplicableTradePaymentPenaltyTerms() {
if (applicableTradePaymentPenaltyTerms == null) {
applicableTradePaymentPenaltyTerms = new ArrayList<TradePaymentPenaltyTermsType>();
}
return this.applicableTradePaymentPenaltyTerms;
}
/**
* Gets the value of the applicableTradePaymentDiscountTerms property.
*
* <p>
* 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 <CODE>set</CODE> method for the applicableTradePaymentDiscountTerms property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableTradePaymentDiscountTerms().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradePaymentDiscountTermsType }
*
*
*/
public List<TradePaymentDiscountTermsType> getApplicableTradePaymentDiscountTerms() {
if (applicableTradePaymentDiscountTerms == null) {
applicableTradePaymentDiscountTerms = new ArrayList<TradePaymentDiscountTermsType>();
}
return this.applicableTradePaymentDiscountTerms;
}
}

View File

@@ -1,137 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradePriceType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradePriceType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="ChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="BasisQuantity" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}QuantityType" minOccurs="0"/&gt;
* &lt;element name="AppliedTradeAllowanceCharge" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeAllowanceChargeType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradePriceType", propOrder = {
"chargeAmount",
"basisQuantity",
"appliedTradeAllowanceCharge"
})
public class TradePriceType {
@XmlElement(name = "ChargeAmount")
protected List<AmountType> chargeAmount;
@XmlElement(name = "BasisQuantity")
protected QuantityType basisQuantity;
@XmlElement(name = "AppliedTradeAllowanceCharge")
protected List<TradeAllowanceChargeType> appliedTradeAllowanceCharge;
/**
* Gets the value of the chargeAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the chargeAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getChargeAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getChargeAmount() {
if (chargeAmount == null) {
chargeAmount = new ArrayList<AmountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the appliedTradeAllowanceCharge property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAppliedTradeAllowanceCharge().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeAllowanceChargeType }
*
*
*/
public List<TradeAllowanceChargeType> getAppliedTradeAllowanceCharge() {
if (appliedTradeAllowanceCharge == null) {
appliedTradeAllowanceCharge = new ArrayList<TradeAllowanceChargeType>();
}
return this.appliedTradeAllowanceCharge;
}
}

View File

@@ -1,330 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeProductType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeProductType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="GlobalID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="SellerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="BuyerAssignedID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="Name" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Description" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ApplicableProductCharacteristic" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductCharacteristicType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="DesignatedProductClassification" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ProductClassificationType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="OriginTradeCountry" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}TradeCountryType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="IncludedReferencedProduct" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}ReferencedProductType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeProductType", propOrder = {
"globalID",
"sellerAssignedID",
"buyerAssignedID",
"name",
"description",
"applicableProductCharacteristic",
"designatedProductClassification",
"originTradeCountry",
"includedReferencedProduct"
})
public class TradeProductType {
@XmlElement(name = "GlobalID")
protected List<IDType> globalID;
@XmlElement(name = "SellerAssignedID")
protected IDType sellerAssignedID;
@XmlElement(name = "BuyerAssignedID")
protected IDType buyerAssignedID;
@XmlElement(name = "Name")
protected List<TextType> name;
@XmlElement(name = "Description")
protected List<TextType> description;
@XmlElement(name = "ApplicableProductCharacteristic")
protected List<ProductCharacteristicType> applicableProductCharacteristic;
@XmlElement(name = "DesignatedProductClassification")
protected List<ProductClassificationType> designatedProductClassification;
@XmlElement(name = "OriginTradeCountry")
protected List<TradeCountryType> originTradeCountry;
@XmlElement(name = "IncludedReferencedProduct")
protected List<ReferencedProductType> includedReferencedProduct;
/**
* Gets the value of the globalID property.
*
* <p>
* 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 <CODE>set</CODE> method for the globalID property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGlobalID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getGlobalID() {
if (globalID == null) {
globalID = new ArrayList<IDType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the name property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getName() {
if (name == null) {
name = new ArrayList<TextType>();
}
return this.name;
}
/**
* Gets the value of the description property.
*
* <p>
* 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 <CODE>set</CODE> method for the description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getDescription() {
if (description == null) {
description = new ArrayList<TextType>();
}
return this.description;
}
/**
* Gets the value of the applicableProductCharacteristic property.
*
* <p>
* 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 <CODE>set</CODE> method for the applicableProductCharacteristic property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplicableProductCharacteristic().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ProductCharacteristicType }
*
*
*/
public List<ProductCharacteristicType> getApplicableProductCharacteristic() {
if (applicableProductCharacteristic == null) {
applicableProductCharacteristic = new ArrayList<ProductCharacteristicType>();
}
return this.applicableProductCharacteristic;
}
/**
* Gets the value of the designatedProductClassification property.
*
* <p>
* 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 <CODE>set</CODE> method for the designatedProductClassification property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDesignatedProductClassification().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ProductClassificationType }
*
*
*/
public List<ProductClassificationType> getDesignatedProductClassification() {
if (designatedProductClassification == null) {
designatedProductClassification = new ArrayList<ProductClassificationType>();
}
return this.designatedProductClassification;
}
/**
* Gets the value of the originTradeCountry property.
*
* <p>
* 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 <CODE>set</CODE> method for the originTradeCountry property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOriginTradeCountry().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TradeCountryType }
*
*
*/
public List<TradeCountryType> getOriginTradeCountry() {
if (originTradeCountry == null) {
originTradeCountry = new ArrayList<TradeCountryType>();
}
return this.originTradeCountry;
}
/**
* Gets the value of the includedReferencedProduct property.
*
* <p>
* 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 <CODE>set</CODE> method for the includedReferencedProduct property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getIncludedReferencedProduct().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ReferencedProductType }
*
*
*/
public List<ReferencedProductType> getIncludedReferencedProduct() {
if (includedReferencedProduct == null) {
includedReferencedProduct = new ArrayList<ReferencedProductType>();
}
return this.includedReferencedProduct;
}
}

View File

@@ -1,340 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeSettlementMonetarySummationType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeSettlementMonetarySummationType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="LineTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ChargeTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="AllowanceTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TaxBasisTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TaxTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="GrandTotalAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TotalPrepaidAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TotalAllowanceChargeAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="DuePayableAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeSettlementMonetarySummationType", propOrder = {
"lineTotalAmount",
"chargeTotalAmount",
"allowanceTotalAmount",
"taxBasisTotalAmount",
"taxTotalAmount",
"grandTotalAmount",
"totalPrepaidAmount",
"totalAllowanceChargeAmount",
"duePayableAmount"
})
public class TradeSettlementMonetarySummationType {
@XmlElement(name = "LineTotalAmount")
protected List<AmountType> lineTotalAmount;
@XmlElement(name = "ChargeTotalAmount")
protected List<AmountType> chargeTotalAmount;
@XmlElement(name = "AllowanceTotalAmount")
protected List<AmountType> allowanceTotalAmount;
@XmlElement(name = "TaxBasisTotalAmount")
protected List<AmountType> taxBasisTotalAmount;
@XmlElement(name = "TaxTotalAmount")
protected List<AmountType> taxTotalAmount;
@XmlElement(name = "GrandTotalAmount")
protected List<AmountType> grandTotalAmount;
@XmlElement(name = "TotalPrepaidAmount")
protected List<AmountType> totalPrepaidAmount;
@XmlElement(name = "TotalAllowanceChargeAmount")
protected List<AmountType> totalAllowanceChargeAmount;
@XmlElement(name = "DuePayableAmount")
protected List<AmountType> duePayableAmount;
/**
* Gets the value of the lineTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the lineTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getLineTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getLineTotalAmount() {
if (lineTotalAmount == null) {
lineTotalAmount = new ArrayList<AmountType>();
}
return this.lineTotalAmount;
}
/**
* Gets the value of the chargeTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the chargeTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getChargeTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getChargeTotalAmount() {
if (chargeTotalAmount == null) {
chargeTotalAmount = new ArrayList<AmountType>();
}
return this.chargeTotalAmount;
}
/**
* Gets the value of the allowanceTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the allowanceTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAllowanceTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getAllowanceTotalAmount() {
if (allowanceTotalAmount == null) {
allowanceTotalAmount = new ArrayList<AmountType>();
}
return this.allowanceTotalAmount;
}
/**
* Gets the value of the taxBasisTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the taxBasisTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTaxBasisTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getTaxBasisTotalAmount() {
if (taxBasisTotalAmount == null) {
taxBasisTotalAmount = new ArrayList<AmountType>();
}
return this.taxBasisTotalAmount;
}
/**
* Gets the value of the taxTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the taxTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTaxTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getTaxTotalAmount() {
if (taxTotalAmount == null) {
taxTotalAmount = new ArrayList<AmountType>();
}
return this.taxTotalAmount;
}
/**
* Gets the value of the grandTotalAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the grandTotalAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getGrandTotalAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getGrandTotalAmount() {
if (grandTotalAmount == null) {
grandTotalAmount = new ArrayList<AmountType>();
}
return this.grandTotalAmount;
}
/**
* Gets the value of the totalPrepaidAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the totalPrepaidAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTotalPrepaidAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getTotalPrepaidAmount() {
if (totalPrepaidAmount == null) {
totalPrepaidAmount = new ArrayList<AmountType>();
}
return this.totalPrepaidAmount;
}
/**
* Gets the value of the totalAllowanceChargeAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the totalAllowanceChargeAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTotalAllowanceChargeAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getTotalAllowanceChargeAmount() {
if (totalAllowanceChargeAmount == null) {
totalAllowanceChargeAmount = new ArrayList<AmountType>();
}
return this.totalAllowanceChargeAmount;
}
/**
* Gets the value of the duePayableAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the duePayableAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDuePayableAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getDuePayableAmount() {
if (duePayableAmount == null) {
duePayableAmount = new ArrayList<AmountType>();
}
return this.duePayableAmount;
}
}

View File

@@ -1,249 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeSettlementPaymentMeansType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeSettlementPaymentMeansType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}PaymentMeansCodeType" minOccurs="0"/&gt;
* &lt;element name="Information" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="ID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="PayerPartyDebtorFinancialAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DebtorFinancialAccountType" minOccurs="0"/&gt;
* &lt;element name="PayeePartyCreditorFinancialAccount" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}CreditorFinancialAccountType" minOccurs="0"/&gt;
* &lt;element name="PayerSpecifiedDebtorFinancialInstitution" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}DebtorFinancialInstitutionType" minOccurs="0"/&gt;
* &lt;element name="PayeeSpecifiedCreditorFinancialInstitution" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}CreditorFinancialInstitutionType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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<TextType> information;
@XmlElement(name = "ID")
protected List<IDType> 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.
*
* <p>
* 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 <CODE>set</CODE> method for the information property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getInformation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextType }
*
*
*/
public List<TextType> getInformation() {
if (information == null) {
information = new ArrayList<TextType>();
}
return this.information;
}
/**
* Gets the value of the id property.
*
* <p>
* 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 <CODE>set</CODE> method for the id property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link IDType }
*
*
*/
public List<IDType> getID() {
if (id == null) {
id = new ArrayList<IDType>();
}
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;
}
}

View File

@@ -1,287 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r TradeTaxType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="TradeTaxType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="CalculatedAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="TypeCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxTypeCodeType" minOccurs="0"/&gt;
* &lt;element name="ExemptionReason" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;element name="BasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="LineTotalBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="AllowanceChargeBasisAmount" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}AmountType" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="CategoryCode" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}TaxCategoryCodeType" minOccurs="0"/&gt;
* &lt;element name="ApplicablePercent" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}PercentType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeTaxType", propOrder = {
"calculatedAmount",
"typeCode",
"exemptionReason",
"basisAmount",
"lineTotalBasisAmount",
"allowanceChargeBasisAmount",
"categoryCode",
"applicablePercent"
})
public class TradeTaxType {
@XmlElement(name = "CalculatedAmount")
protected List<AmountType> calculatedAmount;
@XmlElement(name = "TypeCode")
protected TaxTypeCodeType typeCode;
@XmlElement(name = "ExemptionReason")
protected TextType exemptionReason;
@XmlElement(name = "BasisAmount")
protected List<AmountType> basisAmount;
@XmlElement(name = "LineTotalBasisAmount")
protected List<AmountType> lineTotalBasisAmount;
@XmlElement(name = "AllowanceChargeBasisAmount")
protected List<AmountType> allowanceChargeBasisAmount;
@XmlElement(name = "CategoryCode")
protected TaxCategoryCodeType categoryCode;
@XmlElement(name = "ApplicablePercent")
protected PercentType applicablePercent;
/**
* Gets the value of the calculatedAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the calculatedAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCalculatedAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getCalculatedAmount() {
if (calculatedAmount == null) {
calculatedAmount = new ArrayList<AmountType>();
}
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.
*
* <p>
* 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 <CODE>set</CODE> method for the basisAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBasisAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getBasisAmount() {
if (basisAmount == null) {
basisAmount = new ArrayList<AmountType>();
}
return this.basisAmount;
}
/**
* Gets the value of the lineTotalBasisAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the lineTotalBasisAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getLineTotalBasisAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getLineTotalBasisAmount() {
if (lineTotalBasisAmount == null) {
lineTotalBasisAmount = new ArrayList<AmountType>();
}
return this.lineTotalBasisAmount;
}
/**
* Gets the value of the allowanceChargeBasisAmount property.
*
* <p>
* 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 <CODE>set</CODE> method for the allowanceChargeBasisAmount property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAllowanceChargeBasisAmount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AmountType }
*
*
*/
public List<AmountType> getAllowanceChargeBasisAmount() {
if (allowanceChargeBasisAmount == null) {
allowanceChargeBasisAmount = new ArrayList<AmountType>();
}
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;
}
}

View File

@@ -1,97 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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;
/**
* <p>Java-Klasse f<>r UniversalCommunicationType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="UniversalCommunicationType"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="URIID" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}IDType" minOccurs="0"/&gt;
* &lt;element name="CompleteNumber" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@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;
}
}

View File

@@ -1,18 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// <20>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.*;

View File

@@ -1,458 +0,0 @@
package org.mustangproject.ZUGFeRD;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.xml.transform.TransformerException;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.junit.FixMethodOrder;
import org.junit.runners.MethodSorters;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExportableTransaction
{
@Override
public Date getDeliveryDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 7).getTime();
}
@Override
public Date getDueDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 30).getTime();
}
@Override
public Date getIssueDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 9).getTime();
}
@Override
public String getNumber()
{
return "RE-20170509/505";
}
@Override
public String getOwnBIC()
{
return "COBADEFFXXX";
}
@Override
public String getOwnBankName()
{
return "Commerzbank";
}
@Override
public String getOwnCountry()
{
return "DE";
}
@Override
public String getOwnIBAN()
{
return "DE88 2008 0000 0970 3757 00";
}
@Override
public String getOwnLocation()
{
return "Stadthausen";
}
@Override
public String getOwnOrganisationName()
{
return "Bei Spiel GmbH";
}
@Override
public String getOwnStreet()
{
return "Ecke 12";
}
@Override
public String getOwnTaxID()
{
return "22/815/0815/4";
}
@Override
public String getOwnVATID()
{
return "DE136695976";
}
@Override
public String getOwnZIP()
{
return "12345";
}
@Override
public IZUGFeRDExportableContact getRecipient()
{
return new Contact();
}
@Override
public String getOwnOrganisationFullPlaintextInfo()
{
return null;
}
@Override
public String getCurrency()
{
return "EUR";
}
@Override
public IZUGFeRDExportableItem[] getZFItems()
{
Item[] allItems = new Item[3];
Product designProduct = new Product("", "Künstlerische Gestaltung (Stunde): Einer Beispielrechnung", "HUR", new BigDecimal("7.000000"));
Product balloonProduct = new Product("", "Luftballon: Bunt, ca. 500ml", "C62", new BigDecimal("19.000000"));
Product airProduct = new Product("", "Heiße Luft pro Liter", "LTR", new BigDecimal("19.000000"));
allItems[0] = new Item(new BigDecimal("160"), new BigDecimal("1"), designProduct);
allItems[1] = new Item(new BigDecimal("0.79"), new BigDecimal("400"), balloonProduct);
allItems[2] = new Item(new BigDecimal("0.10"), new BigDecimal("200"), airProduct);
return allItems;
}
@Override
public String getOwnPaymentInfoText() {
return "Überweisung";
}
@Override
public String getPaymentTermDescription() {
SimpleDateFormat germanDateFormat = new SimpleDateFormat("dd.MM.yyyy");
return "Zahlbar ohne Abzug bis zum " + germanDateFormat.format(getDueDate());
}
@Override
public IZUGFeRDAllowanceCharge[] getZFAllowances() {
return null;
}
@Override
public IZUGFeRDAllowanceCharge[] getZFCharges() {
return null;
}
@Override
public IZUGFeRDAllowanceCharge[] getZFLogisticsServiceCharges() {
return null;
}
@Override
public String getReferenceNumber() {
return null;
}
class Contact implements IZUGFeRDExportableContact
{
@Override
public String getCountry()
{
return "DE";
}
@Override
public String getLocation()
{
return "Spielkreis";
}
@Override
public String getName()
{
return "Theodor Est";
}
@Override
public String getStreet()
{
return "Bahnstr. 42";
}
@Override
public String getVATID()
{
return "DE999999999";
}
@Override
public String getZIP()
{
return "88802";
}
}
class Item implements IZUGFeRDExportableItem
{
public Item(BigDecimal price, BigDecimal quantity, Product product)
{
super();
this.price = price;
this.quantity = quantity;
this.product = product;
}
private BigDecimal price,quantity;
private Product product;
@Override
public BigDecimal getPrice()
{
return price;
}
public void setPrice(BigDecimal price)
{
this.price = price;
}
@Override
public BigDecimal getQuantity()
{
return quantity;
}
public void setQuantity(BigDecimal quantity)
{
this.quantity = quantity;
}
@Override
public Product getProduct()
{
return product;
}
public void setProduct(Product product)
{
this.product = product;
}
@Override
public IZUGFeRDAllowanceCharge[] getItemAllowances() {
return null;
}
@Override
public IZUGFeRDAllowanceCharge[] getItemCharges() {
return null;
}
}
class Product implements IZUGFeRDExportableProduct
{
private String description, name, unit;
private BigDecimal VATPercent;
public Product(String description, String name, String unit, BigDecimal VATPercent)
{
super();
this.description = description;
this.name = name;
this.unit = unit;
this.VATPercent = VATPercent;
}
@Override
public String getDescription()
{
return description;
}
public void setDescription(String description)
{
this.description = description;
}
@Override
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
@Override
public String getUnit()
{
return unit;
}
public void setUnit(String unit)
{
this.unit = unit;
}
@Override
public BigDecimal getVATPercent()
{
return VATPercent;
}
public void setVATPercent(BigDecimal vATPercent)
{
VATPercent = vATPercent;
}
}
/**
* Create the test case
*
* @param testName
* name of the test case
*/
public MustangReaderWriterEdgeTest(String testName)
{
super(testName);
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(MustangReaderWriterEdgeTest.class);
}
// //////// TESTS //////////////////////////////////////////////////////////////////////////////////////////
/**
* The importer test imports from ./src/test/MustangGnuaccountingBeispielRE-20151008_504.pdf to check the values.
* --> as only Name Ascending is supported for Test Unit sequence, I renamed the this test-A-Export to run before
* testZExport
*
* @throws IOException
*/
public void testAImport() throws IOException
{
ZUGFeRDImporter zi = new ZUGFeRDImporter();
zi.extractLowLevel(this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20170509_505.pdf"));
// Reading ZUGFeRD
String amount = null;
String bic = null;
String iban = null;
String holder = null;
String ref = null;
String dueDate = null;
if (zi.canParse())
{
zi.parse();
amount = zi.getAmount();
bic = zi.getBIC();
iban = zi.getIBAN();
holder = zi.getHolder();
dueDate = zi.getDueDate();
ref = zi.getForeignReference();
}
assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName());
assertEquals(dueDate, "20170530");
assertEquals(ref, getNumber());
}
/**
* The exporter test bases on @{code ./src/test/MustangGnuaccountingBeispielRE-20140703_502blanko.pdf}, adds metadata,
* writes
* to @{code ./target/testout-*} and then imports to check the values.
* It would not make sense to have it run before the less complex importer test (which is probably redundant)
* --> as only Name Ascending is supported for Test Unit sequence, I renamed the Exporter Test test-Z-Export
*/
public void testZExport()
{
final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf");
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20170509_505newEdge.pdf";
// the writing part
try
{
// automatically add Zugferd to all outgoing invoices
ZUGFeRDExporter ze = new ZUGFeRDExporter();
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
ze.PDFattachZugferdFile(this);
ze.export(TARGET_PDF);
}
catch (IOException e)
{
e.printStackTrace();
}
catch (TransformerException e)
{
e.printStackTrace();
}
catch (Exception e)
{
e.printStackTrace();
}
// now check the contents (like MustangReaderTest)
ZUGFeRDImporter zi = new ZUGFeRDImporter();
zi.extract(TARGET_PDF);
// Reading ZUGFeRD
String amount = null;
String bic = null;
String iban = null;
String holder = null;
String ref = null;
if (zi.canParse())
{
zi.parse();
amount = zi.getAmount();
bic = zi.getBIC();
iban = zi.getIBAN();
holder = zi.getHolder();
ref = zi.getForeignReference();
}
assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName());
assertEquals(ref, getNumber());
}
}

View File

@@ -1,457 +0,0 @@
package org.mustangproject.ZUGFeRD;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.xml.transform.TransformerException;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.junit.FixMethodOrder;
import org.junit.runners.MethodSorters;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExportableTransaction
{
@Override
public Date getDeliveryDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 7).getTime();
}
@Override
public Date getDueDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 30).getTime();
}
@Override
public Date getIssueDate()
{
return new GregorianCalendar(2017, Calendar.MAY, 9).getTime();
}
@Override
public String getNumber()
{
return "RE-20170509/505";
}
@Override
public String getOwnBIC()
{
return "COBADEFFXXX";
}
@Override
public String getOwnBankName()
{
return "Commerzbank";
}
@Override
public String getOwnCountry()
{
return "DE";
}
@Override
public String getOwnIBAN()
{
return "DE88 2008 0000 0970 3757 00";
}
@Override
public String getOwnLocation()
{
return "Stadthausen";
}
@Override
public String getOwnOrganisationName()
{
return "Bei Spiel GmbH";
}
@Override
public String getOwnStreet()
{
return "Ecke 12";
}
@Override
public String getOwnTaxID()
{
return "22/815/0815/4";
}
@Override
public String getOwnVATID()
{
return "DE136695976";
}
@Override
public String getOwnZIP()
{
return "12345";
}
@Override
public IZUGFeRDExportableContact getRecipient()
{
return new Contact();
}
@Override
public String getOwnOrganisationFullPlaintextInfo()
{
return null;
}
@Override
public String getCurrency()
{
return "EUR";
}
@Override
public IZUGFeRDExportableItem[] getZFItems()
{
Item[] allItems = new Item[3];
Product designProduct = new Product("", "Künstlerische Gestaltung (Stunde): Einer Beispielrechnung", "HUR", new BigDecimal("7.000000"));
Product balloonProduct = new Product("", "Luftballon: Bunt, ca. 500ml", "C62", new BigDecimal("19.000000"));
Product airProduct = new Product("", "Heiße Luft pro Liter", "LTR", new BigDecimal("19.000000"));
allItems[0] = new Item(new BigDecimal("160"), new BigDecimal("1"), designProduct);
allItems[1] = new Item(new BigDecimal("0.79"), new BigDecimal("400"), balloonProduct);
allItems[2] = new Item(new BigDecimal("0.10"), new BigDecimal("200"), airProduct);
return allItems;
}
@Override
public String getOwnPaymentInfoText() {
return "Überweisung";
}
@Override
public String getPaymentTermDescription() {
SimpleDateFormat germanDateFormat = new SimpleDateFormat("dd.MM.yyyy");
return "Zahlbar ohne Abzug bis zum " + germanDateFormat.format(getDueDate());
}
@Override
public IZUGFeRDAllowanceCharge[] getZFAllowances() {
return null;
//throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public IZUGFeRDAllowanceCharge[] getZFCharges() {
return null;
//throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public IZUGFeRDAllowanceCharge[] getZFLogisticsServiceCharges() {
return null;
//throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public String getReferenceNumber() {
return null;
}
class Contact implements IZUGFeRDExportableContact
{
@Override
public String getCountry()
{
return "DE";
}
@Override
public String getLocation()
{
return "Spielkreis";
}
@Override
public String getName()
{
return "Theodor Est";
}
@Override
public String getStreet()
{
return "Bahnstr. 42";
}
@Override
public String getVATID()
{
return "DE999999999";
}
@Override
public String getZIP()
{
return "88802";
}
}
class Item implements IZUGFeRDExportableItem
{
public Item(BigDecimal price, BigDecimal quantity, Product product)
{
super();
this.price = price;
this.quantity = quantity;
this.product = product;
}
private BigDecimal price, quantity;
private Product product;
@Override
public BigDecimal getPrice()
{
return price;
}
public void setPrice(BigDecimal price)
{
this.price = price;
}
@Override
public BigDecimal getQuantity()
{
return quantity;
}
public void setQuantity(BigDecimal quantity)
{
this.quantity = quantity;
}
@Override
public Product getProduct()
{
return product;
}
public void setProduct(Product product)
{
this.product = product;
}
@Override
public IZUGFeRDAllowanceCharge[] getItemAllowances() {
return null;
}
@Override
public IZUGFeRDAllowanceCharge[] getItemCharges() {
return null;
}
}
class Product implements IZUGFeRDExportableProduct
{
private String description, name, unit;
private BigDecimal VATPercent;
public Product(String description, String name, String unit, BigDecimal VATPercent)
{
super();
this.description = description;
this.name = name;
this.unit = unit;
this.VATPercent = VATPercent;
}
@Override
public String getDescription()
{
return description;
}
public void setDescription(String description)
{
this.description = description;
}
@Override
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
@Override
public String getUnit()
{
return unit;
}
public void setUnit(String unit)
{
this.unit = unit;
}
@Override
public BigDecimal getVATPercent()
{
return VATPercent;
}
public void setVATPercent(BigDecimal VATPercent)
{
VATPercent = VATPercent;
}
}
/**
* Create the test case
*
* @param testName
* name of the test case
*/
public MustangReaderWriterTest(String testName)
{
super(testName);
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite(MustangReaderWriterTest.class);
}
// //////// TESTS //////////////////////////////////////////////////////////////////////////////////////////
/**
* The importer test imports from ./src/test/MustangGnuaccountingBeispielRE-20170509_505.pdf to check the values.
* --> as only Name Ascending is supported for Test Unit sequence, I renamed the this test-A-Export to run before
* testZExport
*
* @throws IOException
*/
public void testAImport() throws IOException
{
ZUGFeRDImporter zi = new ZUGFeRDImporter();
InputStream inputStream = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20170509_505.pdf");
zi.extractLowLevel(inputStream);
// Reading ZUGFeRD
String amount = null;
String bic = null;
String iban = null;
String holder = null;
String ref = null;
if (zi.canParse())
{
zi.parse();
amount = zi.getAmount();
bic = zi.getBIC();
iban = zi.getIBAN();
holder = zi.getHolder();
ref = zi.getForeignReference();
}
assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName());
assertEquals(ref, getNumber());
}
/**
* The exporter test bases on @{code ./src/test/MustangGnuaccountingBeispielRE-20140703_502blanko.pdf}, adds metadata,
* writes
* to @{code ./target/testout-*} and then imports to check the values.
* It would not make sense to have it run before the less complex importer test (which is probably redundant)
* --> as only Name Ascending is supported for Test Unit sequence, I renamed the Exporter Test test-Z-Export
*/
public void testZExport()
{
final InputStream SOURCE_PDF = this.getClass().getResourceAsStream("/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf");
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20170509_505new.pdf";
// the writing part
try
{
// automatically add Zugferd to all outgoing invoices
ZUGFeRDExporter ze = new ZUGFeRDExporter();
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
ze.PDFattachZugferdFile(this);
ze.export(TARGET_PDF);
}
catch (IOException e)
{
e.printStackTrace();
}
catch (TransformerException e)
{
e.printStackTrace();
}
catch (Exception e)
{
e.printStackTrace();
}
// now check the contents (like MustangReaderTest)
ZUGFeRDImporter zi = new ZUGFeRDImporter();
zi.extract(TARGET_PDF);
// Reading ZUGFeRD
String amount = null;
String bic = null;
String iban = null;
String holder = null;
String ref = null;
if (zi.canParse())
{
zi.parse();
amount = zi.getAmount();
bic = zi.getBIC();
iban = zi.getIBAN();
holder = zi.getHolder();
ref = zi.getForeignReference();
}
assertEquals(amount, "571.04");
assertEquals(bic, getOwnBIC());
assertEquals(iban, getOwnIBAN());
assertEquals(holder, getOwnOrganisationName());
assertEquals(ref, getNumber());
}
}

View File

@@ -1,88 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mustangproject.ZUGFeRD</groupId>
<artifactId>toecount</artifactId>
<version>0.0.8-SNAPSHOT</version>
<name>ZUGFeRD PDF checker</name>
<description>Shows statistics on how many PDFs in a directory are ZUGFeRD-Compliant</description>
<repositories>
<repository>
<id>mustang-mvn-repo</id>
<url>https://raw.github.com/Rayman2200/PDFA3/mvn-repo/</url>
</repository>
<repository>
<id>sonatype-oss-public</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.mustangproject.ZUGFeRD</groupId>
<artifactId>mustang</artifactId>
<version>1.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>1.8.8</version>
</dependency>
<dependency>
<groupId>com.sanityinc</groupId>
<artifactId>jargs</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>toecount.Toecount</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>toecount.Toecount</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
mvn clean compile assembly:single -->
<!-- or whatever version you use -->
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -1,73 +0,0 @@
package toecount;
import org.mustangproject.ZUGFeRD.ZUGFeRDImporter;
public class FileChecker {
String filename;
StatRun thisRun;
boolean isPDF=false;
public FileChecker(String filename, StatRun statistics) {
this.filename=filename;
thisRun=statistics;
thisRun.incFileCount();
String extension = "";
if (!thisRun.shallIgnoreFileExt()) {
int extIndex = filename.lastIndexOf(".");
if (extIndex >= 0) {
extension = filename.substring(extIndex).toLowerCase();
isPDF=extension.equals(".pdf");// alternative check for PDF: File starts with %PDF-
thisRun.incPDFCount();
}
} else {
thisRun.incPDFCount();
}
}
public boolean checkForZUGFeRD() {
if ((!isPDF)&&(!thisRun.shallIgnoreFileExt())) {
return false;
}
ZUGFeRDImporter zi=new ZUGFeRDImporter();
try {
zi.extract(filename);
if (zi.canParse()) {
thisRun.incZUGFeRDCount();
return true;
} else {
return false;
}
} catch (NullPointerException e) {
// something really rare happened -- corrupted ZF?
/***
* e.g. Exception in thread "main" java.lang.NullPointerException
at org.mustangproject.ZUGFeRD.ZUGFeRDImporter.extractLowLevel(ZUGFeRDImporter.java:90)
at org.mustangproject.ZUGFeRD.ZUGFeRDImporter.extract(ZUGFeRDImporter.java:64)
at toecount.FileChecker.checkForZUGFeRD(FileChecker.java:33)
at toecount.Toecount.main(Toecount.java:111)
*
*/
// Ignore nevertheless, most likely we're batch processing
return false;
} catch (Exception e2) {
/**
* probably thrown up from
AM org.apache.pdfbox.pdfparser.PDFParser parse, most likely
INFORMATION: Document is encrypted
but also other internal PDF errors possible like
..Okt 23, 2015 11:17:53 AM org.apache.pdfbox.pdfparser.XrefTrailerResolver setStartxref
*/
return false;
}
}
public boolean isPDF() {
return isPDF;
}
public String getOutputLine() {
return thisRun.getOutputLine();
}
}

View File

@@ -1,56 +0,0 @@
package toecount;
import static java.nio.file.FileVisitResult.CONTINUE;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
public class FileTraverser extends SimpleFileVisitor<Path> {
private StatRun thisRun;
public FileTraverser(StatRun statistics) {
this.thisRun=statistics;
}
/***
* check each file
*/
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attr) {
if (attr.isSymbolicLink()) {
// Not yet handled
} else if (attr.isRegularFile()) {
String filename = file.toString();
FileChecker fc = new FileChecker(filename, thisRun);
fc.checkForZUGFeRD();
System.out.print(fc.getOutputLine());
}
return CONTINUE;
}
/***
* for each directory
*/
@Override
public FileVisitResult postVisitDirectory(Path dir, IOException exc) {
// System.out.format("Directory: %s%n", dir);
thisRun.incDirCount();
return CONTINUE;
}
/***
* show errors like file permission stacktraces
*/
@Override
public FileVisitResult visitFileFailed(Path file, IOException exc) {
System.err.println(exc);
return CONTINUE;
}
}

View File

@@ -1,69 +0,0 @@
package toecount;
public class StatRun {
private int pdfCount = 0;
private int horseCount = 0;
private int fileCount = 0;
private int dirCount = 0;
private boolean checkFileExt=true;
public void ignoreFileExtension() {
checkFileExt=false;
}
public boolean shallIgnoreFileExt() {
return !checkFileExt;
}
public void incFileCount(){
fileCount++;
}
public void incPDFCount(){
pdfCount++;
}
public void incZUGFeRDCount(){
horseCount++;
}
public void incDirCount(){
dirCount++;
}
public int getFileCount(){
return fileCount;
}
public int getPDFCount(){
return pdfCount;
}
public int getZUGFeRDCount(){
return horseCount;
}
public int getDirCount(){
return dirCount;
}
/***
* returns final statistics
* @return
*/
public String getSummaryLine() {
return "\r\n===================================================================\r\n"+String.format(
"Files:\t%d\tDirs:\t%d\tPDF:\t%d\tZUGFeRD:\t%d\r\n",
getFileCount(), getDirCount(), getPDFCount(), getZUGFeRDCount());
}
/***
* show that something is happening
* @return String
*/
public String getOutputLine() {
return ".";
}
}

View File

@@ -1,123 +0,0 @@
package toecount;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import com.sanityinc.jargs.CmdLineParser;
import com.sanityinc.jargs.CmdLineParser.Option;
public class Toecount {
//build with: /opt/local/bin/mvn clean compile assembly:single
private static void printUsage() {
System.err
.println(getUsage());
}
private static String getUsage() {
return "Usage: Toecount [-d,--directory] [-l,--listfromstdin] [-i,--ignorefileextension] [-h,--help]\r\n";
}
private static void printHelp() {
System.out
.println("Mustangproject.org's Toecount 0.0.7 \r\n"
+ "A Apache Public License command line tool for statistics on PDF invoices with\r\n"
+ "ZUGFeRD Metadata (http://www.zugferd.de)\r\n"
+ "\r\n"
+ getUsage()
+ "\t--directory= can specify a single PDF or a directory to be scanned\r\n"
+ "\t\tIf it is a directory, it will recurse.\r\n"
+ "\t--listfromstdin allows to specify a list of linefeed separated files on runtime.\r\n"
+ "\t\tIt will start once a blank line has been entered.\r\n"
+ "\t--ignorefileextension check *.* instead of *.pdf files");
}
// /opt/local/bin/mvn clean compile assembly:single
public static void main(String[] args) {
CmdLineParser parser = new CmdLineParser();
Option<String> dirnameOption = parser.addStringOption('d', "directory");
Option<Boolean> filesFromStdInOption = parser.addBooleanOption('l',
"listfromstdin");
Option<Boolean> ignoreFileExtOption = parser.addBooleanOption('i',
"ignorefileextension");
Option<Boolean> helpOption = parser.addBooleanOption('h',
"help");
if (args.length==0) {
printUsage();
System.exit(2);
}
try {
parser.parse(args);
} catch (CmdLineParser.OptionException e) {
System.err.println(e.getMessage());
printUsage();
System.exit(2);
}
String directoryName = parser.getOptionValue(dirnameOption);
Boolean filesFromStdIn = parser.getOptionValue(filesFromStdInOption,
Boolean.FALSE);
Boolean helpRequested = parser.getOptionValue(helpOption,
Boolean.FALSE);
Boolean ignoreFileExt = parser.getOptionValue(ignoreFileExtOption,
Boolean.FALSE);
if (helpRequested) {
printHelp();
}
StatRun sr=new StatRun();
if (ignoreFileExt) {
sr.ignoreFileExtension();
}
if (directoryName != null) {
Path startingDir = Paths.get(directoryName);
if (Files.isRegularFile(startingDir)) {
String filename = startingDir.toString();
FileChecker fc = new FileChecker(filename, sr);
fc.checkForZUGFeRD();
System.out.print(fc.getOutputLine());
} else if (Files.isDirectory(startingDir)) {
FileTraverser pf = new FileTraverser(sr);
try {
Files.walkFileTree(startingDir, pf);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
if (filesFromStdIn) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s;
try {
while ((s = in.readLine()) != null && s.length() != 0) {
FileChecker fc = new FileChecker(s, sr);
fc.checkForZUGFeRD();
System.out.print(fc.getOutputLine());
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
System.out.println(sr.getSummaryLine());
}
}