|
| Re: Define ArrayList of type ArraysList [message #991308 is a reply to message #991306] |
Tue, 18 December 2012 08:11  |
Ed Willink Messages: 3183 Registered: July 2009 |
Senior Member |
|
|
Hi
You are beyond the core consensus of the OCL specification...
OCL is UML aligned but has no support for generic types as such; though
what is a Set(T) if not a generic type? Conversely UML has no support
for nested types although Set(Tuple{...}) is used by the OCL spec.
Creeping support in Eclipse OCL means that what you want is increasingly
supported.
You should find that the current pivot-based Eclipse OCL (M4 release on
Wednesday) should allow you to use Sequence(Sequence(Real)) as a
property type. The Kepler M4 relrease should be installable on Juno.
Regards
Ed Willink
On 18/12/2012 12:46, ModelGeek Mising name wrote:
> Hi,
>
> How to define an attribute type of ArrayList containing ArrayLists as
> elements?
>
> for example ArrayList<ArrayList<E>> where E can be any type.. Double,
> Int.... etc
>
> Cheers,
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.27453 seconds