/**
 * EnTimeSeriesPeriodType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.7.4  Built on : Oct 21, 2016 (10:48:01 BST)
 */
package com.smartgwt.sample.server;


public class EnTimeSeriesPeriodType {  
    private static java.util.HashMap _table_ = new java.util.HashMap();
    public static final java.lang.String _Min5 ="Min5";
    public static final java.lang.String _Min15 = "Min15";
    public static final java.lang.String _Min60 = "Min60";
    public static final java.lang.String _Min1 = "Min1";
    public static final EnTimeSeriesPeriodType Min5 = new EnTimeSeriesPeriodType(_Min5,
            true);
    public static final EnTimeSeriesPeriodType Min15 = new EnTimeSeriesPeriodType(_Min15,
            true);
    public static final EnTimeSeriesPeriodType Min60 = new EnTimeSeriesPeriodType(_Min60,
            true);
    public static final EnTimeSeriesPeriodType Min1 = new EnTimeSeriesPeriodType(_Min1,
            true);

    /**
     * field for EnTimeSeriesPeriodType
     */
    protected java.lang.String localEnTimeSeriesPeriodType;

    // Constructor
    protected EnTimeSeriesPeriodType(java.lang.String value,
        boolean isRegisterValue) {
        localEnTimeSeriesPeriodType = value;

        if (isRegisterValue) {
            _table_.put(localEnTimeSeriesPeriodType, this);
        }
    }

    public java.lang.String getValue() {
        return localEnTimeSeriesPeriodType;
    }

    public boolean equals(java.lang.Object obj) {
        return (obj == this);
    }

    public int hashCode() {
        return toString().hashCode();
    }

    public java.lang.String toString() {
        return localEnTimeSeriesPeriodType.toString();
    }

    
}
