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.Comparable
Constructor | Description |
---|---|
UmsatzGroup(UmsatzTyp typ) |
ct.
|
Modifier and Type | Method | Description |
---|---|---|
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() |
|
UmsatzTyp |
getUmsatzTyp() |
Liefert den zugehoerigen Umsatztyp.
|
boolean |
hasChild(de.willuhn.datasource.GenericObjectNode node) |
public UmsatzGroup(UmsatzTyp typ)
typ
- public UmsatzTyp getUmsatzTyp()
public void add(Umsatz umsatz)
umsatz
- public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException
getChildren
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getChildren()
public de.willuhn.datasource.GenericObjectNode getParent() throws java.rmi.RemoteException
getParent
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getParent()
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException
getPath
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPath()
public de.willuhn.datasource.GenericIterator getPossibleParents() throws java.rmi.RemoteException
getPossibleParents
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.getPossibleParents()
public boolean hasChild(de.willuhn.datasource.GenericObjectNode node) throws java.rmi.RemoteException
hasChild
in interface de.willuhn.datasource.GenericObjectNode
java.rmi.RemoteException
GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
public boolean equals(de.willuhn.datasource.GenericObject other) throws java.rmi.RemoteException
equals
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.equals(de.willuhn.datasource.GenericObject)
public java.lang.Object getAttribute(java.lang.String arg0) throws java.rmi.RemoteException
getAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getAttribute(java.lang.String)
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException
getAttributeNames
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getAttributeNames()
public java.lang.String getID() throws java.rmi.RemoteException
getID
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getID()
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
getPrimaryAttribute
in interface de.willuhn.datasource.GenericObject
java.rmi.RemoteException
GenericObject.getPrimaryAttribute()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)