Package de.willuhn.jameica.hbci.server
Class UmsatzTypBean
- java.lang.Object
-
- de.willuhn.jameica.hbci.server.UmsatzTypBean
-
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject
,de.willuhn.datasource.GenericObjectNode
,java.rmi.Remote
public class UmsatzTypBean extends java.lang.Object implements de.willuhn.datasource.GenericObjectNode
Hilfsklasse zur formatierten Anzeige der Umsatz-Kategorien.
-
-
Constructor Summary
Constructors Constructor Description UmsatzTypBean(UmsatzTyp typ)
ct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(de.willuhn.datasource.GenericObject arg0)
java.lang.Object
getAttribute(java.lang.String arg0)
java.lang.String[]
getAttributeNames()
de.willuhn.datasource.GenericIterator
getChildren()
java.lang.String
getID()
java.lang.String
getIndented()
Liefert den formatierten Namen der Umsatzkategorie mit passender Einrueckung.int
getLevel()
Liefert das Level des Umsatzes in der Hierarchie.UmsatzTypBean
getParent()
Liefert das Eltern-Element oder NULL, wenn es ein Root-Element ist.de.willuhn.datasource.GenericIterator
getPath()
de.willuhn.datasource.GenericIterator
getPossibleParents()
java.lang.String
getPrimaryAttribute()
UmsatzTyp
getTyp()
Liefert den Umsatz-Typ.boolean
hasChild(de.willuhn.datasource.GenericObjectNode node)
-
-
-
Constructor Detail
-
UmsatzTypBean
public UmsatzTypBean(UmsatzTyp typ)
ct.- Parameters:
typ
-
-
-
Method Detail
-
getParent
public UmsatzTypBean getParent()
Liefert das Eltern-Element oder NULL, wenn es ein Root-Element ist.- Specified by:
getParent
in interfacede.willuhn.datasource.GenericObjectNode
- Returns:
- das Eltern-Element oder NULL, wenn es ein Root-Element ist.
-
getTyp
public UmsatzTyp getTyp()
Liefert den Umsatz-Typ.- Returns:
- typ der Umsatz-Typ.
-
getLevel
public int getLevel()
Liefert das Level des Umsatzes in der Hierarchie. Level 0 entspricht den Root-Elementen.- Returns:
- level das Level in der Hierarchie.
-
getIndented
public java.lang.String getIndented() throws java.rmi.RemoteException
Liefert den formatierten Namen der Umsatzkategorie mit passender Einrueckung.- Returns:
- der formatierte Name der Umsatzkategorie mit passender Einrueckung.
- Throws:
java.rmi.RemoteException
-
equals
public boolean equals(de.willuhn.datasource.GenericObject arg0) throws java.rmi.RemoteException
- Specified by:
equals
in 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:
getAttribute
in 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:
getAttributeNames
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getAttributeNames()
-
getID
public java.lang.String getID() throws java.rmi.RemoteException
- Specified by:
getID
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getID()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getPrimaryAttribute()
-
getChildren
public de.willuhn.datasource.GenericIterator getChildren() throws java.rmi.RemoteException
- Specified by:
getChildren
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
java.rmi.RemoteException
- See Also:
GenericObjectNode.getChildren()
-
getPath
public de.willuhn.datasource.GenericIterator getPath() throws java.rmi.RemoteException
- Specified by:
getPath
in 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:
getPossibleParents
in 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:
hasChild
in interfacede.willuhn.datasource.GenericObjectNode
- Throws:
java.rmi.RemoteException
- See Also:
GenericObjectNode.hasChild(de.willuhn.datasource.GenericObjectNode)
-
-