package test.interop.bug360;
/**
 * Generated from IDL enum "Enum6xxxxxxxxxxxxxxxxx".
 *
 * @author JacORB IDL compiler V @project.version@
 * @version generated at 25-Feb-2014 13:44:20
 */

public final class Enum6xxxxxxxxxxxxxxxxx
	implements org.omg.CORBA.portable.IDLEntity
{
	/** Serial version UID. */
	private static final long serialVersionUID = 1L;
	private int value = -1;
	public static final int _E6Axxxxxxxxxxxxxxxxxxxxxxx = 0;
	public static final Enum6xxxxxxxxxxxxxxxxx E6Axxxxxxxxxxxxxxxxxxxxxxx = new Enum6xxxxxxxxxxxxxxxxx(_E6Axxxxxxxxxxxxxxxxxxxxxxx);
	public static final int _E6Bxxxxxxxxxxxxx = 1;
	public static final Enum6xxxxxxxxxxxxxxxxx E6Bxxxxxxxxxxxxx = new Enum6xxxxxxxxxxxxxxxxx(_E6Bxxxxxxxxxxxxx);
	public static final int _E6Cxxxxxxxxxxxxx = 2;
	public static final Enum6xxxxxxxxxxxxxxxxx E6Cxxxxxxxxxxxxx = new Enum6xxxxxxxxxxxxxxxxx(_E6Cxxxxxxxxxxxxx);
	public static final int _E6Dxxxxxxxxxxxxxxxxxx = 3;
	public static final Enum6xxxxxxxxxxxxxxxxx E6Dxxxxxxxxxxxxxxxxxx = new Enum6xxxxxxxxxxxxxxxxx(_E6Dxxxxxxxxxxxxxxxxxx);
	public int value()
	{
		return value;
	}
	public static Enum6xxxxxxxxxxxxxxxxx from_int(int value)
	{
		switch (value) {
			case _E6Axxxxxxxxxxxxxxxxxxxxxxx: return E6Axxxxxxxxxxxxxxxxxxxxxxx;
			case _E6Bxxxxxxxxxxxxx: return E6Bxxxxxxxxxxxxx;
			case _E6Cxxxxxxxxxxxxx: return E6Cxxxxxxxxxxxxx;
			case _E6Dxxxxxxxxxxxxxxxxxx: return E6Dxxxxxxxxxxxxxxxxxx;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _E6Axxxxxxxxxxxxxxxxxxxxxxx: return "E6Axxxxxxxxxxxxxxxxxxxxxxx";
			case _E6Bxxxxxxxxxxxxx: return "E6Bxxxxxxxxxxxxx";
			case _E6Cxxxxxxxxxxxxx: return "E6Cxxxxxxxxxxxxx";
			case _E6Dxxxxxxxxxxxxxxxxxx: return "E6Dxxxxxxxxxxxxxxxxxx";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected Enum6xxxxxxxxxxxxxxxxx(int i)
	{
		value = i;
	}
	/**
	 * Designate replacement object when deserialized from stream. See
	 * http://www.omg.org/docs/ptc/02-01-03.htm#Issue4271
	 *
	 * @throws java.io.ObjectStreamException
	 */
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
