|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.willuhn.jameica.hbci.server.UmsatzTreeNode
public class UmsatzTreeNode
Hilfsklasse, um die Kategorien und zugeordneten Umsaetzen in einem einheitlichen Tree abzubilden. Die Klasse wird primaer verwendet, um den Baum bequem in der GUI darzustellen.
| Constructor Summary | |
|---|---|
UmsatzTreeNode(UmsatzTyp typ)
ct. |
|
| Method Summary | |
|---|---|
void |
add(Umsatz umsatz)
Fuegt der Gruppe einen neuen Umsatz hinzu. |
int |
compareTo(java.lang.Object o)
Implementiert, damit wir nach dem Feld "nummer" sortieren koennen. |
boolean |
equals(de.willuhn.datasource.GenericObject other)
|
java.lang.Object |
getAttribute(java.lang.String arg0)
|
java.lang.String[] |
getAttributeNames()
|
de.willuhn.datasource.GenericIterator |
getChildren()
|
java.lang.String |
getID()
|
de.willuhn.datasource.GenericObjectNode |
getParent()
|
de.willuhn.datasource.GenericIterator |
getPath()
|
de.willuhn.datasource.GenericIterator |
getPossibleParents()
|
java.lang.String |
getPrimaryAttribute()
|
java.util.List<UmsatzTreeNode> |
getSubGroups()
Liefert ggf. |
java.util.List<Umsatz> |
getUmsaetze()
Liefert die Umsaetze der Kategorie. |
UmsatzTyp |
getUmsatzTyp()
Liefert den zugehoerigen Umsatztyp. |
boolean |
hasChild(de.willuhn.datasource.GenericObjectNode node)
|
void |
setParent(UmsatzTreeNode parent)
Legt das Parent fest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UmsatzTreeNode(UmsatzTyp typ)
typ - | Method Detail |
|---|
public UmsatzTyp getUmsatzTyp()
public void add(Umsatz umsatz)
umsatz - public void setParent(UmsatzTreeNode parent)
parent - das Parent.public java.util.List<Umsatz> getUmsaetze()
public java.util.List<UmsatzTreeNode> getSubGroups()
public de.willuhn.datasource.GenericIterator getChildren()
throws java.rmi.RemoteException
getChildren in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getChildren()
public de.willuhn.datasource.GenericObjectNode getParent()
throws java.rmi.RemoteException
getParent in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getParent()
public de.willuhn.datasource.GenericIterator getPath()
throws java.rmi.RemoteException
getPath in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPath()
public de.willuhn.datasource.GenericIterator getPossibleParents()
throws java.rmi.RemoteException
getPossibleParents in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.getPossibleParents()
public boolean hasChild(de.willuhn.datasource.GenericObjectNode node)
throws java.rmi.RemoteException
hasChild in interface de.willuhn.datasource.GenericObjectNodejava.rmi.RemoteExceptionGenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
public boolean equals(de.willuhn.datasource.GenericObject other)
throws java.rmi.RemoteException
equals in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.equals(de.willuhn.datasource.GenericObject)
public java.lang.Object getAttribute(java.lang.String arg0)
throws java.rmi.RemoteException
getAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getAttribute(java.lang.String)
public java.lang.String[] getAttributeNames()
throws java.rmi.RemoteException
getAttributeNames in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getAttributeNames()
public java.lang.String getID()
throws java.rmi.RemoteException
getID in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getID()
public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.GenericObjectjava.rmi.RemoteExceptionGenericObject.getPrimaryAttribute()public int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||