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: 33140
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!
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EStore and "equals"
Next Topic:[CDO] Could a ResourceSet share the same CDOView?
Goto Forum:
  


Current Time: Tue Apr 23 16:54:45 GMT 2024

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

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

Back to the top