Subversion Repositories DevTools

Rev

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

using System;
using System.Collections;

namespace EA_ReqPro
{
   /// <summary>
   /// This class captures all the data of a ReqPro object that we need with a view to creating
   /// a representation of that object in an EA database.
   /// </summary>
   public class ReqPro_object
   {
      public bool isPackage;
      public bool isRequirement;
      public string name;
      public string text;
      public string guid;
      public string tag;         // eg. CR23, SPR1, SPR2.5, etc
      public string status;      // eg Approved, Proposed, etc
      public string subsystem;   
      public string stability;
      public int level;
      public int treePos;
      public bool filtered;
      public string versionDateTime;
      public string difficulty;
      public string priority;
      public string version;     // to be deprecated
      public int numberOfRequirements;
      public int tag_enum;
      public int ea_element_ID;
      public ReqPro_object parent;
      public string source;
      public string sourceVersion;
      public string sourceSection;
      public int iKey;
      public string type;  // eg. functional, performance, non-functional, etc

      // a collection of sub-objects - this is how we can reflect the ReqPro hierarchy,
      // by adding objects (packages or requirements) to other objects, drilling down
      // as required.
      public ArrayList ReqPro_objects;

      // a collection of traced-to objects.
      public ArrayList ReqPro_traces;

      /// <summary>
      /// Constructor logic
      /// </summary>
      public ReqPro_object()
      {
         isPackage = false;
         isRequirement = false;
         name = "";
         text = "";
         guid = "";
         tag = "";
         status = "Approved";
         versionDateTime = "";
         level = 0;
         treePos = 0;
         difficulty = "Medium";
         priority = "Medium";
         version = "";
         source = "";
         sourceVersion = "";
         sourceSection = "";
         filtered = false;
         numberOfRequirements = 0;
         tag_enum = -1;
         ea_element_ID = -1;
         ReqPro_objects = new ArrayList();
         ReqPro_traces = new ArrayList();
         parent = null;
         iKey = -1;
         subsystem = "";
         stability = "";
         type = "";
      }
   }
}