[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.uml2] Re: NULL values on stereotype properties

Andreas,

UML2 also supports complex types for stereotype properties (including 
references to metaclasses or other stereotypes, as of the 2.0 release); NULL 
is a valid value for a stereotype property typed by a complex type, but not 
by a primitive or enumeration type because of intrinsic defaults.

Kenn

"Andreas Maier" <maiera@xxxxxxxxxx> wrote in message 
news:eicfhk$6dn$1@xxxxxxxxxxxxxxxxxxxx
> Kenn,
> My understanding is that UML2 does not support anything else but primitive 
> types on stereotype properties at this point. Is that correct ?
>
> If so, that would boil down to NULL not being supported on stereotype 
> properties.
>
> Andy
>
>
> Kenn Hussey wrote:
>> Andreas,
>>
>> Yes, as long as the property is not typed by a primitive type (a 
>> primitive types have intrinsic defaults in Java).
>>
>> Kenn
>>
>> "Andreas Maier" <maiera@xxxxxxxxxx> wrote in message 
>> news:ehogqo$bk1$1@xxxxxxxxxxxxxxxxxxxx
>>> Hi,
>>> does UML2 support NULL values on stereotype properties ?
>>>
>>> Andy
>>