[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.mdt.uml2.uml] Re: EnumerationLiteral is an InstanceSpecification, so ...

Andreas,

1. While it is a specialization of InstanceSpecification, it is really 
intended to be a run-time representation (instance) of an enumeration 
(only).

2. I'm not sure...

Kenn

"Andreas Maier" <maiera@xxxxxxxxxx> wrote in message 
news:embt43$8tc$1@xxxxxxxxxxxxxxxxxxxx
> ... the flexibility this introduces causes me to raise a few questions:
>
> 1. Is there any restriction as to what datatype an Enumeration can be
> used for ? Specifically, can it be any arbitrarily complex class ?
>
> 2. Can EnumerationLiterals be defined to represent a range ? (If the
> answer to question 1. is that classes can be used, then that should be
> possible ...)
>
> Andy