/* 
 * @(#)ConnectedActionTypesEnum.java        1.0 09/12/14
 *
 * This file has been auto-generated by JNC, the
 * Java output format plug-in of pyang.
 * Origin: module "hcta-epc", revision: "2014-09-18".
 */

package hctaEpc;

import YangException;

import com.tailf.jnc.YangEnumeration;

/**
 * This class represents an element from 
 * the namespace 
 * generated to "src/hctaEpc/connectedActionTypes-enum"
 * <p>
 * See line 218 in
 * cmdCommonHcta.yang
 *
 * @version 1.0 2014-12-09
 * @author Auto Generated
 */
public class ConnectedActionTypesEnum extends YangEnumeration {

    private static final long serialVersionUID = 1L;

    /**
     * Constructor for ConnectedActionTypesEnum object from a string.
     * @param value Value to construct the ConnectedActionTypesEnum from.
     */
    public ConnectedActionTypesEnum(String value) throws YangException {
        super(value,
            new String[] {
                "passive",
                "offload-user-inactivity",
                "offload-all",
                "detach",
            }
        );
        check();
    }

    /**
     * Sets the value using a string value.
     * @param value The value to set.
     */
    public void setValue(String value) throws YangException {
        super.setValue(value);
        check();
    }

    /**
     * Checks all restrictions (if any).
     */
    public void check() throws YangException {
        super.check();
    }

}
