|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.willuhn.jameica.hbci.server.Converter
public class Converter
Hilfeklasse, welche Objekte aus HBCI4Java in unsere Datenstrukturen konvertiert und umgekehrt.
| Constructor Summary | |
|---|---|
Converter()
|
|
| Method Summary | |
|---|---|
static org.kapott.hbci.structures.Konto |
Address2HBCIKonto(Address adresse)
Konvertiert einen Hibiscus-Adresse in ein HBCI4Java Konto. |
static Dauerauftrag |
HBCIDauer2HibiscusDauerauftrag(org.kapott.hbci.GV_Result.GVRDauerList.Dauer d)
Konvertiert eine Zeile aus der Liste der abgerufenen Dauerauftraege. |
static HibiscusAddress |
HBCIKonto2Address(org.kapott.hbci.structures.Konto konto)
Konvertiert ein HBCI4Java Konto in eine Hibiscus-Adresse. |
static Konto |
HBCIKonto2HibiscusKonto(org.kapott.hbci.structures.Konto konto)
Konvertiert ein HBCI4Java-Konto in ein Hibiscus Konto. |
static Konto |
HBCIKonto2HibiscusKonto(org.kapott.hbci.structures.Konto konto,
java.lang.Class passportClass)
Konvertiert ein HBCI4Java-Konto in ein Hibiscus Konto. |
static Umsatz |
HBCIUmsatz2HibiscusUmsatz(org.kapott.hbci.GV_Result.GVRKUms.UmsLine u)
Konvertiert einen einzelnen Umsatz von HBCI4Java nach Hibiscus. |
static org.kapott.hbci.structures.Konto |
HibiscusKonto2HBCIKonto(Konto konto)
Konvertiert ein Hibiscus-Konto in ein HBCI4Java Konto. |
static org.kapott.hbci.swift.DTAUS |
HibiscusSammelLastschrift2DTAUS(SammelLastschrift sl)
Konvertiert eine Sammel-Lastschrift in DTAUS-Format. |
static org.kapott.hbci.swift.DTAUS |
HibiscusSammelUeberweisung2DTAUS(SammelUeberweisung su)
Konvertiert eine Sammel-Ueberweisung in DTAUS-Format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Converter()
| Method Detail |
|---|
public static Umsatz HBCIUmsatz2HibiscusUmsatz(org.kapott.hbci.GV_Result.GVRKUms.UmsLine u)
throws java.rmi.RemoteException
UmsLine zwar die Kundennummer
enthaelt, nicht aber das konkrete Konto, auf das sich der Umsatz
bezieht, wird das Feld leer gelassen. Es ist daher Sache des Aufrufers,
noch die Funktion umsatz.setKonto(Konto) aufzurufen, damit
das Objekt in der Datenbank gespeichert werden kann.
Empfaenger
erzeugt und dieser im Umsatz-Objekt gesetzt. Es wird jedoch nocht nicht
in der Datenbank gespeichert. Vorm Speichern des Umsatzes muss also
noch ein umsatz.getEmpfaenger().store() gemacht werden.
u - der zu convertierende Umsatz.
java.rmi.RemoteException
public static Dauerauftrag HBCIDauer2HibiscusDauerauftrag(org.kapott.hbci.GV_Result.GVRDauerList.Dauer d)
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
d - der Dauerauftrag aus HBCI4Java.
java.rmi.RemoteException
de.willuhn.util.ApplicationException
public static org.kapott.hbci.structures.Konto HibiscusKonto2HBCIKonto(Konto konto)
throws java.rmi.RemoteException
konto - unser Konto.
java.rmi.RemoteException
public static Konto HBCIKonto2HibiscusKonto(org.kapott.hbci.structures.Konto konto,
java.lang.Class passportClass)
throws java.rmi.RemoteException
konto - das HBCI4Java Konto.passportClass - optionale Angabe einer Passport-Klasse. Ist er angegeben wird, nur dann ein existierendes Konto
verwendet, wenn neben Kontonummer und BLZ auch die Klasse des Passportuebereinstimmt.
java.rmi.RemoteException
public static Konto HBCIKonto2HibiscusKonto(org.kapott.hbci.structures.Konto konto)
throws java.rmi.RemoteException
konto - das HBCI4Java Konto.
java.rmi.RemoteException
public static org.kapott.hbci.structures.Konto Address2HBCIKonto(Address adresse)
throws java.rmi.RemoteException
adresse - unsere Adresse.
java.rmi.RemoteException
public static HibiscusAddress HBCIKonto2Address(org.kapott.hbci.structures.Konto konto)
throws java.rmi.RemoteException
konto - das HBCI-Konto.
java.rmi.RemoteException
public static org.kapott.hbci.swift.DTAUS HibiscusSammelUeberweisung2DTAUS(SammelUeberweisung su)
throws java.rmi.RemoteException
su - Sammel-Ueberweisung.
java.rmi.RemoteException
public static org.kapott.hbci.swift.DTAUS HibiscusSammelLastschrift2DTAUS(SammelLastschrift sl)
throws java.rmi.RemoteException
sl - Sammel-Lastschrift.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||