
package com.prowidesoftware.swift.model.mx.dic;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for AssetClassSubProductEnergyType1Code.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="AssetClassSubProductEnergyType1Code"&gt;
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *     &lt;enumeration value="COAL"/&gt;
 *     &lt;enumeration value="ELEC"/&gt;
 *     &lt;enumeration value="OILP"/&gt;
 *     &lt;enumeration value="INRG"/&gt;
 *     &lt;enumeration value="NGAS"/&gt;
 *     &lt;enumeration value="OTHR"/&gt;
 *   &lt;/restriction&gt;
 * &lt;/simpleType&gt;
 * </pre>
 * 
 */
@XmlType(name = "AssetClassSubProductEnergyType1Code")
@XmlEnum
public enum AssetClassSubProductEnergyType1Code {


    /**
     * Commodity of type coal.
     * 
     */
    COAL,

    /**
     * Commodity of type electricity.
     * 
     */
    ELEC,

    /**
     * Commodity of type oil.
     * 
     */
    OILP,

    /**
     * Commodity of type inter energy.
     * 
     */
    INRG,

    /**
     * Commodity of type natural gas.
     * 
     */
    NGAS,

    /**
     * Commodity of other type.
     * 
     */
    OTHR;

    public String value() {
        return name();
    }

    public static AssetClassSubProductEnergyType1Code fromValue(String v) {
        return valueOf(v);
    }

}
