fhm.edu.fem.calc.objects
Class Calculation
java.lang.Object
fhm.edu.fem.calc.objects.Calculation
public class Calculation
- extends java.lang.Object
Class Description:
This class acts as super container of a calculation holding the calculation's conditions
- Author:
- Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)
Constructor Summary |
Calculation(int id,
java.util.List<Condition> conditions)
Construct a new Calculation |
Method Summary |
java.util.List<Condition> |
getConditions()
Retrieve the conditions from this calculation |
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 |
conditions
protected java.util.List<Condition> conditions
id
protected int id
Calculation
public Calculation(int id,
java.util.List<Condition> conditions)
- Construct a new Calculation
- Parameters:
id,
- the ID number of the calculationconditions,
- the conditions this calculation needs
getConditions
public java.util.List<Condition> getConditions()
- Retrieve the conditions from this calculation
- Returns:
- the condition list
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