//------------------------------------------------------------------------------- // 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 Dependency_Type { Precedence_Dependency, Buffer_Dependency, Communication_Dependency, Synchronous_Data_Flow_Dependency, Resource_Dependency; public static Dependency_Type fromString(String rep) throws Exception { if (rep.equals("Precedence_Dependency")) return (Precedence_Dependency); if (rep.equals("Buffer_Dependency")) return (Buffer_Dependency); if (rep.equals("Communication_Dependency")) return (Communication_Dependency); if (rep.equals("Synchronous_Data_Flow_Dependency")) return (Synchronous_Data_Flow_Dependency); if (rep.equals("Resource_Dependency")) return (Resource_Dependency); throw new Exception("invalid Dependency_Type enum string representation (" + rep + ")"); } }