<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for RelativeTimeType EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:RelativeTimeType
 * @subpackage Enumerations
 */
class RelativeTimeType extends AbstractStructEnumBase
{
    /**
     * Constant for value 'BeforeReferenceStarts'
     * @return string 'BeforeReferenceStarts'
     */
    const VALUE_BEFORE_REFERENCE_STARTS = 'BeforeReferenceStarts';
    /**
     * Constant for value 'AfterReferenceStarts'
     * @return string 'AfterReferenceStarts'
     */
    const VALUE_AFTER_REFERENCE_STARTS = 'AfterReferenceStarts';
    /**
     * Constant for value 'BeforeReferenceEnds'
     * @return string 'BeforeReferenceEnds'
     */
    const VALUE_BEFORE_REFERENCE_ENDS = 'BeforeReferenceEnds';
    /**
     * Constant for value 'AfterReferenceEnds'
     * @return string 'AfterReferenceEnds'
     */
    const VALUE_AFTER_REFERENCE_ENDS = 'AfterReferenceEnds';
    /**
     * Constant for value 'SpecifiedTime'
     * @return string 'SpecifiedTime'
     */
    const VALUE_SPECIFIED_TIME = 'SpecifiedTime';
    /**
     * Constant for value 'Never'
     * @return string 'Never'
     */
    const VALUE_NEVER = 'Never';
    /**
     * Return allowed values
     * @uses self::VALUE_BEFORE_REFERENCE_STARTS
     * @uses self::VALUE_AFTER_REFERENCE_STARTS
     * @uses self::VALUE_BEFORE_REFERENCE_ENDS
     * @uses self::VALUE_AFTER_REFERENCE_ENDS
     * @uses self::VALUE_SPECIFIED_TIME
     * @uses self::VALUE_NEVER
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_BEFORE_REFERENCE_STARTS,
            self::VALUE_AFTER_REFERENCE_STARTS,
            self::VALUE_BEFORE_REFERENCE_ENDS,
            self::VALUE_AFTER_REFERENCE_ENDS,
            self::VALUE_SPECIFIED_TIME,
            self::VALUE_NEVER,
        );
    }
}
