|Re: The default value"unbounded" of an attribute [message #1028536 is a reply to message #1028450]
||Thu, 28 March 2013 11:35
|| Christian W. Damus
Registered: July 2009
I don't think that "unbounded" is a valid value for an Integer
property. The ' * ' value of the UnlimitedNatural type indicates
"unbounded", but the Integer type has no such value.
On 2013-03-28 09:14:13 +0000, sabrina ing said:
> I'm modeling a real time operating system (RTOS) using Papyrus and
> using the Profile in Software Resource Modeling (SRM) of Standard MARTE.
> I have an Element Class named "Task", this Class has an attribute
> "MaxPriority" which its type is an Integer.
> I have two requirements:
> First, I want to assign the default value "unbounded" for the attribut
> "MaxPriority" in my Model, , I chose the type Integer but my problem
> is how to assign "unbounded" which is a String Type to an attribute of
> type Integer?
> Second, I want to know how to get the default value "unbounded" of the
> attribute "MaxPriority" in java code.
> I'd appreciate any help on this.
> Thanks in advance
Powered by FUDForum
. Page generated in 0.02011 seconds