Package de.willuhn.jameica.hbci.server
Class HibiscusAddressImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- de.willuhn.datasource.db.AbstractDBObject
-
- de.willuhn.jameica.hbci.server.AbstractHibiscusDBObject
-
- 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
,HibiscusDBObject
,java.io.Serializable
,java.rmi.Remote
public class HibiscusAddressImpl extends AbstractHibiscusDBObject implements HibiscusAddress
Implementierung einer Hibiscus-Adresse.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HibiscusAddressImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getKategorie()
Liefert einen Freitext mit der Kategorie.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
setKategorie(java.lang.String kategorie)
Speichert die Kategorie.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.jameica.hbci.server.AbstractHibiscusDBObject
delete, getMeta, setMeta, store
-
Methods inherited from class de.willuhn.datasource.db.AbstractDBObject
addDeleteListener, addStoreListener, clear, 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, transactionBegin, transactionCommit, transactionRollback
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
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.Changeable
clear, delete, isNewObject, overwrite, store
-
Methods inherited from interface de.willuhn.datasource.rmi.DBObject
addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
-
Methods inherited from interface de.willuhn.jameica.hbci.rmi.HibiscusDBObject
getMeta, setMeta
-
-
-
-
Method Detail
-
getTableName
protected java.lang.String getTableName()
- Specified by:
getTableName
in classde.willuhn.datasource.db.AbstractDBObject
- See Also:
AbstractDBObject.getTableName()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.rmi.DBObject
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.GenericObject
- Specified by:
getPrimaryAttribute
in classde.willuhn.datasource.db.AbstractDBObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getPrimaryAttribute()
-
insertCheck
protected void insertCheck() throws de.willuhn.util.ApplicationException
- Overrides:
insertCheck
in classde.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 classde.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 interfaceAddress
- 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 interfaceAddress
- 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 interfaceAddress
- 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 interfaceHibiscusAddress
- 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 interfaceHibiscusAddress
- 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 interfaceHibiscusAddress
- 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 interfaceAddress
- 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 interfaceHibiscusAddress
- 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 interfaceHibiscusAddress
- 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 interfaceHibiscusAddress
- 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:Address
Liefert die BIC.- Specified by:
getBic
in interfaceAddress
- Returns:
- die BIC.
- Throws:
java.rmi.RemoteException
- See Also:
Address.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 interfaceHibiscusAddress
- 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:Address
Liefert die IBAN.- Specified by:
getIban
in interfaceAddress
- Returns:
- die IBAN.
- Throws:
java.rmi.RemoteException
- See Also:
Address.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 interfaceHibiscusAddress
- Parameters:
iban
- die IBAN.- Throws:
java.rmi.RemoteException
- See Also:
HibiscusAddress.setIban(java.lang.String)
-
getKategorie
public java.lang.String getKategorie() throws java.rmi.RemoteException
Description copied from interface:Address
Liefert einen Freitext mit der Kategorie.- Specified by:
getKategorie
in interfaceAddress
- Returns:
- Freitext mit der Kategorie.
- Throws:
java.rmi.RemoteException
- See Also:
Address.getKategorie()
-
setKategorie
public void setKategorie(java.lang.String kategorie) throws java.rmi.RemoteException
Description copied from interface:HibiscusAddress
Speichert die Kategorie.- Specified by:
setKategorie
in interfaceHibiscusAddress
- Parameters:
kategorie
- die Kategorie.- Throws:
java.rmi.RemoteException
- See Also:
HibiscusAddress.setKategorie(java.lang.String)
-
-