//------------------------------------------------------------------------------- // 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 PartitionActionType { IGNORE, IDLE, WARM_START, COLD_START; public static PartitionActionType fromString(String rep) throws Exception { if (rep.equals("IGNORE")) return (IGNORE); if (rep.equals("IDLE")) return (IDLE); if (rep.equals("WARM_START")) return (WARM_START); if (rep.equals("COLD_START")) return (COLD_START); throw new Exception("invalid PartitionActionType enum string representation (" + rep + ")"); } }