Class UmsatzGroup

java.lang.Object
de.willuhn.jameica.hbci.server.UmsatzGroup
All Implemented Interfaces:
de.willuhn.datasource.GenericObject, de.willuhn.datasource.GenericObjectNode, Comparable, Remote

public class UmsatzGroup extends Object implements de.willuhn.datasource.GenericObjectNode, Comparable
Hilfsklasse, um eine Gruppen von Umsaetzen samt Name als GenericObjectNode abzubilden.
  • Constructor Details

    • UmsatzGroup

      public UmsatzGroup(UmsatzTyp typ)
      ct.
      Parameters:
      typ -
  • Method Details

    • 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 RemoteException
      Specified by:
      getChildren in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getChildren()
    • getParent

      public de.willuhn.datasource.GenericObjectNode getParent() throws RemoteException
      Specified by:
      getParent in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getParent()
    • getPath

      public de.willuhn.datasource.GenericIterator getPath() throws RemoteException
      Specified by:
      getPath in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getPath()
    • getPossibleParents

      public de.willuhn.datasource.GenericIterator getPossibleParents() throws RemoteException
      Specified by:
      getPossibleParents in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.getPossibleParents()
    • hasChild

      public boolean hasChild(de.willuhn.datasource.GenericObjectNode node) throws RemoteException
      Specified by:
      hasChild in interface de.willuhn.datasource.GenericObjectNode
      Throws:
      RemoteException
      See Also:
      • GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
    • equals

      public boolean equals(de.willuhn.datasource.GenericObject other) throws RemoteException
      Specified by:
      equals in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.equals(de.willuhn.datasource.GenericObject)
    • getAttribute

      public Object getAttribute(String arg0) throws RemoteException
      Specified by:
      getAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttribute(java.lang.String)
    • getAttributeNames

      public String[] getAttributeNames() throws RemoteException
      Specified by:
      getAttributeNames in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttributeNames()
    • getID

      public String getID() throws RemoteException
      Specified by:
      getID in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getID()
    • getPrimaryAttribute

      public String getPrimaryAttribute() throws RemoteException
      Specified by:
      getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getPrimaryAttribute()
    • compareTo

      public int compareTo(Object o)
      Implementiert, damit wir nach dem Feld "nummer" sortieren koennen.
      Specified by:
      compareTo in interface Comparable
      See Also: