Skip to content

Commit

Permalink
Merge pull request #30 from klst-de/two_jars
Browse files Browse the repository at this point in the history
Two jars api and impl
  • Loading branch information
homebeaver authored May 4, 2021
2 parents a515775 + 4015568 commit ccd7a88
Show file tree
Hide file tree
Showing 155 changed files with 271 additions and 6,298 deletions.
22 changes: 22 additions & 0 deletions de.klst.facturx-api.jardesc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jardesc>
<jar path="e-invoice/de.klst.facturx-api-4.0.0.jar"/>
<options buildIfNeeded="true" compress="true" descriptionLocation="/e-invoice/de.klst.facturx-api.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>
<manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
<sealing sealJar="false">
<packagesToSeal>
<package handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.einvoice.api"/>
<package handleIdentifier="=e-invoice/e-doc-commons\/src\/main\/java&lt;com.klst.edoc.api"/>
</packagesToSeal>
<packagesToUnSeal/>
</sealing>
</manifest>
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.einvoice.api"/>
<file path="/e-invoice/README.md"/>
<file path="/e-invoice/LICENSE"/>
<javaElement handleIdentifier="=e-invoice/e-doc-commons\/src\/main\/java&lt;com.klst.edoc.api"/>
</selectedElements>
</jardesc>
44 changes: 44 additions & 0 deletions de.klst.facturx-impl.jardesc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jardesc>
<jar path="e-invoice/de.klst.facturx-impl-4.0.0.jar"/>
<options buildIfNeeded="true" compress="true" descriptionLocation="/e-invoice/de.klst.facturx-impl.jardesc" exportErrors="false" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
<selectedProjects/>
<manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
<sealing sealJar="true">
<packagesToSeal>
<package handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.einvoice.api"/>
<package handleIdentifier="=e-invoice/e-doc-commons\/src\/main\/java&lt;com.klst.edoc.api"/>
</packagesToSeal>
<packagesToUnSeal/>
</sealing>
</manifest>
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;un.unece.uncefact.data.standard.reusableaggregatebusinessinformationentity._100"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;un.unece.uncefact.data.standard.qualifieddatatype._100"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;org.etsi.uri._01903.v1_4"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;org.w3._2000._09.xmldsig_"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;un.unece.uncefact.data.standard.unqualifieddatatype._100"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/resources&lt;cii.maindoc"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.einvoice.ubl"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.creditnote_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;un.unece.uncefact.data.specification.corecomponenttypeschemamodule._2"/>
<javaElement handleIdentifier="=e-invoice/e-doc-commons\/src\/main\/java&lt;com.klst.edoc.untdid"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.einvoice.unece.uncefact"/>
<file path="/e-invoice/LICENSE"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.marshaller"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.signatureaggregatecomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;un.unece.uncefact.data.standard.crossindustryinvoice._100"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/resources&lt;ubl.maindoc"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.commonsignaturecomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.invoice_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.unqualifieddatatypes_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;oasis.names.specification.ubl.schema.xsd.signaturebasiccomponents_2"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;com.klst.ebXml.reflection"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/resources&lt;ubl.common"/>
<javaElement handleIdentifier="=e-invoice/src\/main\/java&lt;org.etsi.uri._01903.v1_3"/>
</selectedElements>
</jardesc>
24 changes: 0 additions & 24 deletions de.klst.jardesc

This file was deleted.

11 changes: 3 additions & 8 deletions src/main/java/com/klst/ebXml/reflection/SCopyCtor.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ public Field newFieldInstance(Object obj, String fieldName, Object value) {
private static final String METHOD_GETUNITCODE = "getUnitCode"; // wg. Quantity

private Class<?> typeUDT_ID = un.unece.uncefact.data.standard.unqualifieddatatype._100.IDType.class;
private Package packageUDT = typeUDT_ID.getPackage();
private Class<?> typeUDT_Quantity = un.unece.uncefact.data.standard.unqualifieddatatype._100.QuantityType.class;
// private Package packageUDT = typeUDT_ID.getPackage();
// private Class<?> typeUDT_Quantity = un.unece.uncefact.data.standard.unqualifieddatatype._100.QuantityType.class;
private Class<?> type_Quantity = un.unece.uncefact.data.specification.corecomponenttypeschemamodule._2.QuantityType.class;
private Class<?> typeUDT_Amount = un.unece.uncefact.data.standard.unqualifieddatatype._100.AmountType.class;
// private Class<?> typeUDT_Amount = un.unece.uncefact.data.standard.unqualifieddatatype._100.AmountType.class;
private Class<?> type_Amount = un.unece.uncefact.data.specification.corecomponenttypeschemamodule._2.AmountType.class;

private void set(Field field, Object obj, String fieldName, Object value) {
Expand Down Expand Up @@ -368,11 +368,6 @@ private void set(Field field, Object obj, String fieldName, Object value) {
}

LOG.warning("NO METHOD found for " + obj.getClass().getSimpleName() +"."+fieldName + " and arg value:"+value);
// if(type_Quantity.isInstance(value) && value.getClass()!=type_Quantity) {
// // value is instance of a subclass of QuantityType, but not QuantityType itself
// // mögliche Methoden: setRequestedQuantity / setAgreedQuantity / setBasisQuantity
// if (set("setBilledQuantity", obj, field, value, typeUDT_Quantity)) return;
// }

}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessParty;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessParty;
import com.klst.edoc.api.PostalAddress;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyAddress;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.sql.Timestamp;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.sql.Timestamp;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyAddress;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* BG-21 0..n DOCUMENT LEVEL CHARGES / ZUSCHLÄGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.Amount;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.sql.Timestamp;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* BG-27 0..n INVOICE LINE ALLOWANCES / ABSCHLÄGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* BG-28 0..n INVOICE LINE CHARGES / ZUSCHLÄGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.Quantity;
import com.klst.einvoice.unece.uncefact.UnitPriceAmount;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* BG-2 PROCESS CONTROL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.Properties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.sql.Timestamp;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessParty;
import com.klst.edoc.api.ContactInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyAddress;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyContact;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessParty;
import com.klst.edoc.api.ContactInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyAddress;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.BusinessPartyContact;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.sql.Timestamp;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.untdid.DocumentNameCode;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.BICId;
import com.klst.einvoice.unece.uncefact.IBANId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.BICId;
import com.klst.einvoice.unece.uncefact.IBANId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.IBANId;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.IBANId;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.einvoice.unece.uncefact.IBANId;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.api.Identifier;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import java.math.BigDecimal;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/*
Tax TypeCode : Code der Umsatzsteuerkategorie
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

import com.klst.edoc.untdid.TaxTypeCode;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* BG-1 INVOICE NOTE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.klst.einvoice;
package com.klst.einvoice.api;

/**
* abstract-factory, aka Kit for BG-1 INVOICE NOTE
Expand Down
Loading

0 comments on commit ccd7a88

Please sign in to comment.