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
Getting EOIntegralKeyGlobalID From An EO
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Getting EOIntegralKeyGlobalID From An EO
Subject
:
Getting EOIntegralKeyGlobalID From An EO
From: "Jonathan Fleming" <
email@hidden
>
Date: Sat, 03 Apr 2004 00:37:21 +0100
What is the correct way to get the global ID of the EO shown below? I want to get the ID from this part of it:
tbDirectMusicSale = "<TbDirectMusicSale 4d7745 (com.webobjects.eoaccess.EOAccessFaultHandler _EOIntegralKeyGlobalID[TbDirectMusicSale (java.lang.Integer)21])>";
I'm using the code just below this sentence to get that info but then I have to use subString and all that stuff to get to the Integer.... is there a more WebObject Friendly way... i'm sure there i, just don't know how to do it.
String tableDms;
try {
tableDms = ((EOEnterpriseObject)result.objectAtIndex( 0 )).valueForKey("tbDirectMusicSale").toString();
} catch (NullPointerException npEx) { tableDms = ""; }
TbDataFile result matching values of the file name BTTTOOLBARIMG.jpg = ({values = {creationDate = 2004-03-15 06:47:02 Etc/GMT; dataType = 2; tbClubbing = "null"; tbNavPage = "null"; photographer = <com.webobjects.foundation.NSKeyValueCoding$Null>; tbDirectTicketSale = "null"; tbDirectItemSale = "null"; tbDirectMusicSale = "<TbDirectMusicSale 4d7745 (com.webobjects.eoaccess.EOAccessFaultHandler _EOIntegralKeyGlobalID[TbDirectMusicSale (java.lang.Integer)21])>"; picRefFull = "BTTTOOLBARIMG.jpg"; tbClient = "null"; advertFileName = <com.webobjects.foundation.NSKeyValueCoding$Null>; audioSampleArtiste = <com.webobjects.foundation.NSKeyValueCoding$Null>; hasImage = <com.webobjects.foundation.NSKeyValueCoding$Null>; imagePosition = "01"; audioSampleFileName = <com.webobjects.foundation.NSKeyValueCoding$Null>; picDescriptionTag = <com.webobjects.foundation.NSKeyValueCoding$Null>; modificationDate = 2004-03-15 06:47:49 Etc/GMT; backupTextFile = <com.webobjects.foundation.NSKeyValueCoding$Null>; tbAdminUser = "null"; picRefThumb = "BTTTOOLBARIMG_Thb.jpg"; tbEcmProduct = "null"; logoFileName = <com.webobjects.foundation.NSKeyValueCoding$Null>; audioDescriptionTag = <com.webobjects.foundation.NSKeyValueCoding$Null>; imageType = "General Image"; textOnPic = <com.webobjects.foundation.NSKeyValueCoding$Null>; }; this = "<TbDataFile 71235b _EOIntegralKeyGlobalID[TbDataFile (java.lang.Integer)46]>"; })
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
_______________________________________________
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.
Follow-Ups
:
Re: Getting EOIntegralKeyGlobalID From An EO
From:
Anjo Krank <email@hidden>
Prev by Date:
RE: Synchronizing data displayed by two instances of my app
Next by Date:
US States in WO Form
Previous by thread:
TEST - N/M
Next by thread:
Re: Getting EOIntegralKeyGlobalID From An EO
Index(es):
Date
Thread