]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/tree/PartSubList.java
113ef48bbfd9a08d087dfd27851a35e6b2a34acd
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / tree / PartSubList.java
1 package org.argeo.slc.core.test.tree;
2
3 import java.util.List;
4 import java.util.Vector;
5
6 import org.argeo.slc.core.test.TestResultPart;
7
8 /**
9 * List of <code>TestResultPart</code>. It can be used to build complex
10 * <code>TestResult</code> affording the possibility to a
11 * <code>TestDefinition</code> to add a list of result part under the same
12 * <code>StructurePath</code>.
13 *
14 * @see TreeTestResult
15 */
16 public class PartSubList {
17
18 /** For ORM */
19 private Long tid;
20
21 private List<TestResultPart> parts = new Vector<TestResultPart>();
22
23 /** Gets the result parts. */
24 public List<TestResultPart> getParts() {
25 return parts;
26 }
27
28 /** Sets the result parts. */
29 public void setParts(List<TestResultPart> parts) {
30 this.parts = parts;
31 }
32
33 Long getTid() {
34 return tid;
35 }
36
37 void setTid(Long tid) {
38 this.tid = tid;
39 }
40
41 }