Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.omg.CosTrading;
Generated from IDL enum "FollowOption".

Author(s):
JacORB IDL compiler V 3.5
Version:
generated at 11-Jul-2014 12:35:24
 
 
 public final class FollowOption
{
Serial version UID.
	private static final long serialVersionUID = 1L;
	private int value = -1;
	public static final int _local_only = 0;
	public static final FollowOption local_only = new FollowOption();
	public static final int _if_no_local = 1;
	public static final FollowOption if_no_local = new FollowOption();
	public static final int _always = 2;
	public static final FollowOption always = new FollowOption();
	public int value()
	{
		return ;
	}
	public static FollowOption from_int(int value)
	{
		switch (value) {
			case return ;
			case return ;
			case return ;
			defaultthrow new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch () {
			case return "local_only";
			case return "if_no_local";
			case return "always";
			defaultthrow new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected FollowOption(int i)
	{
		 = i;
	}
Designate replacement object when deserialized from stream. See http://www.omg.org/docs/ptc/02-01-03.htm#Issue4271

	{
		return from_int(value());
	}
New to GrepCode? Check out our FAQ X