//------------------------------------------------------------------------------- // 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 Processors_type { Monocore_type, Identical_Multicores_Type, Uniform_Multicores_Type, Unrelated_Multicores_Types; public static Processors_type fromString(String rep) throws Exception { if (rep.equals("Monocore_type")) return (Monocore_type); if (rep.equals("Identical_Multicores_Type")) return (Identical_Multicores_Type); if (rep.equals("Uniform_Multicores_Type")) return (Uniform_Multicores_Type); if (rep.equals("Unrelated_Multicores_Types")) return (Unrelated_Multicores_Types); throw new Exception("invalid Processors_type enum string representation (" + rep + ")"); } }