//------------------------------------------------------------------------------- // 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 Objects_Type { Buffer_Object_Type, Processor_Object_Type, Cache_Object_Type, Task_Object_Type, Resource_Object_Type, Address_Space_Object_Type, Message_Object_Type, State_Object_Type, Transition_Object_Type, Statement_Object_Type, Expression_Object_Type, Synchronization_Object_Type, Section_Object_Type, Network_Object_Type, Connexion_Object_Type, Core_Object_Type, Event_Analyzer_Type, Deployment_Type, Task_Group_Object_Type; public static Objects_Type fromString(String rep) throws Exception { if (rep.equals("Buffer_Object_Type")) return (Buffer_Object_Type); if (rep.equals("Processor_Object_Type")) return (Processor_Object_Type); if (rep.equals("Cache_Object_Type")) return (Cache_Object_Type); if (rep.equals("Task_Object_Type")) return (Task_Object_Type); if (rep.equals("Resource_Object_Type")) return (Resource_Object_Type); if (rep.equals("Address_Space_Object_Type")) return (Address_Space_Object_Type); if (rep.equals("Message_Object_Type")) return (Message_Object_Type); if (rep.equals("State_Object_Type")) return (State_Object_Type); if (rep.equals("Transition_Object_Type")) return (Transition_Object_Type); if (rep.equals("Statement_Object_Type")) return (Statement_Object_Type); if (rep.equals("Expression_Object_Type")) return (Expression_Object_Type); if (rep.equals("Synchronization_Object_Type")) return (Synchronization_Object_Type); if (rep.equals("Section_Object_Type")) return (Section_Object_Type); if (rep.equals("Network_Object_Type")) return (Network_Object_Type); if (rep.equals("Connexion_Object_Type")) return (Connexion_Object_Type); if (rep.equals("Core_Object_Type")) return (Core_Object_Type); if (rep.equals("Event_Analyzer_Type")) return (Event_Analyzer_Type); if (rep.equals("Deployment_Type")) return (Deployment_Type); if (rep.equals("Task_Group_Object_Type")) return (Task_Group_Object_Type); throw new Exception("invalid Objects_Type enum string representation (" + rep + ")"); } }