1 package org.enhydra.shark.api.client.wfmodel; 2 3 4 15 public class why_not_runningType 16 { 17 private int __value; 18 private static int __size = 2; 19 private static why_not_runningType[] __array = new why_not_runningType [__size]; 20 21 public static final int _not_started = 0; 22 public static final why_not_runningType not_started = new why_not_runningType(_not_started); 23 public static final int _suspended = 1; 24 public static final why_not_runningType suspended = new why_not_runningType(_suspended); 25 26 public int value () 27 { 28 return __value; 29 } 30 31 public static why_not_runningType from_int (int value) 32 { 33 if (value >= 0 && value < __size) 34 return __array[value]; 35 else 36 throw new org.omg.CORBA.BAD_PARAM (); 37 } 38 39 protected why_not_runningType (int value) 40 { 41 __value = value; 42 __array[__value] = this; 43 } 44 } | Popular Tags |