2006/unicorn/src/org/w3c/unicorn/tasklist TaskListUnmarshallerBeans.java,1.3,1.4 Task.java,1.2,1.3

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist
In directory hutz:/tmp/cvs-serv6876/src/org/w3c/unicorn/tasklist

Modified Files:
	TaskListUnmarshallerBeans.java Task.java 
Log Message:
implemented the output element of the tasklist. Observations will be displayed in the right order.

Index: TaskListUnmarshallerBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/TaskListUnmarshallerBeans.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- TaskListUnmarshallerBeans.java	28 Aug 2009 16:11:41 -0000	1.3
+++ TaskListUnmarshallerBeans.java	2 Sep 2009 13:50:54 -0000	1.4
@@ -91,7 +91,10 @@
 		// Create the execution level tree
 		aTaskCurrent.setID(aTask.getId());
 		aTaskCurrent.setTree(this.expandTree(aTask, aTask.getRoutine()));
-
+		
+		// Add the OutputList
+		aTaskCurrent.setOutputList(aTask.getOutput().getObservationList());
+		
 		// parameters
 		final ParametersType aParameters = aTask.getParameters();
 		if (aParameters != null) {

Index: Task.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/Task.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Task.java	28 Aug 2009 12:39:54 -0000	1.2
+++ Task.java	2 Sep 2009 13:50:54 -0000	1.3
@@ -56,6 +56,8 @@
 	 */
 	private TLTNode root;
 
+	private List<String> listOfOutput;
+
 	/**
 	 * Creates a new Task.
 	 */
@@ -415,4 +417,14 @@
 		return aStringBuffer.toString();
 	}
 
+	public void setOutputList(List<String> observationList) {
+		this.listOfOutput = observationList;
+	}
+
+	public List<String> getListOfOutput() {
+		return listOfOutput;
+	}
+	
+	
+
 }

Received on Wednesday, 2 September 2009 13:51:06 UTC