//------------------------------------------------------------------------------- // 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 CriticalityType { LEVEL_A, LEVEL_B, LEVEL_C, LEVEL_D, LEVEL_E; public static CriticalityType fromString(String rep) throws Exception { if (rep.equals("LEVEL_A")) return (LEVEL_A); if (rep.equals("LEVEL_B")) return (LEVEL_B); if (rep.equals("LEVEL_C")) return (LEVEL_C); if (rep.equals("LEVEL_D")) return (LEVEL_D); if (rep.equals("LEVEL_E")) return (LEVEL_E); throw new Exception("invalid CriticalityType enum string representation (" + rep + ")"); } }