00001 package sctConf;
00002
00003
00011 public class MURType implements org.omg.CORBA.portable.IDLEntity
00012 {
00013 private int __value;
00014 private static int __size = 4;
00015 private static sctConf.MURType[] __array = new sctConf.MURType [__size];
00016
00017 public static final int _BARREL = 0;
00018 public static final sctConf.MURType BARREL = new sctConf.MURType(_BARREL);
00019 public static final int _ENDCAP = 1;
00020 public static final sctConf.MURType ENDCAP = new sctConf.MURType(_ENDCAP);
00021 public static final int _UNMAPPED = 2;
00022 public static final sctConf.MURType UNMAPPED = new sctConf.MURType(_UNMAPPED);
00023 public static final int _UNKNOWN = 3;
00024 public static final sctConf.MURType UNKNOWN = new sctConf.MURType(_UNKNOWN);
00025
00026 public int value ()
00027 {
00028 return __value;
00029 }
00030
00031 public static sctConf.MURType from_int (int value)
00032 {
00033 if (value >= 0 && value < __size)
00034 return __array[value];
00035 else
00036 throw new org.omg.CORBA.BAD_PARAM ();
00037 }
00038
00039 protected MURType (int value)
00040 {
00041 __value = value;
00042 __array[__value] = this;
00043 }
00044 }