Re: EO generating and Interfaces
Re: EO generating and Interfaces
- Subject: Re: EO generating and Interfaces
- From: Chuck Hill <email@hidden>
- Date: Wed, 21 May 2008 19:37:04 -0700
On May 21, 2008, at 7:23 PM, David den Boer wrote:
Not sure if this has been covered before, but we are trying to
migrate to the new Veogen tool from the old Rubicode tool, and are
running into a few issues, mainly with generics and interfaces.
The new templates generate a method like this :
public NSArray<com.apple.foo.model.WorkshopMaster> workshops() {
return
(NSArray
<com.apple.foo.model.WorkshopMaster>)storedValueForKey("workshops");
}
where the old ones would leave the generic off. Now 99% of the time,
this is perfect, but in this one case, WorkshopMaster also conforms
to the RRSCalendarEvent interface, and that is what we want. Is
there any way to have veogen change that or are we hosed and have
lots of code to rewrite?
The quick, easy option is to use your own templates and just leave off
the generics. I use custom templates with no generics.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden