|
From: Steve J. <sj...@us...> - 2006-01-03 20:09:05
|
Update of /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17137/src/net/sourceforge/modelWizard/chameleon/exporters Modified Files: IntermediateModelExport.java Log Message: Add XMLSCHEMATYPE stereo to Enumerations. Index: IntermediateModelExport.java =================================================================== RCS file: /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters/IntermediateModelExport.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** IntermediateModelExport.java 7 Dec 2005 18:17:38 -0000 1.4 --- IntermediateModelExport.java 3 Jan 2006 20:08:56 -0000 1.5 *************** *** 1,1199 **** ! /* ! * Created on Nov 7, 2005 ! * @author stjerman ! * <copyright> ! * ! * Copyright (c) 2005 Cisco Systems Inc, ! * All rights reserved. This program and the accompanying materials ! * are made available under the terms of the BSD License ! * which accompanies this distribution. ! * [...2374 lines suppressed...] ! private PrimitiveType getMappedPrimitiveType(String type) ! { ! String mappedType = AndromdaConfiguration.INSTANCE.getMappedTypeName(type); ! if (mappedType == null) ! { ! ModelWizardConsole.INSTANCE.complain("No mapping for type:" + type); ! } ! Type t = datatypes.getNestedPackage("datatype").getOwnedType(mappedType); ! if (t == null) ! { ! ModelWizardConsole.INSTANCE.complain("Did not find type:" + mappedType); ! } ! if (!(t instanceof PrimitiveType)) ! { ! ModelWizardConsole.INSTANCE.complain(t.getQualifiedName() + " is not primitive"); ! } ! return (PrimitiveType)t; ! } } \ No newline at end of file |