KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > mof > Model > ConstraintClassPackage > EvaluationKind


1 package org.omg.mof.Model.ConstraintClassPackage;
2
3
4 /**
5 * org/omg/mof/Model/ConstraintClassPackage/EvaluationKind.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.1"
7 * from mof1.idl
8 * lundi 17 mars 2003 15 h 01 CET
9 */

10
11
12 //
13
public class EvaluationKind implements org.omg.CORBA.portable.IDLEntity JavaDoc
14 {
15   private int __value;
16   private static int __size = 2;
17   private static org.omg.mof.Model.ConstraintClassPackage.EvaluationKind[] __array = new org.omg.mof.Model.ConstraintClassPackage.EvaluationKind [__size];
18
19   public static final int _immediate = 0;
20   public static final org.omg.mof.Model.ConstraintClassPackage.EvaluationKind immediate = new org.omg.mof.Model.ConstraintClassPackage.EvaluationKind(_immediate);
21   public static final int _deferred = 1;
22   public static final org.omg.mof.Model.ConstraintClassPackage.EvaluationKind deferred = new org.omg.mof.Model.ConstraintClassPackage.EvaluationKind(_deferred);
23
24   public int value ()
25   {
26     return __value;
27   }
28
29   public static org.omg.mof.Model.ConstraintClassPackage.EvaluationKind from_int (int value)
30   {
31     if (value >= 0 && value < __size)
32       return __array[value];
33     else
34       throw new org.omg.CORBA.BAD_PARAM JavaDoc ();
35   }
36
37   protected EvaluationKind (int value)
38   {
39     __value = value;
40     __array[__value] = this;
41   }
42 } // class EvaluationKind
43
Popular Tags