//------------------------------------------------------------------------------- // 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_Coherence_Protocol_Type { Private_Cache_Protocol, Shared_Cache_Protocol, Private_Invalid_Cache_Protocol, Private_MSI_Cache_Protocol, Private_MESI_Cache_Protocol; public static Cache_Coherence_Protocol_Type fromString(String rep) throws Exception { if (rep.equals("Private_Cache_Protocol")) return (Private_Cache_Protocol); if (rep.equals("Shared_Cache_Protocol")) return (Shared_Cache_Protocol); if (rep.equals("Private_Invalid_Cache_Protocol")) return (Private_Invalid_Cache_Protocol); if (rep.equals("Private_MSI_Cache_Protocol")) return (Private_MSI_Cache_Protocol); if (rep.equals("Private_MESI_Cache_Protocol")) return (Private_MESI_Cache_Protocol); throw new Exception("invalid Cache_Coherence_Protocol_Type enum string representation (" + rep + ")"); } }