/**
 * @author Matthew Foster
 * @date   October 24th 2007
 */

var Capsule = Class.create();

Object.extend(Object.extend(Capsule.prototype, EventDispatcher.prototype),
				{
					initialize : function(){
					
					},
					setData : function(obj){
						
						if(typeof obj != "array")
							this.dataset = [obj];
						else
							this.dataset = obj;
					
					},
					getData : function(){
						
						return this.dataset;
					
					},
					getLength : function(){
						
						return this.dataset.length;
						
					}
				
				}
			);