Subversion Repositories DevTools

Rev

Rev 2143 | Rev 2153 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2141 ghuddy 1
using System;
2
using System.Collections;
3
 
4
namespace EA_ReqPro
5
{
2151 ghuddy 6
   /// <summary>
2141 ghuddy 7
   /// This class captures all the data of a ReqPro object that we need with a view to creating
2151 ghuddy 8
   /// a representation of that object in an EA database.
9
   /// </summary>
10
   public class ReqPro_object
11
   {
2141 ghuddy 12
      public bool isPackage;
13
      public bool isRequirement;
14
      public string name;
15
      public string text;
16
      public string guid;
17
      public string tag;
18
      public string status;
19
      public int level;
20
      public int treePos;
21
      public bool filtered;
22
      public string versionDateTime;
23
      public string difficulty;
24
      public string priority;
25
      public string version;
26
      public int numberOfRequirements;
27
      public int tag_enum;
2143 ghuddy 28
      public int ea_element_ID;
29
      public ReqPro_object parent;
2141 ghuddy 30
 
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
33
      // as required.
34
      public ArrayList ReqPro_objects;
35
 
2151 ghuddy 36
      // a collection of traced-to objects.
2143 ghuddy 37
      public ArrayList ReqPro_traces;
38
 
2141 ghuddy 39
      /// <summary>
40
      /// Constructor logic
41
      /// </summary>
2151 ghuddy 42
      public ReqPro_object()
43
      {
2141 ghuddy 44
         isPackage = false;
45
         isRequirement = false;
46
         name = "";
47
         text = "";
48
         guid = "";
49
         tag = "";
2151 ghuddy 50
         status = "Approved";
2141 ghuddy 51
         versionDateTime = "";
52
         level = 0;
53
         treePos = 0;
2151 ghuddy 54
         difficulty = "Medium";
55
         priority = "Medium";
2141 ghuddy 56
         version = "";
57
         filtered = false;
58
         numberOfRequirements = 0;
59
         tag_enum = -1;
2143 ghuddy 60
         ea_element_ID = -1;
2141 ghuddy 61
         ReqPro_objects = new ArrayList();
2143 ghuddy 62
         ReqPro_traces = new ArrayList();
63
         parent = null;
2151 ghuddy 64
      }
65
   }
2141 ghuddy 66
}