//------------------------------------------------------------------------------- // 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 Partioning_Type { General_Task, Best_Fit, First_Fit, Next_Fit, Small_Task; public static Partioning_Type fromString(String rep) throws Exception { if (rep.equals("General_Task")) return (General_Task); if (rep.equals("Best_Fit")) return (Best_Fit); if (rep.equals("First_Fit")) return (First_Fit); if (rep.equals("Next_Fit")) return (Next_Fit); if (rep.equals("Small_Task")) return (Small_Task); throw new Exception("invalid Partioning_Type enum string representation (" + rep + ")"); } }