Rev 2143 | Rev 2153 | 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;public string status;public int level;public int treePos;public bool filtered;public string versionDateTime;public string difficulty;public string priority;public string version;public int numberOfRequirements;public int tag_enum;public int ea_element_ID;public ReqPro_object parent;// 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 = "";filtered = false;numberOfRequirements = 0;tag_enum = -1;ea_element_ID = -1;ReqPro_objects = new ArrayList();ReqPro_traces = new ArrayList();parent = null;}}}