Package de.willuhn.jameica.hbci.server
Class UmsatzTypImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- de.willuhn.datasource.db.AbstractDBObject
-
- de.willuhn.datasource.db.AbstractDBObjectNode
-
- de.willuhn.jameica.hbci.server.UmsatzTypImpl
-
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject,de.willuhn.datasource.GenericObjectNode,de.willuhn.datasource.rmi.Changeable,de.willuhn.datasource.rmi.DBObject,de.willuhn.datasource.rmi.DBObjectNode,de.willuhn.datasource.rmi.Transactionable,Duplicatable,UmsatzTyp,java.io.Serializable,java.rmi.Remote
public class UmsatzTypImpl extends de.willuhn.datasource.db.AbstractDBObjectNode implements UmsatzTyp, Duplicatable
Implementierung eines Umsatz-Typs.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.willuhn.jameica.hbci.rmi.UmsatzTyp
FLAG_NONE, FLAG_SKIP_REPORTS, MAXLENGTH_PATTERN, TYP_AUSGABE, TYP_EGAL, TYP_EINNAHME
-
-
Constructor Summary
Constructors Constructor Description UmsatzTypImpl()ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()java.lang.Objectduplicate()Dupliziert das Objekt.java.lang.ObjectgetAttribute(java.lang.String arg0)de.willuhn.datasource.GenericIteratorgetChildren()int[]getColor()Liefert die fuer diese Kategorie zu verwendende Farbe.intgetFlags()Liefert ein Bit-Feld mit Flags.java.lang.StringgetKommentar()Liefert den Kommentar fuer den Umsatztyp.KontogetKonto()Liefert das optional zugeordnete Konto.java.lang.StringgetKontoKategorie()Liefert eine optionale Konto-Kategorie.java.lang.StringgetName()Liefert den Namen des Umsatz-Typs.java.lang.StringgetNummer()Liefert die Nummer des Umsatz-Typs.java.lang.StringgetPattern()Liefert das Suchmuster fuer den Umsatztyp.de.willuhn.datasource.GenericIteratorgetPossibleParents()java.lang.StringgetPrimaryAttribute()protected java.lang.StringgetTableName()de.willuhn.datasource.GenericIteratorgetTopLevelList()intgetTyp()Liefert den Typ der Kategorie.de.willuhn.datasource.GenericIteratorgetUmsaetze()Liefert eine Liste von Umsaetzen, die diesem Umsatz-Typ entsprechen.de.willuhn.datasource.GenericIteratorgetUmsaetze(int days)Liefert eine Liste von Umsaetzen der letzten Tage, die diesem Umsatz-Typ entsprechen.de.willuhn.datasource.GenericIteratorgetUmsaetze(java.util.Date von, java.util.Date bis)Liefert eine Liste von Umsaetzen aus dem angegebenen Zeitraum.doublegetUmsatz()Liefert die Hoehe des Umsatzes, der fuer diesen Umsatztyp auf allen Konten vorliegt.doublegetUmsatz(int days)Liefert die Hoehe des Umsatzes der letzten Tage, der fuer diesen Umsatztyp auf allen Konten vorliegt.doublegetUmsatz(java.util.Date von, java.util.Date bis)Liefert die Hoehe des Umsatzes aus dem angegebenen Zeitraum.booleanhasFlag(int flag)Prueft, ob das angegebene Flag vorhanden ist.protected voidinsertCheck()booleanisCustomColor()Prueft, ob eine benutzerdefinierte Farbe verwendet werden soll.booleanisRegex()Prueft, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.booleanmatches(Umsatz umsatz)Prueft, ob der Umsatz diesem Pattern entspricht.booleanmatches(Umsatz umsatz, boolean allowReassign)Prueft, ob der Umsatz diesem Pattern entspricht.voidoverwrite(de.willuhn.datasource.rmi.DBObject object)voidsetColor(int[] rgb)Speichert die Farbe fuer die Umsatz-Kategorie.voidsetCustomColor(boolean b)Legt fest, ob eine benutzerdefinierte Farbe verwendet werden soll.voidsetFlags(int flags)Speichert die Flags einen Objektes.voidsetKommentar(java.lang.String kommentar)Speichert den Kommentar fuer den Umsatztyp.voidsetKonto(Konto konto)Speichert das optional zugeordnete Konto.voidsetKontoKategorie(java.lang.String kategorie)Speichert eine optionale Konto-Kategorie.voidsetName(java.lang.String name)Speichert den Namen des Umsatz-Typs.voidsetNummer(java.lang.String nummer)Speichert die Nummer des Umsatz-Typs.voidsetPattern(java.lang.String pattern)Speichert das Suchmuster fuer den Umsatztyp.voidsetRegex(boolean regex)Speichert, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.voidsetTyp(int typ)Speichert den Typ der Kategorie.voidstore()Ueberschrieben, um den Umsatztyp-Cache zu aktualisieren.protected voidupdateCheck()-
Methods inherited from class de.willuhn.datasource.db.AbstractDBObjectNode
deleteCheck, getNodeField, getParent, getPath, hasChild, setParent
-
Methods inherited from class de.willuhn.datasource.db.AbstractDBObject
addDeleteListener, addStoreListener, clear, equals, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, isNewObject, load, 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.DBObject
addDeleteListener, addStoreListener, equals, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
-
-
-
-
Method Detail
-
getTableName
protected java.lang.String getTableName()
- Specified by:
getTableNamein classde.willuhn.datasource.db.AbstractDBObject- See Also:
AbstractDBObject.getTableName()
-
insertCheck
protected void insertCheck() throws de.willuhn.util.ApplicationException- Overrides:
insertCheckin classde.willuhn.datasource.db.AbstractDBObjectNode- Throws:
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.insertCheck()
-
updateCheck
protected void updateCheck() throws de.willuhn.util.ApplicationException- Overrides:
updateCheckin classde.willuhn.datasource.db.AbstractDBObjectNode- Throws:
de.willuhn.util.ApplicationException- See Also:
AbstractDBObject.updateCheck()
-
getUmsaetze
public de.willuhn.datasource.GenericIterator getUmsaetze() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert eine Liste von Umsaetzen, die diesem Umsatz-Typ entsprechen.- Specified by:
getUmsaetzein interfaceUmsatzTyp- Returns:
- Umsatz-Liste.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsaetze()
-
getUmsaetze
public de.willuhn.datasource.GenericIterator getUmsaetze(int days) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert eine Liste von Umsaetzen der letzten Tage, die diesem Umsatz-Typ entsprechen.- Specified by:
getUmsaetzein interfaceUmsatzTyp- Parameters:
days- Anzahl der Tage.- Returns:
- Umsatz-Liste.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsaetze(int)
-
getUmsaetze
public de.willuhn.datasource.GenericIterator getUmsaetze(java.util.Date von, java.util.Date bis) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert eine Liste von Umsaetzen aus dem angegebenen Zeitraum.- Specified by:
getUmsaetzein interfaceUmsatzTyp- Parameters:
von- Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis- Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.- Returns:
- Umsatz-Liste.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsaetze(Date, Date)
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.rmi.DBObject- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.GenericObject- Specified by:
getPrimaryAttributein classde.willuhn.datasource.db.AbstractDBObject- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObject.getPrimaryAttribute()
-
getName
public java.lang.String getName() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert den Namen des Umsatz-Typs.- Specified by:
getNamein interfaceUmsatzTyp- Returns:
- Name des Umsatz-Typs.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getName()
-
setName
public void setName(java.lang.String name) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert den Namen des Umsatz-Typs.- Specified by:
setNamein interfaceUmsatzTyp- Parameters:
name- Name des Umsatz-Typs.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setName(java.lang.String)
-
getNummer
public java.lang.String getNummer() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert die Nummer des Umsatz-Typs. Die Nummer wird für die Sortierung bei der Auswertung eingesetzt.- Specified by:
getNummerin interfaceUmsatzTyp- Returns:
- Nummer des Umsatz-Typs.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getNummer()
-
setNummer
public void setNummer(java.lang.String nummer) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert die Nummer des Umsatz-Typs.- Specified by:
setNummerin interfaceUmsatzTyp- Parameters:
nummer- Nummer des Umsatz-Typs- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setNummer(java.lang.String)
-
getPattern
public java.lang.String getPattern() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert das Suchmuster fuer den Umsatztyp.- Specified by:
getPatternin interfaceUmsatzTyp- Returns:
- Suchmuster.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getPattern()
-
setPattern
public void setPattern(java.lang.String pattern) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert das Suchmuster fuer den Umsatztyp.- Specified by:
setPatternin interfaceUmsatzTyp- Parameters:
pattern- das Suchmuster.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setPattern(java.lang.String)
-
matches
public boolean matches(Umsatz umsatz) throws java.rmi.RemoteException
Description copied from interface:UmsatzTypPrueft, ob der Umsatz diesem Pattern entspricht. Ist fuer den Umsatz-Typ kein Pattern definiert, liefert die Funktion immer false.- Specified by:
matchesin interfaceUmsatzTyp- Parameters:
umsatz- zu pruefender Umsatz.- Returns:
- true, wenn er dem Pattern entspricht.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz)
-
matches
public boolean matches(Umsatz umsatz, boolean allowReassign) throws java.rmi.RemoteException
Description copied from interface:UmsatzTypPrueft, ob der Umsatz diesem Pattern entspricht. Ist fuer den Umsatz-Typ kein Pattern definiert, liefert die Funktion immer false.- Specified by:
matchesin interfaceUmsatzTyp- Parameters:
umsatz- zu pruefender Umsatz.allowReassign- true, wenn der Umsatz auch dann als passend gewertet werden soll, wenn er bereits fest einer anderen Kategorie zugeordnet ist. Per Default (also wenn die "matches(Umsatz)"-Funktion ohne diesen Boolean-Parameter aufgerufen wird) ist dieser Parameter "false". Das heisst, ein Umsatz, der bereits manuell (nicht per Suchbegriff) einer anderen Kategorie zugeordnet ist, liefert hier false, wenn "this" nicht die zugeordnete Kategorie ist.- Returns:
- true, wenn er dem Pattern entspricht.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.matches(de.willuhn.jameica.hbci.rmi.Umsatz, boolean)
-
isRegex
public boolean isRegex() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypPrueft, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.- Specified by:
isRegexin interfaceUmsatzTyp- Returns:
- true, wenn es sich um einen regulaeren Ausdruck handelt.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.isRegex()
-
setRegex
public void setRegex(boolean regex) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert, ob es sich bei dem Pattern um einen regulaeren Ausdruck handelt.- Specified by:
setRegexin interfaceUmsatzTyp- Parameters:
regex- true, wenn es sich um einen regulaeren Ausdruck handelt.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setRegex(boolean)
-
setKommentar
public void setKommentar(java.lang.String kommentar) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert den Kommentar fuer den Umsatztyp.- Specified by:
setKommentarin interfaceUmsatzTyp- Parameters:
kommentar- der Kommentar.- Throws:
java.rmi.RemoteException
-
getKommentar
public java.lang.String getKommentar() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert den Kommentar fuer den Umsatztyp.- Specified by:
getKommentarin interfaceUmsatzTyp- Returns:
- Kommentar.
- Throws:
java.rmi.RemoteException
-
getUmsatz
public double getUmsatz() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert die Hoehe des Umsatzes, der fuer diesen Umsatztyp auf allen Konten vorliegt.- Specified by:
getUmsatzin interfaceUmsatzTyp- Returns:
- Hoehe des Umsatzes.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsatz()
-
getUmsatz
public double getUmsatz(java.util.Date von, java.util.Date bis) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert die Hoehe des Umsatzes aus dem angegebenen Zeitraum.- Specified by:
getUmsatzin interfaceUmsatzTyp- Parameters:
von- Start-Datum. Wenn == null, dann bleibt es unberücksichtigt.bis- Ende-Datum. Wenn == null, dann bleibt es unberücksichtigt.- Returns:
- Hoehe des Umsatzes.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsatz(Date, Date)
-
getUmsatz
public double getUmsatz(int days) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert die Hoehe des Umsatzes der letzten Tage, der fuer diesen Umsatztyp auf allen Konten vorliegt.- Specified by:
getUmsatzin interfaceUmsatzTyp- Parameters:
days- Anzahl der Tage.- Returns:
- Hoehe des Umsatzes.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getUmsatz(int)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String arg0) throws java.rmi.RemoteException- Specified by:
getAttributein interfacede.willuhn.datasource.rmi.DBObject- Specified by:
getAttributein interfacede.willuhn.datasource.GenericObject- Overrides:
getAttributein classde.willuhn.datasource.db.AbstractDBObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getAttribute(java.lang.String)
-
overwrite
public void overwrite(de.willuhn.datasource.rmi.DBObject object) throws java.rmi.RemoteException- Specified by:
overwritein interfacede.willuhn.datasource.rmi.Changeable- Overrides:
overwritein classde.willuhn.datasource.db.AbstractDBObject- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObject.overwrite(de.willuhn.datasource.rmi.DBObject)
-
delete
public void delete() throws java.rmi.RemoteException, de.willuhn.util.ApplicationException- Specified by:
deletein interfacede.willuhn.datasource.rmi.Changeable- Overrides:
deletein classde.willuhn.datasource.db.AbstractDBObject- Throws:
java.rmi.RemoteExceptionde.willuhn.util.ApplicationException- See Also:
AbstractDBObject.delete()
-
store
public void store() throws java.rmi.RemoteException, de.willuhn.util.ApplicationExceptionUeberschrieben, um den Umsatztyp-Cache zu aktualisieren.- Specified by:
storein interfacede.willuhn.datasource.rmi.Changeable- Overrides:
storein classde.willuhn.datasource.db.AbstractDBObject- Throws:
java.rmi.RemoteExceptionde.willuhn.util.ApplicationException- See Also:
AbstractDBObject.store()
-
getColor
public int[] getColor() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert die fuer diese Kategorie zu verwendende Farbe.- Specified by:
getColorin interfaceUmsatzTyp- Returns:
- Farbe oder null, wenn noch keine definiert wurde.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getColor()
-
setColor
public void setColor(int[] rgb) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert die Farbe fuer die Umsatz-Kategorie.- Specified by:
setColorin interfaceUmsatzTyp- Parameters:
rgb- Farbe.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setColor(int[])
-
getTyp
public int getTyp() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert den Typ der Kategorie.- Specified by:
getTypin interfaceUmsatzTyp- Returns:
- Typ der Kategorie.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getTyp()
-
setTyp
public void setTyp(int typ) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert den Typ der Kategorie.- Specified by:
setTypin interfaceUmsatzTyp- Parameters:
typ- Typ der Kategorie.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setTyp(int)
-
getPossibleParents
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException- Specified by:
getPossibleParentsin interfacede.willuhn.datasource.GenericObjectNode- Overrides:
getPossibleParentsin classde.willuhn.datasource.db.AbstractDBObjectNode- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObjectNode.getPossibleParents()
-
getTopLevelList
public de.willuhn.datasource.GenericIterator getTopLevelList() throws java.rmi.RemoteException- Specified by:
getTopLevelListin interfacede.willuhn.datasource.rmi.DBObjectNode- Overrides:
getTopLevelListin classde.willuhn.datasource.db.AbstractDBObjectNode- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObjectNode.getTopLevelList()
-
isCustomColor
public boolean isCustomColor() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypPrueft, ob eine benutzerdefinierte Farbe verwendet werden soll.- Specified by:
isCustomColorin interfaceUmsatzTyp- Returns:
- true, wenn eine benutzerdefinierte Farbe verwendet werden soll.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.isCustomColor()
-
setCustomColor
public void setCustomColor(boolean b) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLegt fest, ob eine benutzerdefinierte Farbe verwendet werden soll.- Specified by:
setCustomColorin interfaceUmsatzTyp- Parameters:
b- true, wenn eine benutzerdefinierte Farbe verwendet werden soll.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setCustomColor(boolean)
-
getChildren
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException- Specified by:
getChildrenin interfacede.willuhn.datasource.GenericObjectNode- Overrides:
getChildrenin classde.willuhn.datasource.db.AbstractDBObjectNode- Throws:
java.rmi.RemoteException- See Also:
AbstractDBObjectNode.getChildren()
-
duplicate
public java.lang.Object duplicate() throws java.rmi.RemoteExceptionDescription copied from interface:DuplicatableDupliziert das Objekt.- Specified by:
duplicatein interfaceDuplicatable- Returns:
- neues Objekt mit den gleichen Eigenschaften.
- Throws:
java.rmi.RemoteException- See Also:
Duplicatable.duplicate()
-
getKonto
public Konto getKonto() throws java.rmi.RemoteException
Description copied from interface:UmsatzTypLiefert das optional zugeordnete Konto.- Specified by:
getKontoin interfaceUmsatzTyp- Returns:
- Konto.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getKonto()
-
setKonto
public void setKonto(Konto konto) throws java.rmi.RemoteException
Description copied from interface:UmsatzTypSpeichert das optional zugeordnete Konto.- Specified by:
setKontoin interfaceUmsatzTyp- Parameters:
konto- Konto.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setKonto(de.willuhn.jameica.hbci.rmi.Konto)
-
getKontoKategorie
public java.lang.String getKontoKategorie() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert eine optionale Konto-Kategorie.- Specified by:
getKontoKategoriein interfaceUmsatzTyp- Returns:
- eine optionale Konto-Kategorie.
- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.getKontoKategorie()
-
setKontoKategorie
public void setKontoKategorie(java.lang.String kategorie) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert eine optionale Konto-Kategorie.- Specified by:
setKontoKategoriein interfaceUmsatzTyp- Parameters:
kategorie- die optionale Konto-Kategorie.- Throws:
java.rmi.RemoteException- See Also:
UmsatzTyp.setKontoKategorie(java.lang.String)
-
hasFlag
public boolean hasFlag(int flag) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypPrueft, ob das angegebene Flag vorhanden ist.- Specified by:
hasFlagin interfaceUmsatzTyp- Parameters:
flag- das zu pruefende Flag.- Returns:
- true, wenn es gesetzt ist.
- Throws:
java.rmi.RemoteException- See Also:
Flaggable.hasFlag(int)
-
getFlags
public int getFlags() throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypLiefert ein Bit-Feld mit Flags. Ein Objekt kann mit verschiedenen Flags markiert werden. Das kann zum Beispiel "deaktiviert" sein. Damit fuer kuenftige weitere Flags nicht immer ein neues Feld zur Datenbank hinzugefuegt werden muss, verwenden wir hier ein Bitfeld. Damit koennen mehrere Flags in einem Wert codiert werden.- Specified by:
getFlagsin interfaceUmsatzTyp- Returns:
- Bit-Feld mit den Flags des Objektes.
- Throws:
java.rmi.RemoteException- See Also:
Flaggable.getFlags()
-
setFlags
public void setFlags(int flags) throws java.rmi.RemoteExceptionDescription copied from interface:UmsatzTypSpeichert die Flags einen Objektes.- Specified by:
setFlagsin interfaceUmsatzTyp- Parameters:
flags- die Flags in Form eines Bit-Feldes.- Throws:
java.rmi.RemoteException- See Also:
Flaggable.setFlags(int)
-
-