//------------------------------------------------------------------------------- // This package was automatically generated from EXPRESS (ISO STEP 10303 part11) // by a java generator build with the meta CASE tool Platypus // (alain.plantec@univ-brest.fr) // // Please, be aware that any hand-made updating of this file can be lost!!. //------------------------------------------------------------------------------- package CheddarBridge; public enum Policies { Sched_Fifo, Sched_Rr, Sched_Others; public static Policies fromString(String rep) throws Exception { if (rep.equals("Sched_Fifo")) return (Sched_Fifo); if (rep.equals("Sched_Rr")) return (Sched_Rr); if (rep.equals("Sched_Others")) return (Sched_Others); throw new Exception("invalid Policies enum string representation (" + rep + ")"); } }