Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Ecore ID property
Ecore ID property [message #422659] Fri, 12 September 2008 06:18 Go to next message
Ben is currently offline BenFriend
Messages: 46
Registered: July 2009
Member
Hi,

Sorry, I am not a XML schema expert, but I was wondering if the schema can
indicate that an attribute is unique so when the ecore model is generated,
the ID property is automatically set to true.

Thanks!
Re: Ecore ID property [message #422668 is a reply to message #422659] Fri, 12 September 2008 11:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30810
Registered: July 2009
Senior Member
Ben,

Yes, you can make an attribute be of type xsd:ID. Also, ecore:id="true"
is supported.


Ben wrote:
> Hi,
>
> Sorry, I am not a XML schema expert, but I was wondering if the schema
> can indicate that an attribute is unique so when the ecore model is
> generated, the ID property is automatically set to true.
>
> Thanks!
>
Previous Topic:EStore and "equals"
Next Topic:[CDO] Could a ResourceSet share the same CDOView?
Goto Forum:
  


Current Time: Tue Jan 21 16:50:25 GMT 2020

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

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

Back to the top