Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generated metamodel forum Xtext
Generated metamodel forum Xtext [message #1058329] Mon, 13 May 2013 10:56 Go to next message
junior developer is currently offline junior developer
Messages: 335
Registered: January 2013
Senior Member
Hi all ,

I defined mandatory target property and then generate meta model, Why lower bound always equals 0 ?

Shortcut returns Shortcut:
'Shortcut' name=ID
(('content' '=' content = STRING )?
&('hidden' '=' Hidden = EBoolean )?
&('readonly' '=' readonly = EBoolean )?
&('system' '=' system = EBoolean )?
&('archive' '=' archive = EBoolean )?
&('location' '=' location=STRING )?
&('date' '=' date=STRING )?
&('ext' '=' ext = EXT? )?
)('target' '=' target=[SyncElement|ID]) ';'
;

Best Regards,
Re: Generated metamodel forum Xtext [message #1058800 is a reply to message #1058329] Wed, 15 May 2013 03:34 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 6211
Registered: July 2009
Senior Member
Hi,

i guess the reason for this is that one would not want the errors from the EOBjectValidator that you would get additionally to the
syntax errors

~Christian
Previous Topic:Errors when making an update site
Next Topic:Content assist formatted text with HTML mark-up
Goto Forum:
  


Current Time: Fri Aug 22 09:48:18 EDT 2014

Powered by FUDForum. Page generated in 0.06073 seconds