<?php
// autogenerated file 05.05.2008 16:30
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
require_once 'EbatNsCsSetExt_RowType.php';

/**
 *  
 *
 *
 */
class EbatNsCsSetExt_InitialType extends EbatNs_ComplexType
{
	/**
	 * @var EbatNsCsSetExt_RowType
	 */
	protected $Row;

	/**
	 * @return EbatNsCsSetExt_RowType
	 * @param integer $index 
	 */
	function getRow($index = null)
	{
		if ($index !== null) {
			return $this->Row[$index];
		} else {
			return $this->Row;
		}
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_RowType $value 
	 * @param  $index 
	 */
	function setRow($value, $index = null)
	{
		if ($index !== null) {
			$this->Row[$index] = $value;
		} else {
			$this->Row = $value;
		}
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_RowType $value 
	 */
	function addRow($value)
	{
		$this->Row[] = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('EbatNsCsSetExt_InitialType', 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd');
		$this->_elements = array_merge($this->_elements,
			array(
				'Row' =>
				array(
					'required' => false,
					'type' => 'EbatNsCsSetExt_RowType',
					'nsURI' => 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd',
					'array' => true,
					'cardinality' => '0..*'
				)
			));

	}
}
?>
