Subversion Repositories DevTools

Rev

Rev 2153 | Rev 2167 | 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;
2155 ghuddy 17
      public string tag;         // eg. CR23, SPR1, SPR2.5, etc
18
      public string status;      // eg Approved, Proposed, etc
19
      public string subsystem;   
20
      public string stability;
2141 ghuddy 21
      public int level;
22
      public int treePos;
23
      public bool filtered;
24
      public string versionDateTime;
25
      public string difficulty;
26
      public string priority;
2155 ghuddy 27
      public string version;     // to be deprecated
2141 ghuddy 28
      public int numberOfRequirements;
29
      public int tag_enum;
2143 ghuddy 30
      public int ea_element_ID;
31
      public ReqPro_object parent;
2153 ghuddy 32
      public string source;
33
      public string sourceVersion;
34
      public string sourceSection;
2155 ghuddy 35
      public int iKey;
36
      public string type;  // eg. functional, performance, non-functional, etc
2141 ghuddy 37
 
38
      // a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
39
      // by adding objects (packages or requirements) to other objects, drilling down
40
      // as required.
41
      public ArrayList ReqPro_objects;
42
 
2151 ghuddy 43
      // a collection of traced-to objects.
2143 ghuddy 44
      public ArrayList ReqPro_traces;
45
 
2141 ghuddy 46
      /// <summary>
47
      /// Constructor logic
48
      /// </summary>
2151 ghuddy 49
      public ReqPro_object()
50
      {
2141 ghuddy 51
         isPackage = false;
52
         isRequirement = false;
53
         name = "";
54
         text = "";
55
         guid = "";
56
         tag = "";
2151 ghuddy 57
         status = "Approved";
2141 ghuddy 58
         versionDateTime = "";
59
         level = 0;
60
         treePos = 0;
2151 ghuddy 61
         difficulty = "Medium";
62
         priority = "Medium";
2141 ghuddy 63
         version = "";
2155 ghuddy 64
         source = "";
65
         sourceVersion = "";
66
         sourceSection = "";
2141 ghuddy 67
         filtered = false;
68
         numberOfRequirements = 0;
69
         tag_enum = -1;
2143 ghuddy 70
         ea_element_ID = -1;
2141 ghuddy 71
         ReqPro_objects = new ArrayList();
2143 ghuddy 72
         ReqPro_traces = new ArrayList();
73
         parent = null;
2155 ghuddy 74
         iKey = -1;
75
         subsystem = "";
76
         stability = "";
77
         type = "";
2151 ghuddy 78
      }
79
   }
2141 ghuddy 80
}