de.cau.cs.kieler.sim.kiem.automated.data
Class AbstractResult

java.lang.Object
  extended by de.cau.cs.kieler.sim.kiem.automated.data.AbstractResult
Direct Known Subclasses:
ComponentResult, IterationResult, ModelResult

public abstract class AbstractResult
extends Object

An abstract result. It has a list of resulting values and can have a list of children results to implement a tree structure.

Rating proposed yellow
(2010-01-29)

Field Summary
static String STATUS
          Identifier for the status of the execution.
 
Constructor Summary
AbstractResult()
           
 
Method Summary
 void addChild(AbstractResult child)
          Add a new child.
 void addResult(KiemProperty result)
          Add a new result.
 List<AbstractResult> getChildren()
          Getter for the list of children.
 List<KiemProperty> getResults()
          Getter for the list of results.
 void setResults(List<KiemProperty> resultsParam)
          Set the list of results.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS

public static final String STATUS
Identifier for the status of the execution.

See Also:
Constant Field Values
Constructor Detail

AbstractResult

public AbstractResult()
Method Detail

addChild

public void addChild(AbstractResult child)
Add a new child.

Parameters:
child - the child to add

getChildren

public List<AbstractResult> getChildren()
Getter for the list of children.

Returns:
the children

addResult

public void addResult(KiemProperty result)
Add a new result.

Parameters:
result - the result to add.

getResults

public List<KiemProperty> getResults()
Getter for the list of results.

Returns:
the results

setResults

public void setResults(List<KiemProperty> resultsParam)
Set the list of results.

Parameters:
resultsParam - the new list of results.

toString

public String toString()

Overrides:
toString in class Object