Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] AbstractCDOIDLong
[CDO] AbstractCDOIDLong [message #1065788] Thu, 27 June 2013 13:25 Go to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Eike,

We have a bunch of code, which casts to AbstractCDOIDLong to obtain a
string version of the Object ID. (For UI memento and Client/Server
communication where by the OID is communicated resp. to file and on HTTP)

This approach worked nicely, but in the latest Kepler release, there is
no AbstractCDOIDLong object any more. the CDOIDLongImpl has restricted
usage. What is recommended to get a String version of the CDOID?

Should we use the URI Fragment instead?

Thx! Christophe
Re: [CDO] AbstractCDOIDLong [message #1138858 is a reply to message #1065788] Tue, 15 October 2013 11:22 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Christophe,

I just noticed that this old question is still unanswered. Sorry!

You should probably use CDOIDUtil.getString(id) or any of the similar helper methods.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 27.06.2013 15:25, schrieb Christophe Bouhier:
> Eike,
>
> We have a bunch of code, which casts to AbstractCDOIDLong to obtain a string version of the Object ID. (For UI memento
> and Client/Server communication where by the OID is communicated resp. to file and on HTTP)
>
> This approach worked nicely, but in the latest Kepler release, there is no AbstractCDOIDLong object any more. the
> CDOIDLongImpl has restricted usage. What is recommended to get a String version of the CDOID?
>
> Should we use the URI Fragment instead?
>
> Thx! Christophe


Previous Topic:[CDO] Enable security manager in embedded server
Next Topic:[CDO] RemoteDeltas always null with conflict resolver
Goto Forum:
  


Current Time: Wed Apr 24 22:49:25 GMT 2024

Powered by FUDForum. Page generated in 0.02974 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top