//----------------------------------------------------
//
// Generated by www.easywsdl.com
// Version: 5.7.0.0
//
// Created by Quasar Development 
//
//---------------------------------------------------


import Foundation

/**
* specDomain: S15711 (C-0-T14914-S14915-S15470-S15690-S15711-cpt)
*/

public enum EPA_FdV_AUTHZ_RaceAlaskanNativeAleutKoniag:Int,CustomStringConvertible
{
    case  _1992_x002D_7
    case  _1994_x002D_3
    case  _1993_x002D_5
    case  _1995_x002D_0
    case  _1996_x002D_8
    case  _1997_x002D_6
    case  _1998_x002D_4
    case  _1999_x002D_2
    case  _2000_x002D_8

    static func createWithXml(node:DDXMLNode) -> EPA_FdV_AUTHZ_RaceAlaskanNativeAleutKoniag?
    {
        return createWithString(value: node.stringValue!)
    }

    static func createWithString(value:String) -> EPA_FdV_AUTHZ_RaceAlaskanNativeAleutKoniag?
    {
        var i = 0
        while let item = EPA_FdV_AUTHZ_RaceAlaskanNativeAleutKoniag(rawValue: i) 
        {
            if String(describing: item) == value
            {
                return item
            }
            i += 1
        }
       return nil
    }

    public var stringValue : String
    {
        return description
    }

    public var description : String
    {
        switch self
        {
            case  ._1992_x002D_7: return "1992-7"
            case  ._1994_x002D_3: return "1994-3"
            case  ._1993_x002D_5: return "1993-5"
            case  ._1995_x002D_0: return "1995-0"
            case  ._1996_x002D_8: return "1996-8"
            case  ._1997_x002D_6: return "1997-6"
            case  ._1998_x002D_4: return "1998-4"
            case  ._1999_x002D_2: return "1999-2"
            case  ._2000_x002D_8: return "2000-8"
        }
    }

    public func getValue() -> Int
    {
        return rawValue
    }

    func serialize(__parent:DDXMLNode)
    {
        __parent.stringValue = stringValue
    }
}


        
