//generated Class PsychoFactory
// Do not edit outside marked user editing areas (UEA)


//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq2(ZK[(dgo
//RCS-generated log goes here. Do not edit this UEA
//$Log: PsychoFactory.js,v $
//Revision 1.1  2003-04-16 14:59:12+02  bh
//<>
//
//Revision 1.0  2001-06-06 09:47:32+02  bh
//Initial revision
//
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq2(ZK[(dgo


/*
* .<!>
*<P>
*@author $Author: bh $.<!>
*@version $Revision: 1.1 $
*/
//static attributes
	var PsychoFactory_thePsychoFactory =  0;

//designed operations
	function PsychoFactory_get ( thatName) {

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(om|( bi~i&difo&[|zafo!
		var foundItem = 0;
		for(var idx=0; idx < this.theNamedItems.length; idx++) {
			if(this.theNamedItems[idx].getName() == thatName) foundItem = this.theNamedItems[idx];
		}
		return foundItem;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(om|( bi~i&difo&[|zafo!
	}

	function PsychoFactory_add ( thatItem) {

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(ill( lm&mpxmz|mie&j}dd{`a|&FiemlA|me!
		var oldLength = this.theNamedItems.length;
		this.theNamedItems[oldLength] = thatItem;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(ill( lm&mpxmz|mie&j}dd{`a|&FiemlA|me!
	}

	function PsychoFactory_getFactory () {

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(om|Nik|gzq( !
		if(PsychoFactory_thePsychoFactory == 0) {
			PsychoFactory_thePsychoFactory = new PsychoFactory();
		}
		return PsychoFactory_thePsychoFactory;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzq(om|Nik|gzq( !
	}

//constructor
	function PsychoFactory() {
//methods
		this.get = PsychoFactory_get;
		this.add = PsychoFactory_add;
//associations
		this.theNamedItems = new Array();
//attributes

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzqWKgf{|z}k|gz
//replace this line with your own operation code
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&X{qk`gNik|gzqWKgf{|z}k|gz
	}