[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Setting the range of an ecore datatype

Hi guys,

is there a possiblity to restrict or set the range of an Ecore datatype?

Here is my situation... I have an class attribute named  "Propability" in my DSL metamodel. I have specified the datatype of this attribute to be "Edouble" and I would like to restrict the value of the probability attribute to range between 0 and 1.

Thanks...

- Barath