package net.timbusproject
{
import mx.collections.ArrayCollection;
public class ProjectDataHolder
{
[Bindable] public static var currentUser:String;
[Bindable] public static var projectsAC:ArrayCollection;
[Bindable] public static var recomResourse:ArrayCollection;
[Bindable] public static var projectArtefcatsAC:ArrayCollection;
[Bindable] public static var bpAlternate:ArrayCollection;
[Bindable] public static var statusLiist:ArrayCollection;
[Bindable] public static var costResources:ArrayCollection;
[Bindable] public static var currentProjectID:String;
[Bindable] public static var projectName:String;
[Bindable] public static var projectDesc:String;
[Bindable] public static var ontologyExists:String;
[Bindable] public static var riskDocumentExists:String;
[Bindable] public static var statusObject:Object;
[Bindable] public static var statusTime:String;
[Bindable] public static var statusText:String;
[Bindable] public static var statusUser:String;
[Bindable] public static var OntologyUploaded:String;
[Bindable] public static var RiskDocUploaded:String;
[Bindable] public static var ProjectMetaData:ArrayCollection;
[Bindable] public static var artefactMetaData:ArrayCollection;
[Bindable] public static var artefactFixityData:ArrayCollection;
[Bindable] public static var packagedCtxModel:XML;
[Bindable] public static var repoStatus:ArrayCollection;
[Bindable] public static var repoInProgress:Object;
[Bindable] public static var vm_bootImages:ArrayCollection;
[Bindable] public static var vm_os_names:Array;
[Bindable] public static var vm_harddisk_format:Array;
[Bindable] public static var vm_cpu_types:Array;
[Bindable] public static var vm_network_bridge:Array;
[Bindable] public static var vm_network_device:Array;
[Bindable] public static var vm_config_summary:ArrayCollection;
[Bindable] public static var _costing:ArrayCollection;
[Bindable] public static var _cost_calc:ArrayCollection;
[Bindable] public static var usecase_name:ArrayCollection=
new ArrayCollection([{wp:9, label:"WP9eHealth"},
{wp:7, label:"OpensourceWorkFlow"},{wp:7, label:"Phaidra"},
{wp:8, label:"MathSim"}, {wp:8, label:"CADandCAM"}]);
[Bindable] public static var CtxModelNodesObj:Object;
[Bindable] public static var itemsComposedObj:Object
[Bindable] public static var softwareInfo:Object;
[Bindable] public static var hardwareInfo:Object;
[Bindable] public static var hwAttributes:Object;
[Bindable] public static var dependency:Object;
[Bindable] public static var sourceLoc:String
[Bindable] public static var redeployVMConfigs:Object;
public static var nodeName:String;
public static var currentCtxModelData:String;
public static var vvData:Object;
[Bindable] public static var show_cnv_cost_sw:Boolean=true;
[Bindable] public static var show_cnv_cost_display:Boolean=false;
[Bindable] public static var hideVVCVS:Boolean;
[Bindable] public static var hideNonVVCVS:Boolean;
public function ProjectDataHolder()
{
}
public static function clearProjectStatus():void{
currentProjectID=null;
projectName=null;
projectDesc=null;
statusObject=null;
statusTime=null;
statusText=null;
statusUser=null;
repoStatus = null;
repoInProgress = null;
_cost_calc=null;
_costing=null;
}
public static function switchProject(id:String, name:String):void{
currentProjectID=id;
projectName=name;
recomResourse=null;
projectArtefcatsAC=null;
ontologyExists="False";
riskDocumentExists="False";
statusObject=null;
repoStatus = null;
repoInProgress = null;
OntologyUploaded=null;
RiskDocUploaded=null;
ProjectMetaData=null;
artefactMetaData=null;
artefactFixityData=null;
bpAlternate=null;
costResources=null;
_cost_calc=null;
_costing=null;
itemsComposedObj=null;
CtxModelNodesObj=null;
softwareInfo=null;
hardwareInfo=null;
hwAttributes=null;
dependency=null;
sourceLoc=null;
//lst_dependencies=null;
}
}
}