Skip to main content


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 14:56 Go to next message
junior developer is currently offline junior developerFriend
Messages: 354
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 07:34 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Errors when making an update site
Next Topic:Content assist formatted text with HTML mark-up
Goto Forum:
  


Current Time: Thu Apr 25 16:29:25 GMT 2024

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

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

Back to the top