<?php
// autogenerated file 26.07.2010 14:55
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';

/**
 * Data for one theme group. Returned for GetDescriptionTemplatesif theme groups 
 * are requested. 
 *
 * @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/ThemeGroupType.html
 *
 */
class ThemeGroupType extends EbatNs_ComplexType
{
	/**
	 * @var int
	 */
	protected $GroupID;
	/**
	 * @var string
	 */
	protected $GroupName;
	/**
	 * @var int
	 */
	protected $ThemeID;
	/**
	 * @var int
	 */
	protected $ThemeTotal;

	/**
	 * @return int
	 */
	function getGroupID()
	{
		return $this->GroupID;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setGroupID($value)
	{
		$this->GroupID = $value;
	}
	/**
	 * @return string
	 */
	function getGroupName()
	{
		return $this->GroupName;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setGroupName($value)
	{
		$this->GroupName = $value;
	}
	/**
	 * @return int
	 * @param integer $index 
	 */
	function getThemeID($index = null)
	{
		if ($index !== null) {
			return $this->ThemeID[$index];
		} else {
			return $this->ThemeID;
		}
	}
	/**
	 * @return void
	 * @param int $value 
	 * @param  $index 
	 */
	function setThemeID($value, $index = null)
	{
		if ($index !== null) {
			$this->ThemeID[$index] = $value;
		} else {
			$this->ThemeID = $value;
		}
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function addThemeID($value)
	{
		$this->ThemeID[] = $value;
	}
	/**
	 * @return int
	 */
	function getThemeTotal()
	{
		return $this->ThemeTotal;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setThemeTotal($value)
	{
		$this->ThemeTotal = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('ThemeGroupType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
				self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class()],
				array(
					'GroupID' =>
					array(
						'required' => false,
						'type' => 'int',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'GroupName' =>
					array(
						'required' => false,
						'type' => 'string',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					),
					'ThemeID' =>
					array(
						'required' => false,
						'type' => 'int',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => true,
						'cardinality' => '0..*'
					),
					'ThemeTotal' =>
					array(
						'required' => false,
						'type' => 'int',
						'nsURI' => 'http://www.w3.org/2001/XMLSchema',
						'array' => false,
						'cardinality' => '0..1'
					)
				));
	}
}
?>
