Package de.willuhn.jameica.hbci.server
Class UmsatzGroup
- java.lang.Object
-
- de.willuhn.jameica.hbci.server.UmsatzGroup
-
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject,de.willuhn.datasource.GenericObjectNode,java.lang.Comparable,java.rmi.Remote
public class UmsatzGroup extends java.lang.Object implements de.willuhn.datasource.GenericObjectNode, java.lang.ComparableHilfsklasse, um eine Gruppen von Umsaetzen samt Name als GenericObjectNode abzubilden.
-
-
Constructor Summary
Constructors Constructor Description UmsatzGroup(UmsatzTyp typ)ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Umsatz umsatz)Fuegt der Gruppe einen neuen Umsatz hinzu.intcompareTo(java.lang.Object o)Implementiert, damit wir nach dem Feld "nummer" sortieren koennen.booleanequals(de.willuhn.datasource.GenericObject other)java.lang.ObjectgetAttribute(java.lang.String arg0)java.lang.String[]getAttributeNames()de.willuhn.datasource.GenericIteratorgetChildren()java.lang.StringgetID()de.willuhn.datasource.GenericObjectNodegetParent()de.willuhn.datasource.GenericIteratorgetPath()de.willuhn.datasource.GenericIteratorgetPossibleParents()java.lang.StringgetPrimaryAttribute()UmsatzTypgetUmsatzTyp()Liefert den zugehoerigen Umsatztyp.booleanhasChild(de.willuhn.datasource.GenericObjectNode node)
-
-
-
Constructor Detail
-
UmsatzGroup
public UmsatzGroup(UmsatzTyp typ)
ct.- Parameters:
typ-
-
-
Method Detail
-
getUmsatzTyp
public UmsatzTyp getUmsatzTyp()
Liefert den zugehoerigen Umsatztyp.- Returns:
- der zugehoerige Umsatztyp.
-
add
public void add(Umsatz umsatz)
Fuegt der Gruppe einen neuen Umsatz hinzu.- Parameters:
umsatz-
-
getChildren
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException- Specified by:
getChildrenin interfacede.willuhn.datasource.GenericObjectNode- Throws:
java.rmi.RemoteException- See Also:
GenericObjectNode.getChildren()
-
getParent
public de.willuhn.datasource.GenericObjectNode getParent() throws java.rmi.RemoteException- Specified by:
getParentin interfacede.willuhn.datasource.GenericObjectNode- Throws:
java.rmi.RemoteException- See Also:
GenericObjectNode.getParent()
-
getPath
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException- Specified by:
getPathin interfacede.willuhn.datasource.GenericObjectNode- Throws:
java.rmi.RemoteException- See Also:
GenericObjectNode.getPath()
-
getPossibleParents
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException- Specified by:
getPossibleParentsin interfacede.willuhn.datasource.GenericObjectNode- Throws:
java.rmi.RemoteException- See Also:
GenericObjectNode.getPossibleParents()
-
hasChild
public boolean hasChild(de.willuhn.datasource.GenericObjectNode node) throws java.rmi.RemoteException- Specified by:
hasChildin interfacede.willuhn.datasource.GenericObjectNode- Throws:
java.rmi.RemoteException- See Also:
GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
-
equals
public boolean equals(de.willuhn.datasource.GenericObject other) throws java.rmi.RemoteException- Specified by:
equalsin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.equals(de.willuhn.datasource.GenericObject)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String arg0) throws java.rmi.RemoteException- Specified by:
getAttributein interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getAttribute(java.lang.String)
-
getAttributeNames
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException- Specified by:
getAttributeNamesin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getAttributeNames()
-
getID
public java.lang.String getID() throws java.rmi.RemoteException- Specified by:
getIDin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getID()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getPrimaryAttribute()
-
compareTo
public int compareTo(java.lang.Object o)
Implementiert, damit wir nach dem Feld "nummer" sortieren koennen.- Specified by:
compareToin interfacejava.lang.Comparable- See Also:
Comparable.compareTo(java.lang.Object)
-
-