Hi, Just a little update - this only seems to happen when the type is modelled using:
containment="true" transient="true" volatile="true" derived="true" e.g. * @model type="net.opengis.wcs.TypedLiteralType_1" containment="true" transient="true" volatile="true" derived="true" * extendedMetaData="kind='element' name='singleValue' namespace='##targetNamespace' group='#group:0'" Here is an image that sort of shows my problem: http://tinyurl.com/rysvwp http://tinyurl.com/rysvwp Cheers, Jon Jon Britton wrote: > > Hi again, > > I'm making progress with this but now I've got another problem! Each time > I regenerate my EMF code I get some strange things happening. It seems to > create references to classes which don't exist such as GetType_1 instead > of GetType. The Wcs10Switch class in the 'util' package adds a method for > each of these e.g: > > public Object caseGetType(GetType object) {...} > public Object caseGetType_1(GetType object) {...} > public Object caseGetType_1_1(GetType_1 object) {...} > > So essentially this class is getting longer and longer filled with types I > don't have! I never noticed this problem before so don't know why it's > started now... > > I can't see why it's doing this at all, since it's doing it for type I > haven't even changed! I'm new to this EMF business so I assume I'm doing > it wrong. All I do is change a given interface (e.g. change an EList to > an Envelope) where necessary, reload the .genmodel and then generate the > model. I then copy this new code into net.opengis.wcs. > > Am I doing this right? Is anyone familiar with this problem? > > Thanks! > > Jon > -- View this message in context: http://n2.nabble.com/Re-Generating-EMF-for-WCS...-tp2889431p2889961.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
