Urbi SDK Remote for Java  2.7.5
UMessageType.java
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.4
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package urbi;
00010 
00011 public enum UMessageType {
00012   MESSAGE_SYSTEM,
00013   MESSAGE_ERROR,
00014   MESSAGE_DATA;
00015 
00016   public final int swigValue() {
00017     return swigValue;
00018   }
00019 
00020   public static UMessageType swigToEnum(int swigValue) {
00021     UMessageType[] swigValues = UMessageType.class.getEnumConstants();
00022     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00023       return swigValues[swigValue];
00024     for (UMessageType swigEnum : swigValues)
00025       if (swigEnum.swigValue == swigValue)
00026         return swigEnum;
00027     throw new IllegalArgumentException("No enum " + UMessageType.class + " with value " + swigValue);
00028   }
00029 
00030   @SuppressWarnings("unused")
00031   private UMessageType() {
00032     this.swigValue = SwigNext.next++;
00033   }
00034 
00035   @SuppressWarnings("unused")
00036   private UMessageType(int swigValue) {
00037     this.swigValue = swigValue;
00038     SwigNext.next = swigValue+1;
00039   }
00040 
00041   @SuppressWarnings("unused")
00042   private UMessageType(UMessageType swigEnum) {
00043     this.swigValue = swigEnum.swigValue;
00044     SwigNext.next = this.swigValue+1;
00045   }
00046 
00047   private final int swigValue;
00048 
00049   private static class SwigNext {
00050     private static int next = 0;
00051   }
00052 }
00053