Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDOID and CDOObject(Why CDOID and CDOObject are not part of the Model?)
CDOID and CDOObject [message #1242028] Sat, 08 February 2014 23:16 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I do not have much knowledge in EMF. So this question might be silly....

Why CDOID and CDOObject are not part of the CDO's DataModel?
Re: CDOID and CDOObject [message #1242231 is a reply to message #1242028] Sun, 09 February 2014 07:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 09.02.2014 00:16, schrieb UmaShankar Subramani:
> I do not have much knowledge in EMF. So this question might be silly....
>
> Why CDOID and CDOObject are not part of the CDO's DataModel?
Not sure I understand this question correctly because there is no such thing as a CDO data model. CDOObject and CDOID
are both technical concepts (as opposed to business concepts).

If you have a concrete problem feel free to describe it. Maybe I can help with hints.

Cheers
/Eike

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


Re: CDOID and CDOObject [message #1242457 is a reply to message #1242231] Sun, 09 February 2014 15:53 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I am asking about eresource.ecore and etypes.ecore metamodels. But now I understand the difference between the technical concepts and business concepts.

I just want to add a "CustomID" for all EObjects. So that, all the EObjects in my Application has a "CustomID", when I create an Ecore Model. How can I do that?


[Updated on: Sun, 09 February 2014 20:50]

Report message to a moderator

Re: CDOID and CDOObject [message #1242996 is a reply to message #1242457] Mon, 10 February 2014 11:14 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 09.02.2014 16:53, schrieb UmaShankar Subramani:
> I am talking about eresource.ecore and etypes.ecore models. But now I understand the difference between the technical
> concepts and business concepts.
>
> I have few more questions.
>
> Why the model eresource.genmodel has "Ecore and Etypes model" in addition to the Eresource model.
The Eresource model uses the Ecore and Etypes models. That Eresources refers to the development time version of Ecore
was not really necessary and I've fixed that in the context of

427767: Enhance the Etypes and Eresource models
https://bugs.eclipse.org/bugs/show_bug.cgi?id=427767

Now you should only see a reference to the Etypes model.


>
>
> How does the EObjects becomes CDOObjects
That's explained here: https://wiki.eclipse.org/CDO/Preparing_EMF_Models

> and get unique CDOID?
That's done automatically by CDO when the objects are added to CDOResources.

Cheers
/Eike

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


Re: CDOID and CDOObject [message #1243009 is a reply to message #1242996] Mon, 10 February 2014 11:37 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike,

Thanks.

I need to have unique Custom_ID(like CDOID) for all the EObjects, in the application which I am developing.
This should be applicable for all Emf models. How can I do that?


/Uma

[Updated on: Mon, 10 February 2014 11:39]

Report message to a moderator

Re: CDOID and CDOObject [message #1243112 is a reply to message #1243009] Mon, 10 February 2014 14:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 10.02.2014 12:37, schrieb UmaShankar Subramani:
> Hi Eike,
>
> Thanks.
>
> I need to have unique Custom_ID(like CDOID) for all the EObjects, in the application which I am developing.
> This should be applicable for all Ecore models. How can I do that?
You mean in addition to the CDOID?

Cheers
/Eike

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


Re: CDOID and CDOObject [message #1243120 is a reply to message #1243112] Mon, 10 February 2014 14:40 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
No. My application is not using CDO. I am just getting idea from CDO Source.


I want to add a CustomID(like CDOID) to my EObjects.

[Updated on: Mon, 10 February 2014 15:25]

Report message to a moderator

Re: CDOID and CDOObject [message #1243225 is a reply to message #1243120] Mon, 10 February 2014 17:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6441
Registered: July 2009
Senior Member
Am 10.02.2014 15:40, schrieb UmaShankar Subramani:
> No. My application is not using CDO. I am just getting idea from CDO Source.
Then you should ask this question again in a new thread and without mentioning CDO in the subject to attract the
respective experts ;-)

Cheers
/Eike

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


Previous Topic:EMF Editor Runtime Exception
Next Topic:Adding Custom_ID to EObjects
Goto Forum:
  


Current Time: Thu Aug 22 05:30:42 GMT 2019

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

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

Back to the top