Subversion Repositories DevTools

Rev

Rev 2143 | Rev 2153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2143 Rev 2151
Line 1... Line 1...
1
using System;
1
using System;
2
using System.Collections;
2
using System.Collections;
3
 
3
 
4
namespace EA_ReqPro
4
namespace EA_ReqPro
5
{
5
{
6
	/// <summary>
6
   /// <summary>
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
      public bool isPackage;
12
      public bool isPackage;
13
      public bool isRequirement;
13
      public bool isRequirement;
14
      public string name;
14
      public string name;
15
      public string text;
15
      public string text;
16
      public string guid;
16
      public string guid;
Line 31... Line 31...
31
      // a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
31
      // a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
32
      // by adding objects (packages or requirements) to other objects, drilling down
32
      // by adding objects (packages or requirements) to other objects, drilling down
33
      // as required.
33
      // as required.
34
      public ArrayList ReqPro_objects;
34
      public ArrayList ReqPro_objects;
35
 
35
 
36
      // a collection of traced-to objects. 
36
      // a collection of traced-to objects.
37
      public ArrayList ReqPro_traces;
37
      public ArrayList ReqPro_traces;
38
 
38
 
39
      /// <summary>
39
      /// <summary>
40
      /// Constructor logic
40
      /// Constructor logic
41
      /// </summary>
41
      /// </summary>
42
		public ReqPro_object()
42
      public ReqPro_object()
43
		{
43
      {
44
         isPackage = false;
44
         isPackage = false;
45
         isRequirement = false;
45
         isRequirement = false;
46
         name = "";
46
         name = "";
47
         text = "";
47
         text = "";
48
         guid = "";
48
         guid = "";
49
         tag = "";
49
         tag = "";
50
         status = "";
50
         status = "Approved";
51
         versionDateTime = "";
51
         versionDateTime = "";
52
         level = 0;
52
         level = 0;
53
         treePos = 0;
53
         treePos = 0;
54
         difficulty = "";
54
         difficulty = "Medium";
55
         priority = "";
55
         priority = "Medium";
56
         version = "";
56
         version = "";
57
         filtered = false;
57
         filtered = false;
58
         numberOfRequirements = 0;
58
         numberOfRequirements = 0;
59
         tag_enum = -1;
59
         tag_enum = -1;
60
         ea_element_ID = -1;
60
         ea_element_ID = -1;
61
         ReqPro_objects = new ArrayList();
61
         ReqPro_objects = new ArrayList();
62
         ReqPro_traces = new ArrayList();
62
         ReqPro_traces = new ArrayList();
63
         parent = null;
63
         parent = null;
64
		}
64
      }
65
 
-
 
66
 
-
 
67
	}
65
   }
68
}
66
}