daten.BlattVerbindung Class Reference

List of all members.

Public Member Functions

 BlattVerbindung (BaumBlatt source, BaumBlatt target)
 BlattVerbindung (BaumBlatt source, BaumBlatt target, int value)
void setSource (BaumBlatt source)
void setTarget (BaumBlatt target)
void setValue (int value)
BaumBlatt getTarget ()
BaumBlatt getSource ()
int getValue ()


Detailed Description

this class represents the connection between two leaves providing getter and setter methods for the source, the target and the value it's a better implementation for the BlattVerbindungTemp class

Author:
clemens

johannes


Constructor & Destructor Documentation

daten.BlattVerbindung.BlattVerbindung ( BaumBlatt  source,
BaumBlatt  target 
)

constructor sets the source and the target

Parameters:
source leaf
target leaf

daten.BlattVerbindung.BlattVerbindung ( BaumBlatt  source,
BaumBlatt  target,
int  value 
)

constructor sets the source and target leafe and the value of the connection

Parameters:
source leaf
target leaf
value leaf


Member Function Documentation

void daten.BlattVerbindung.setSource ( BaumBlatt  source  ) 

sets the source leaf

Parameters:
source leaf

void daten.BlattVerbindung.setTarget ( BaumBlatt  target  ) 

sets the target leaf

Parameters:
target leaf

void daten.BlattVerbindung.setValue ( int  value  ) 

sets the value

Parameters:
value 

BaumBlatt daten.BlattVerbindung.getTarget (  ) 

returns the target leaf

Returns:
target leaf

BaumBlatt daten.BlattVerbindung.getSource (  ) 

returns the source leaf

Returns:
source leaf

int daten.BlattVerbindung.getValue (  ) 

returns the value of the connection

Returns:
value


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