<?php
// autogenerated file 05.05.2008 16:30
// $Id: EbatNsCsSetExt_CharacteristicsSetType.php,v 1.2 2013-04-05 11:15:58 thomasbiniasch Exp $
// $Log: EbatNsCsSetExt_CharacteristicsSetType.php,v $
// Revision 1.2  2013-04-05 11:15:58  thomasbiniasch
// bugfixes and template updates, first running version milestone!
//
//
//
require_once 'EbatNsCsSetExt_CharacteristicsListType.php';
require_once 'EbatNsCsSetExt_PresentationInstructionType.php';
require_once 'EbatNs_ComplexType.php';
require_once 'EbatNsCsSetExt_CharacteristicType.php';

/**
 *  
 *
 *
 */
class EbatNsCsSetExt_CharacteristicsSetType extends EbatNs_ComplexType
{
	/**
	 * @var string
	 */
	protected $Name;
	/**
	 * @var int
	 */
	protected $AttributeSetID;
	/**
	 * @var string
	 */
	protected $AttributeSetVersion;
	/**
	 * @var EbatNsCsSetExt_CharacteristicType
	 */
	protected $Characteristics;
	/**
	 * @var string
	 */
	protected $DomainName;
	/**
	 * @var EbatNsCsSetExt_CharacteristicsListType
	 */
	protected $CharacteristicsList;
	/**
	 * @var EbatNsCsSetExt_PresentationInstructionType
	 */
	protected $PresentationInstruction;

	/**
	 * @return string
	 */
	function getName()
	{
		return $this->Name;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setName($value)
	{
		$this->Name = $value;
	}
	/**
	 * @return int
	 */
	function getAttributeSetID()
	{
		return $this->AttributeSetID;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setAttributeSetID($value)
	{
		$this->AttributeSetID = $value;
	}
	/**
	 * @return string
	 */
	function getAttributeSetVersion()
	{
		return $this->AttributeSetVersion;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setAttributeSetVersion($value)
	{
		$this->AttributeSetVersion = $value;
	}
	/**
	 * @return EbatNsCsSetExt_CharacteristicType
	 * @param integer $index 
	 */
	function getCharacteristics($index = null)
	{
		if ($index !== null) {
			return $this->Characteristics[$index];
		} else {
			return $this->Characteristics;
		}
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_CharacteristicType $value 
	 * @param  $index 
	 */
	function setCharacteristics($value, $index = null)
	{
		if ($index !== null) {
			$this->Characteristics[$index] = $value;
		} else {
			$this->Characteristics = $value;
		}
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_CharacteristicType $value 
	 */
	function addCharacteristics($value)
	{
		$this->Characteristics[] = $value;
	}
	/**
	 * @return string
	 */
	function getDomainName()
	{
		return $this->DomainName;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setDomainName($value)
	{
		$this->DomainName = $value;
	}
	/**
	 * @return EbatNsCsSetExt_CharacteristicsListType
	 */
	function getCharacteristicsList()
	{
		return $this->CharacteristicsList;
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_CharacteristicsListType $value 
	 */
	function setCharacteristicsList($value)
	{
		$this->CharacteristicsList = $value;
	}
	/**
	 * @return EbatNsCsSetExt_PresentationInstructionType
	 */
	function getPresentationInstruction()
	{
		return $this->PresentationInstruction;
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_PresentationInstructionType $value 
	 */
	function setPresentationInstruction($value)
	{
		$this->PresentationInstruction = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('EbatNsCsSetExt_CharacteristicsSetType', 'http://www.w3.org/2001/XMLSchema');
		$this->_elements = array_merge($this->_elements,
			array(
				'Name' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'AttributeSetID' =>
				array(
					'required' => false,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'AttributeSetVersion' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'Characteristics' =>
				array(
					'required' => false,
					'type' => 'EbatNsCsSetExt_CharacteristicType',
					'nsURI' => 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd',
					'array' => true,
					'cardinality' => '0..*'
				),
				'DomainName' =>
				array(
					'required' => true,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '1..1'
				),
				'CharacteristicsList' =>
				array(
					'required' => true,
					'type' => 'EbatNsCsSetExt_CharacteristicsListType',
					'nsURI' => 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd',
					'array' => false,
					'cardinality' => '1..1'
				),
				'PresentationInstruction' =>
				array(
					'required' => false,
					'type' => 'EbatNsCsSetExt_PresentationInstructionType',
					'nsURI' => 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd',
					'array' => false,
					'cardinality' => '0..1'
				)
			));
	$this->_attributes = array_merge($this->_attributes,
		array(
			'id' =>
			array(
				'name' => 'id',
				'type' => 'int',
				'use' => 'required'
			),
			'order' =>
			array(
				'name' => 'order',
				'type' => 'int',
				'use' => 'required'
			),
			'type' =>
			array(
				'name' => 'type',
				'type' => 'string',
				'use' => 'required'
			)
		));

	}
}
?>
