Hi Simon,

My question is why do you need it? If it's not for something UI-specific, then 
you may be doing something in a not-so-optimal way...

I'm not saying you _are_ doing something wrong, just that any time I think of 
using instanceof or similar, I stop and review my design decisions to make sure 
I haven't gone wrong somewhere.

Dave

On Oct 27, 2010, at 9:44 AM, Simon wrote:

> brilliant - thanks to all for the input !!
> 
> Simon
> 
> On 27 October 2010 14:08, Farrukh Ijaz
> <[email protected]> wrote:
>> Hi Simon,
>> Does this make sense to you?
>> EOModelGroup.defaultGroup().entityNamed("EntityName")._attributeForPath("attributeName").className()
>> Farrukh
>> On 2010-10-27, at 3:57 PM, Simon wrote:
>> 
>> hi all - is there an easy / quick way to figure out the type of a
>> particular attribute in code ?
>> 
>> e.g. i want to know what type (ie. Integer, BigDecimal, String) the
>> column X is of entity Y
>> 
>> thanks, simon
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>> 
>> This email sent to [email protected]
>> 
>> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to [email protected]
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to