[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.mdt.uml2.uml] Re: Frame Properties in UML Sequence Diagram

Jessie,

>From the Javadoc for InteractionOperatorKind:

The interactionOperator par designates that the CombinedFragment represents 
a parallel merge between the behaviors of the operands. The 
OccurrenceSpecifications of the different operands can be interleaved in any 
way as long as the ordering imposed by each operand as such is preserved.

The interactionOperator critical designates that the CombinedFragment 
represents a critical region. A critical region means that the traces of the 
region cannot be interleaved by other OccurrenceSpecifications (on those 
Lifelines covered by the region). This means that the region is treated 
atomically by the enclosing fragment when determining the set of valid 
traces. Even though enclosing CombinedFragments may imply that some 
OccurrenceSpecifications may interleave into the region, such as e.g. with 
par-operator, this is prevented by defining a region.

You should be able to find a sample or two be searching the old newsgroup 
(eclipse.tools.uml2).

Kenn

"Jessie Li" <liz32@xxxxxxxxxxx> wrote in message 
news:elmnov$otp$2@xxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> In UML sequence diagram, when you edit a frame, there are 5 types: alt, 
> loop, opt, par, region. I know alt defines if..else; opt defines a guard, 
> loop defines while. Does anyone know what are par and region?
>
> And the sequence diagram is saved as a xml file. Is there any 
> documentation about the xml file corresponding to the sequence diagram?
>
> Thanks a lot!
>
> -Jessie