daten.BaumBlatt Class Reference

Inheritance diagram for daten.BaumBlatt:

daten.BaumKnoten

List of all members.

Public Member Functions

 BaumBlatt (int ID, String name)
BlattVerbindung addConnection (BaumBlatt connector, int value)
Vector< BlattVerbindunggetConnections ()
void setName (String name)
String getName ()


Detailed Description

this class extends the baumknoten for some functions on the leaf especially the connections logic is added

Author:
clemens

johannes


Constructor & Destructor Documentation

daten.BaumBlatt.BaumBlatt ( int  ID,
String  name 
)

calls the constructor of the knoten with the id and sets the name inits the connections

Parameters:
ID 
name 


Member Function Documentation

BlattVerbindung daten.BaumBlatt.addConnection ( BaumBlatt  connector,
int  value 
)

adds a connection to the leaf

Parameters:
connector the other leaf
value 
Returns:
connection

Vector<BlattVerbindung> daten.BaumBlatt.getConnections (  ) 

returns all the connections added to this leaf

Returns:
all the connections

void daten.BaumBlatt.setName ( String  name  ) 

sets the name of the leaf

Parameters:
name 

String daten.BaumBlatt.getName (  ) 

returns the name of the leaf

Returns:
name


The documentation for this class was generated from the following file: