import java.util.List;\r
import java.util.SortedMap;\r
import java.util.TreeMap;\r
+import java.util.Vector;\r
\r
import org.apache.commons.logging.Log;\r
import org.apache.commons.logging.LogFactory;\r
private Long tid;\r
\r
private NumericTRId testResultId;\r
- private List<TestResultListener> listeners;\r
+ private List<TestResultListener> listeners = new Vector<TestResultListener>();\r
\r
private TreeSPath currentPath;\r
\r
\r
private SortedMap<TreeSPath, PartSubList> resultParts = new TreeMap<TreeSPath, PartSubList>();\r
\r
+ private StructureRegistry registry;\r
+ \r
public TestResultId getTestResultId() {\r
return testResultId;\r
}\r
\r
public void notifyCurrentPath(StructureRegistry registry, StructurePath path) {\r
currentPath = (TreeSPath) path;\r
+ this.registry = registry;\r
}\r
\r
public TreeSPath getCurrentPath() {\r
this.tid = tid;\r
}\r
\r
+ public StructureRegistry getRegistry() {\r
+ return registry;\r
+ }\r
+\r
+ public void setRegistry(StructureRegistry registry) {\r
+ this.registry = registry;\r
+ }\r
+\r
}\r