//------------------------------------------------------------------------------- // 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 Cache_Type { Data_Cache_Type, Instruction_Cache_Type, Data_Instruction_Cache_Type; public static Cache_Type fromString(String rep) throws Exception { if (rep.equals("Data_Cache_Type")) return (Data_Cache_Type); if (rep.equals("Instruction_Cache_Type")) return (Instruction_Cache_Type); if (rep.equals("Data_Instruction_Cache_Type")) return (Data_Instruction_Cache_Type); throw new Exception("invalid Cache_Type enum string representation (" + rep + ")"); } }