sources:


website:
more info here
studies/corba/Corba-Code1/client/CosTime/TimeComparison.java
download file

  1 package CosTime;
  2
  3
  4 /** * CosTime/TimeComparison.java . * Generated by the IDL-to-Java compiler (portable), version "3.1" * from time.idl * Freitag, 18. April 2003 11.06 Uhr CEST */
  5
  6 public class TimeComparison implements org.omg.CORBA.portable.IDLEntity {
  7   private        int __value;
  8   private static int __size = 4;
  9   private static CosTime.TimeComparison[] __array = new CosTime.TimeComparison [__size];
 10
 11   public static final int _TCEqualTo = 0;
 12   public static final CosTime.TimeComparison TCEqualTo = new CosTime.TimeComparison(_TCEqualTo);
 13   public static final int _TCLessThan = 1;
 14   public static final CosTime.TimeComparison TCLessThan = new CosTime.TimeComparison(_TCLessThan);
 15   public static final int _TCGreaterThan = 2;
 16   public static final CosTime.TimeComparison TCGreaterThan = new CosTime.TimeComparison(_TCGreaterThan);
 17   public static final int _TCIndeterminate = 3;
 18   public static final CosTime.TimeComparison TCIndeterminate = new CosTime.TimeComparison(_TCIndeterminate);
 19
 20   public int value ()
 21   {
 22     return __value;
 23   }
 24
 25   public static CosTime.TimeComparison from_int (int value)
 26   {
 27     if (value >= 0 && value < __size)
 28       return __array[value];
 29     else       throw new org.omg.CORBA.BAD_PARAM ();
 30   }
 31
 32   protected TimeComparison (int value)
 33   {
 34     __value = value;
 35     __array[__value] = this;
 36   }
 37 } // class TimeComparison
 38
 39