KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gcc > org > omg > GIOP > LocateStatusType_1_2


1 package gcc.org.omg.GIOP;
2
3
4 /**
5 * gcc/org/omg/GIOP/LocateStatusType_1_2.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.1"
7 * from ../idl/GIOP.idl
8 * Wednesday, December 8, 2004 11:54:40 AM EST
9 */

10
11 public class LocateStatusType_1_2 implements org.omg.CORBA.portable.IDLEntity JavaDoc
12 {
13   private int __value;
14   private static int __size = 6;
15   private static gcc.org.omg.GIOP.LocateStatusType_1_2[] __array = new gcc.org.omg.GIOP.LocateStatusType_1_2 [__size];
16
17   public static final int _UNKNOWN_OBJECT = 0;
18   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 UNKNOWN_OBJECT = new gcc.org.omg.GIOP.LocateStatusType_1_2(_UNKNOWN_OBJECT);
19   public static final int _OBJECT_HERE = 1;
20   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 OBJECT_HERE = new gcc.org.omg.GIOP.LocateStatusType_1_2(_OBJECT_HERE);
21   public static final int _OBJECT_FORWARD = 2;
22   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 OBJECT_FORWARD = new gcc.org.omg.GIOP.LocateStatusType_1_2(_OBJECT_FORWARD);
23   public static final int _OBJECT_FORWARD_PERM = 3;
24   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 OBJECT_FORWARD_PERM = new gcc.org.omg.GIOP.LocateStatusType_1_2(_OBJECT_FORWARD_PERM);
25   public static final int _LOC_SYSTEM_EXCEPTION = 4;
26   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 LOC_SYSTEM_EXCEPTION = new gcc.org.omg.GIOP.LocateStatusType_1_2(_LOC_SYSTEM_EXCEPTION);
27   public static final int _LOC_NEEDS_ADDRESSING_MODE = 5;
28   public static final gcc.org.omg.GIOP.LocateStatusType_1_2 LOC_NEEDS_ADDRESSING_MODE = new gcc.org.omg.GIOP.LocateStatusType_1_2(_LOC_NEEDS_ADDRESSING_MODE);
29
30   public int value ()
31   {
32     return __value;
33   }
34
35   public static gcc.org.omg.GIOP.LocateStatusType_1_2 from_int (int value)
36   {
37     if (value >= 0 && value < __size)
38       return __array[value];
39     else
40       throw new org.omg.CORBA.BAD_PARAM JavaDoc ();
41   }
42
43   protected LocateStatusType_1_2 (int value)
44   {
45     __value = value;
46     __array[__value] = this;
47   }
48 } // class LocateStatusType_1_2
49
Popular Tags