fhm.edu.fem.calc.objects
Class Condition

java.lang.Object
  extended by fhm.edu.fem.calc.objects.Condition

public class Condition
extends java.lang.Object

Class Description: This class acts as container for a specific condition needed in a calculation

Author:
Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)

Field Summary
protected  Border border
           
protected  double value
           
 
Constructor Summary
Condition(Border border, double value)
          Construct a new condition
 
Method Summary
 Border getBorder()
           
 double getValue()
           
 java.lang.String toString()
          Implementation of the toString() method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

border

protected Border border

value

protected double value
Constructor Detail

Condition

public Condition(Border border,
                 double value)
Construct a new condition

Parameters:
borderID, - the ID of the border affected by this condition
value, - the value of the condition
Method Detail

getBorder

public Border getBorder()
Returns:
Returns the border.

getValue

public double getValue()
Returns:
Returns the value.

toString

public java.lang.String toString()
Implementation of the toString() method

Overrides:
toString in class java.lang.Object
Returns:
a string visualization of the element