| Line 7... |
Line 7... |
| 7 |
/// This class captures all the data of a ReqPro object that we need with a view to creating
|
7 |
/// This class captures all the data of a ReqPro object that we need with a view to creating
|
| 8 |
/// a representation of that object in an EA database.
|
8 |
/// a representation of that object in an EA database.
|
| 9 |
/// </summary>
|
9 |
/// </summary>
|
| 10 |
public class ReqPro_object
|
10 |
public class ReqPro_object
|
| 11 |
{
|
11 |
{
|
| - |
|
12 |
// mutually exclusive state vars (only one can be true in any given object).
|
| 12 |
public bool isPackage;
|
13 |
public bool isPackage;
|
| 13 |
public bool isRequirement;
|
14 |
public bool isRequirement;
|
| - |
|
15 |
|
| - |
|
16 |
// attributes captured from the ReqPro database
|
| 14 |
public string name;
|
17 |
public string name; // Short name of the object
|
| 15 |
public string text;
|
18 |
public string text; // Description of the object
|
| 16 |
public string guid;
|
19 |
public string guid; // GUID of the object in the ReqPro database
|
| 17 |
public string tag; // eg. CR23, SPR1, SPR2.5, etc
|
20 |
public string tag; // eg. CR23, SPR1, SPR2.5, etc
|
| - |
|
21 |
public int tag_enum; // enum version of
|
| 18 |
public string status; // eg Approved, Proposed, etc
|
22 |
public string status; // eg Approved, Proposed, etc
|
| 19 |
public string subsystem;
|
23 |
public string subsystem;
|
| 20 |
public string stability;
|
24 |
public string stability;
|
| 21 |
public int level;
|
25 |
public string source;
|
| 22 |
public int treePos;
|
26 |
public string sourceVersion;
|
| 23 |
public bool filtered;
|
27 |
public string sourceSection;
|
| 24 |
public string versionDateTime;
|
28 |
public string versionDateTime;
|
| 25 |
public string difficulty;
|
29 |
public string difficulty;
|
| 26 |
public string priority;
|
30 |
public string priority;
|
| 27 |
public string version; // to be deprecated
|
31 |
public string version; // to be deprecated
|
| - |
|
32 |
public string type; // eg. functional, performance, non-functional, etc
|
| - |
|
33 |
public int iKey; // Allows us to query ReqPro database effeciently
|
| - |
|
34 |
|
| - |
|
35 |
// parser control variables
|
| - |
|
36 |
public int level; // controls depth ordering in EA
|
| - |
|
37 |
public int treePos; // controls display ordering in EA
|
| - |
|
38 |
public int ea_element_ID; // ID of the EA representation of the ReqPro object once it has been written into the EA database
|
| 28 |
public int numberOfRequirements;
|
39 |
public int numberOfRequirements;
|
| 29 |
public int tag_enum;
|
- |
|
| 30 |
public int ea_element_ID;
|
- |
|
| 31 |
public ReqPro_object parent;
|
- |
|
| 32 |
public string source;
|
- |
|
| 33 |
public string sourceVersion;
|
- |
|
| 34 |
public string sourceSection;
|
- |
|
| 35 |
public int iKey;
|
- |
|
| 36 |
public string type; // eg. functional, performance, non-functional, etc
|
- |
|
| 37 |
|
40 |
|
| - |
|
41 |
// filter control variables
|
| - |
|
42 |
public bool filtered;
|
| - |
|
43 |
|
| - |
|
44 |
// Relationship modelling variables
|
| - |
|
45 |
public ReqPro_object parent; // allows us to look upwards
|
| - |
|
46 |
|
| 38 |
// a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
|
47 |
// a collection of sub-objects - this is how we can reflect the ReqPro parent-child hierarchy,
|
| 39 |
// by adding objects (packages or requirements) to other objects, drilling down
|
48 |
// by adding objects (packages or requirements) to other objects, drilling down
|
| 40 |
// as required.
|
49 |
// as required.
|
| 41 |
public ArrayList ReqPro_objects;
|
50 |
public ArrayList ReqPro_objects;
|
| 42 |
|
51 |
|
| - |
|
52 |
// a collection of traced-to objects. This captures the explicit traces-to relationships we find in
|
| 43 |
// a collection of traced-to objects.
|
53 |
// the ReqPro database
|
| 44 |
public ArrayList ReqPro_traces;
|
54 |
public ArrayList ReqPro_traces;
|
| 45 |
|
55 |
|
| 46 |
/// <summary>
|
56 |
/// <summary>
|
| 47 |
/// Constructor logic
|
57 |
/// Constructor logic
|
| 48 |
/// </summary>
|
58 |
/// </summary>
|