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