Re: Sometime WebObjects drives me a little crazy!
Re: Sometime WebObjects drives me a little crazy!
- Subject: Re: Sometime WebObjects drives me a little crazy!
- From: D Tim Cummings <email@hidden>
- Date: Tue, 27 Jan 2009 12:03:11 +1000
String attributes called "description" are ok, and EOGenericRecord is
ok with relationships called "description". However ERXGenericRecord
has a method description() which returns toString() hence you can't
call a relationship "description" or it tries to override the return
type and gives a compile error.
Tim
On 27/01/2009, at 10:32 AM, Chuck Hill wrote:
On Jan 26, 2009, at 2:34 PM, Mike Schrag wrote:
Entity Modeler USED to (maybe still does) warn about this ... If
you look at EOEnterpriseObject, there's:
String eoDescription() -- Returns a String that describes the
receiver.
so maybe it was renamed? I think I dodged "description" for a
really long time until someone said "you don't have to" a year or
so ago ... probably was Chuck.
Maybe, but I still mostly try to avoid it out of remembrance of the
pain of the week that I discovered that this was NOT a good name to
use with Obj-C.
Chuck
On Jan 26, 2009, at 5:18 PM, Lachlan Deck wrote:
On 27/01/2009, at 8:24 AM, Ken Anderson wrote:
Doesn't it still? I NEVER use it :)
I believe it's still the case... unless that was Entity Modeler
complaining. Can't recall.
On Jan 26, 2009, at 4:22 PM, Mark Morris wrote:
Back in the old days, an attribute named "description" would
cause you grief. ;-)
with regards,
--
Lachlan Deck
_______________________________________________
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
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
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
_______________________________________________
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