<?php
/* Generated on 14.02.18 14:28 by globalsync
 * $Id: $
 * $Log: $
 */

require_once 'EbatNs_ComplexType.php';
require_once 'PictureManagerPictureDisplayType.php';

/**
  * This type is deprecated.  
  * 
 **/

class PictureManagerPictureType extends EbatNs_ComplexType
{
	/**
	* @var anyURI
	**/
	protected $PictureURL;

	/**
	* @var string
	**/
	protected $Name;

	/**
	* @var dateTime
	**/
	protected $Date;

	/**
	* @var PictureManagerPictureDisplayType
	**/
	protected $DisplayFormat;


	/**
	 * Class Constructor 
	 **/
	function __construct()
	{
		parent::__construct('PictureManagerPictureType', 'urn:ebay:apis:eBLBaseComponents');
		if (!isset(self::$_elements[__CLASS__]))
		{
			self::$_elements[__CLASS__] = array_merge(self::$_elements[get_parent_class(__CLASS__)],
			array(
				'PictureURL' =>
				array(
					'required' => false,
					'type' => 'anyURI',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'Name' =>
				array(
					'required' => false,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'Date' =>
				array(
					'required' => false,
					'type' => 'dateTime',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '0..1'
				),
				'DisplayFormat' =>
				array(
					'required' => false,
					'type' => 'PictureManagerPictureDisplayType',
					'nsURI' => 'urn:ebay:apis:eBLBaseComponents',
					'array' => true,
					'cardinality' => '0..*'
				)));
		}
		$this->_attributes = array_merge($this->_attributes,
		array(
));
	}

	/**
	 * @return anyURI
	 **/
	function getPictureURL()
	{
		return $this->PictureURL;
	}

	/**
	 * @return void
	 **/
	function setPictureURL($value)
	{
		$this->PictureURL = $value;
	}

	/**
	 * @return string
	 **/
	function getName()
	{
		return $this->Name;
	}

	/**
	 * @return void
	 **/
	function setName($value)
	{
		$this->Name = $value;
	}

	/**
	 * @return dateTime
	 **/
	function getDate()
	{
		return $this->Date;
	}

	/**
	 * @return void
	 **/
	function setDate($value)
	{
		$this->Date = $value;
	}

	/**
	 * @return PictureManagerPictureDisplayType
	 * @param integer $index 
	 **/
	function getDisplayFormat($index = null)
	{
		if ($index !== null)
		{
			return $this->DisplayFormat[$index];
		}
		else
		{
			return $this->DisplayFormat;
		}
	}

	/**
	 * @return void
	 * @param PictureManagerPictureDisplayType $value
	 * @param integer $index 
	 **/
	function setDisplayFormat($value, $index = null)
	{
		if ($index !== null)
		{
			$this->DisplayFormat[$index] = $value;
		}
		else
		{
			$this->DisplayFormat= $value;
		}
	}

	/**
	 * @return void
	 * @param PictureManagerPictureDisplayType $value
	 **/
	function addDisplayFormat($value)
	{
		$this->DisplayFormat[] = $value;
	}

}
?>
