Subversion Repositories DevTools

Rev

Rev 2151 | Rev 2155 | 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;
2153 ghuddy 30
      public string source;
31
      public string sourceVersion;
32
      public string sourceSection;
2141 ghuddy 33
 
34
      // a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
35
      // by adding objects (packages or requirements) to other objects, drilling down
36
      // as required.
37
      public ArrayList ReqPro_objects;
38
 
2151 ghuddy 39
      // a collection of traced-to objects.
2143 ghuddy 40
      public ArrayList ReqPro_traces;
41
 
2141 ghuddy 42
      /// <summary>
43
      /// Constructor logic
44
      /// </summary>
2151 ghuddy 45
      public ReqPro_object()
46
      {
2141 ghuddy 47
         isPackage = false;
48
         isRequirement = false;
49
         name = "";
50
         text = "";
51
         guid = "";
52
         tag = "";
2151 ghuddy 53
         status = "Approved";
2141 ghuddy 54
         versionDateTime = "";
55
         level = 0;
56
         treePos = 0;
2151 ghuddy 57
         difficulty = "Medium";
58
         priority = "Medium";
2141 ghuddy 59
         version = "";
2153 ghuddy 60
         source = null;
61
         sourceVersion = null;
62
         sourceSection = null;
2141 ghuddy 63
         filtered = false;
64
         numberOfRequirements = 0;
65
         tag_enum = -1;
2143 ghuddy 66
         ea_element_ID = -1;
2141 ghuddy 67
         ReqPro_objects = new ArrayList();
2143 ghuddy 68
         ReqPro_traces = new ArrayList();
69
         parent = null;
2153 ghuddy 70
 
2151 ghuddy 71
      }
72
   }
2141 ghuddy 73
}