﻿package com.adobe.captivate.widgets
{
	/**
		* This class describes the properties of the random pool
		
		* @see CPMovieHandle#getCPQuestionPoolProperties
	*/
	public class CPQuestionPoolProperties
	{
		/**
     		* @private
     	*/
		public function CPQuestionPoolProperties(aPoolName:String="",aNumSurveyQuestions:int =0,aNumGradedQuestions:int =0)
		{
			this._poolName = aPoolName;
			this._NumSurveyQuestions = aNumSurveyQuestions;
			this._NumGradedQuestions = aNumGradedQuestions;
		}
		/**
     		* @private
     	*/
		private var _NumSurveyQuestions:int;
		
		/**
     		* @private
     	*/
		private var _NumGradedQuestions:int;

		/**
     		* This function returns the number of survey questions in the question pool.
			* @return A Number indicating the number of survey questions in the pool 
		*/
		public function get numSurveyQuestions():int
		{
			return _NumSurveyQuestions;
		}
		
		/**
     		* This function returns the number of graded questions in the question pool.
			* @return A Number indicating the number of graded questions in the pool 
		*/
		public function get numGradedQuestions():int
		{
			return _NumGradedQuestions;
		}

		/**
     		* @private
     		*/
		private var _poolName:String;
		
		/**
     		* This function returns the name of the pool. 
			* @return A String indicating the name of the pool
		*/
		public function get poolName():String
		{
			return _poolName;
		}
	}
}
