<?php
namespace Goetas\XML\XSDReader\Schema\Element;

interface ElementSingle extends ElementItem
{

    /**
     * @return \Goetas\XML\XSDReader\Schema\Type\Type
     */
    public function getType();

    /**
     *
     * @return int
     */
    public function getMin();

    /**
     *
     * @param int $qualified
     */
    public function setMin($min);

    /**
     *
     * @return int
     */
    public function getMax();

    /**
     *
     * @param int $qualified
     */
    public function setMax($max);

    /**
     *
     * @return bool
     */
    public function isQualified();

    /**
     *
     * @param boolean $qualified
     */
    public function setQualified($qualified);

    /**
     *
     * @return bool
     */
    public function isNil();

    /**
     *
     * @param boolean $qualified
     */
    public function setNil($nil);
}
