• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOModel: retrieving tableattributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModel: retrieving tableattributes


  • Subject: Re: EOModel: retrieving tableattributes
  • From: jacques couzteau <email@hidden>
  • Date: Tue, 16 Sep 2003 16:56:10 +0200

Am Dienstag, 16.09.03, um 15:03 Uhr (Europe/Berlin) schrieb
email@hidden:

> Jacques,
> On Tuesday, September 16, 2003, at 01:45  pm, jacques couzteau wrote:
>
>> Am Montag, 15.09.03, um 23:35 Uhr (Europe/Berlin) schrieb Kaj Hejer:
>>
>>> EOModelGroup.defaultGroup().entityNamed("MyTable).attributes()
>>
>> There seems to be something wrong with the variablename
>>
>> on build the compiler says:
>> cannot resolve symbol  : variable EOModelGroup
>>
>
> You need to import com.webobjects.eoaccess.EOModelGroup;

yes, indeed!

I'm now happily retrieving my attributes with the following code:
         NSArray as =
EOModelGroup.defaultGroup().entityNamed("Resultat").attributes();
         //NSArray eoEntities = EOModelGroup.defaultGroup().models();


         Enumeration e = as.objectEnumerator();
         while (e.hasMoreElements()){
             EOAttribute m = (EOAttribute)e.nextElement();
             System.out.println("Session1: "+ m.columnName());

         }

tak / thanks

jacques


>
> Cheers,
> -- Denis.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
>
>
::: jochen Hagenstroem
::: www.hagenstrom.de
::: email@hidden
::: hamburg, germany
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: EOModel: retrieving tableattributes (From: email@hidden)

  • Prev by Date: RE: NSNumberFormatter & NSTimestamp -- Not Happening
  • Next by Date: Re: Using Static HREF - Session Problems
  • Previous by thread: Re: EOModel: retrieving tableattributes
  • Next by thread: NSNumberFormatter & NSTimestamp -- Not Happening
  • Index(es):
    • Date
    • Thread