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

/**
 *  
 *
 *
 */
class EbatNsCsSetExt_ValidationRuleType extends EbatNs_ComplexType
{
	/**
	 * @var EbatNsCsSetExt_ValType
	 */
	protected $Value;
	/**
	 * @var int
	 */
	protected $Length;
	/**
	 * @var string
	 */
	protected $Name;
	/**
	 * @var int
	 */
	protected $Max;
	/**
	 * @var int
	 */
	protected $Min;

	/**
	 * @return EbatNsCsSetExt_ValType
	 */
	function getValue()
	{
		return $this->Value;
	}
	/**
	 * @return void
	 * @param EbatNsCsSetExt_ValType $value 
	 */
	function setValue($value)
	{
		$this->Value = $value;
	}
	/**
	 * @return int
	 */
	function getLength()
	{
		return $this->Length;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setLength($value)
	{
		$this->Length = $value;
	}
	/**
	 * @return string
	 */
	function getName()
	{
		return $this->Name;
	}
	/**
	 * @return void
	 * @param string $value 
	 */
	function setName($value)
	{
		$this->Name = $value;
	}
	/**
	 * @return int
	 */
	function getMax()
	{
		return $this->Max;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setMax($value)
	{
		$this->Max = $value;
	}
	/**
	 * @return int
	 */
	function getMin()
	{
		return $this->Min;
	}
	/**
	 * @return void
	 * @param int $value 
	 */
	function setMin($value)
	{
		$this->Min = $value;
	}
	/**
	 * @return 
	 */
	function __construct()
	{
		parent::__construct('EbatNsCsSetExt_ValidationRuleType', 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd');
		$this->_elements = array_merge($this->_elements,
			array(
				'Value' =>
				array(
					'required' => true,
					'type' => 'EbatNsCsSetExt_ValType',
					'nsURI' => 'http://www.intradesys.com/Schemas/ebay/AttributeData_Extension.xsd',
					'array' => false,
					'cardinality' => '1..1'
				),
				'Length' =>
				array(
					'required' => true,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '1..1'
				),
				'Name' =>
				array(
					'required' => true,
					'type' => 'string',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '1..1'
				),
				'Max' =>
				array(
					'required' => true,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '1..1'
				),
				'Min' =>
				array(
					'required' => true,
					'type' => 'int',
					'nsURI' => 'http://www.w3.org/2001/XMLSchema',
					'array' => false,
					'cardinality' => '1..1'
				)
			));

	}
}
?>
