//------------------------------------------------------------------------------- // 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 Buffer_Role_Type { No_Role, Queuing_Producer, Queuing_Consumer, Sampling_Writer, Sampling_Reader; public static Buffer_Role_Type fromString(String rep) throws Exception { if (rep.equals("No_Role")) return (No_Role); if (rep.equals("Queuing_Producer")) return (Queuing_Producer); if (rep.equals("Queuing_Consumer")) return (Queuing_Consumer); if (rep.equals("Sampling_Writer")) return (Sampling_Writer); if (rep.equals("Sampling_Reader")) return (Sampling_Reader); throw new Exception("invalid Buffer_Role_Type enum string representation (" + rep + ")"); } }