Re: how to get the type of an attribute in code
Re: how to get the type of an attribute in code
- Subject: Re: how to get the type of an attribute in code
- From: Ramsey Gurley <email@hidden>
- Date: Wed, 27 Oct 2010 10:04:17 -0400
Also
d2wContext().valueForKeyPath("smartAttribute.className");
Ramsey
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@hidden> 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@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
_______________________________________________
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