de.willuhn.jameica.hbci.server
Class HibiscusAddressImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by de.willuhn.datasource.db.AbstractDBObject
                  extended by de.willuhn.jameica.hbci.server.HibiscusAddressImpl
All Implemented Interfaces:
de.willuhn.datasource.GenericObject, de.willuhn.datasource.rmi.Changeable, de.willuhn.datasource.rmi.DBObject, de.willuhn.datasource.rmi.Transactionable, Address, HibiscusAddress, java.io.Serializable, java.rmi.Remote

public class HibiscusAddressImpl
extends de.willuhn.datasource.db.AbstractDBObject
implements HibiscusAddress

Implementierung einer Hibiscus-Adresse.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
HibiscusAddressImpl()
           
 
Method Summary
 java.lang.String getBank()
          Liefert den Namen der Bank.
 java.lang.String getBic()
          Liefert die BIC.
 java.lang.String getBlz()
          Liefert die BLZ.
 java.lang.String getIban()
          Liefert die IBAN.
 java.lang.String getKommentar()
          Liefert einen zusaetzlichen Kommentar fuer den Adressbuch-Eintrag.
 java.lang.String getKontonummer()
          Liefert die Kontonummer.
 java.lang.String getName()
          Liefert den Namen.
 java.lang.String getPrimaryAttribute()
           
protected  java.lang.String getTableName()
           
protected  void insertCheck()
           
 void setBank(java.lang.String name)
          Speichert den Namen der Bank.
 void setBic(java.lang.String bic)
          Speichert die BIC.
 void setBlz(java.lang.String blz)
          Speichert die BLZ des Empfaengers.
 void setIban(java.lang.String iban)
          Speichert die IBAN.
 void setKommentar(java.lang.String kommentar)
          Speichert einen zusaetzlichen Kommentar fuer den Adressbuch-Eintrag.
 void setKontonummer(java.lang.String kontonummer)
          Speichert die Kontonummer des Empfaengers.
 void setName(java.lang.String name)
          Speichert den Namen des Empfaengers.
protected  void updateCheck()
           
 
Methods inherited from class de.willuhn.datasource.db.AbstractDBObject
addDeleteListener, addStoreListener, clear, delete, deleteCheck, equals, getAttribute, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, isNewObject, load, overwrite, removeDeleteListener, removeStoreListener, setAttribute, setID, setService, store, transactionBegin, transactionCommit, transactionRollback
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.willuhn.datasource.rmi.DBObject
addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
 
Methods inherited from interface de.willuhn.datasource.GenericObject
getAttributeNames, getID
 
Methods inherited from interface de.willuhn.datasource.rmi.Transactionable
transactionBegin, transactionCommit, transactionRollback
 
Methods inherited from interface de.willuhn.datasource.rmi.Changeable
clear, delete, isNewObject, overwrite, store
 

Constructor Detail

HibiscusAddressImpl

public HibiscusAddressImpl()
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getTableName

protected java.lang.String getTableName()
Specified by:
getTableName in class de.willuhn.datasource.db.AbstractDBObject
See Also:
AbstractDBObject.getTableName()

getPrimaryAttribute

public java.lang.String getPrimaryAttribute()
                                     throws java.rmi.RemoteException
Specified by:
getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
Specified by:
getPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObject
Specified by:
getPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getPrimaryAttribute()

insertCheck

protected void insertCheck()
                    throws de.willuhn.util.ApplicationException
Overrides:
insertCheck in class de.willuhn.datasource.db.AbstractDBObject
Throws:
de.willuhn.util.ApplicationException
See Also:
AbstractDBObject.insertCheck()

updateCheck

protected void updateCheck()
                    throws de.willuhn.util.ApplicationException
Overrides:
updateCheck in class de.willuhn.datasource.db.AbstractDBObject
Throws:
de.willuhn.util.ApplicationException
See Also:
AbstractDBObject.updateCheck()

getKontonummer

public java.lang.String getKontonummer()
                                throws java.rmi.RemoteException
Description copied from interface: Address
Liefert die Kontonummer.

Specified by:
getKontonummer in interface Address
Returns:
Kontonummer.
Throws:
java.rmi.RemoteException
See Also:
Address.getKontonummer()

getBlz

public java.lang.String getBlz()
                        throws java.rmi.RemoteException
Description copied from interface: Address
Liefert die BLZ.

Specified by:
getBlz in interface Address
Returns:
BLZ.
Throws:
java.rmi.RemoteException - BUGZILLA 534
See Also:
Address.getBlz()

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Description copied from interface: Address
Liefert den Namen.

Specified by:
getName in interface Address
Returns:
Name.
Throws:
java.rmi.RemoteException
See Also:
Address.getName()

setKontonummer

public void setKontonummer(java.lang.String kontonummer)
                    throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert die Kontonummer des Empfaengers.

Specified by:
setKontonummer in interface HibiscusAddress
Parameters:
kontonummer - Kontonummer.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setKontonummer(java.lang.String)

setBlz

public void setBlz(java.lang.String blz)
            throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert die BLZ des Empfaengers.

Specified by:
setBlz in interface HibiscusAddress
Parameters:
blz - BLZ.
Throws:
java.rmi.RemoteException - BUGZILLA 534
See Also:
HibiscusAddress.setBlz(java.lang.String)

setName

public void setName(java.lang.String name)
             throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert den Namen des Empfaengers.

Specified by:
setName in interface HibiscusAddress
Parameters:
name - Name.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setName(java.lang.String)

getKommentar

public java.lang.String getKommentar()
                              throws java.rmi.RemoteException
Description copied from interface: Address
Liefert einen zusaetzlichen Kommentar fuer den Adressbuch-Eintrag.

Specified by:
getKommentar in interface Address
Returns:
Kommentar.
Throws:
java.rmi.RemoteException
See Also:
Address.getKommentar()

setKommentar

public void setKommentar(java.lang.String kommentar)
                  throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert einen zusaetzlichen Kommentar fuer den Adressbuch-Eintrag.

Specified by:
setKommentar in interface HibiscusAddress
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setKommentar(java.lang.String)

getBank

public java.lang.String getBank()
                         throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Liefert den Namen der Bank. Ist nur fuer auslaendische Banken sinnvoll, da HBCI4Java fuer deutsche Banken eine Mapping-Tabelle BLZ->Bankname mitbringt.

Specified by:
getBank in interface HibiscusAddress
Returns:
Name der Bank.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.getBank()

setBank

public void setBank(java.lang.String name)
             throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert den Namen der Bank. Ist nur fuer auslaendische Banken sinnvoll, da HBCI4Java fuer deutsche Banken eine Mapping-Tabelle BLZ->Bankname mitbringt.

Specified by:
setBank in interface HibiscusAddress
Parameters:
name - Name der Bank.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setBank(java.lang.String)

getBic

public java.lang.String getBic()
                        throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Liefert die BIC.

Specified by:
getBic in interface HibiscusAddress
Returns:
die BIC.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.getBic()

setBic

public void setBic(java.lang.String bic)
            throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert die BIC.

Specified by:
setBic in interface HibiscusAddress
Parameters:
bic - die BIC.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setBic(java.lang.String)

getIban

public java.lang.String getIban()
                         throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Liefert die IBAN.

Specified by:
getIban in interface HibiscusAddress
Returns:
die IBAN.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.getIban()

setIban

public void setIban(java.lang.String iban)
             throws java.rmi.RemoteException
Description copied from interface: HibiscusAddress
Speichert die IBAN.

Specified by:
setIban in interface HibiscusAddress
Parameters:
iban - die IBAN.
Throws:
java.rmi.RemoteException
See Also:
HibiscusAddress.setIban(java.lang.String)