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