Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Ordered feature for non-list objects
Ordered feature for non-list objects [message #897811] Wed, 25 July 2012 09:33 Go to next message
Wouter Schaekers is currently offline Wouter Schaekers
Messages: 17
Registered: July 2012
Junior Member
Hi

I am working with Xcore and Xtext to develop a dsl. I'm converting between Xcore and Xtext. Suddenly I encountered the 'odered' and 'unordered' features on normal objects (like self defined classes and integers). My question is, what is the meaning of having an 'ordered' integer, or is it just something that can be left out?

Thanks.
Re: Ordered feature for non-list objects [message #897827 is a reply to message #897811] Wed, 25 July 2012 09:49 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Wouter,

Ordered is not really used. In theory we could use it to produce a
Collection verses List, but we don't do that. It does declare that the
order in the list isn't meaningful, but that's not used anywhere (that I
know of).


On 25/07/2012 11:33 AM, Wouter Schaekers wrote:
> Hi
>
> I am working with Xcore and Xtext to develop a dsl. I'm converting
> between Xcore and Xtext. Suddenly I encountered the 'odered' and
> 'unordered' features on normal objects (like self defined classes and
> integers). My question is, what is the meaning of having an 'ordered'
> integer, or is it just something that can be left out?
>
> Thanks.
Previous Topic:Need a user-friendly editor for creating instances
Next Topic:how to remove the EReference in my Ecore Diagram
Goto Forum:
  


Current Time: Thu Oct 23 20:10:41 GMT 2014

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

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