Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SF_lt

Pages: 1 2 [3]
31
Uml Process / navigability and OCL
« on: October 24, 2006, 02:31:25 pm »
UML 2.1 superstructure states, that UML tools can traverse through a non-navigable association ends.
So suppose there is a metamodel's fragment:
class A and class B are associated with a association with the association ends endA and endB respectively. endB end is non-navigable.

Does it mean, that it's possible to write OCL expression using navigation through the non-navigable endB end?

context A
inv: endB.name <> 'test'

However model's (which conforms to metamodel) objects ClassA (instance of metamodel's class A) won't be able to use endB association end?

32
Uml Process / Directed composition vs non-directed
« on: May 29, 2006, 07:54:35 am »
UML superstructure, figure 12 (classes diagram on the kernel package), page 29

there is the directed nestedClassifier composition, with both set roles. Question: how to read this directed composition, which has both named ends?

Contrary, there is also ownedFeature composition - not directed, but also with both named ends. What's the difference between these two?

33
Uml Process / about UML and MOF alignment
« on: January 30, 2006, 03:55:10 pm »
while reading MOF, arised question about UML and MOF aligment.

It's said, that MOF defines UML. However, UML uperstructure notes, that it reuses UML Infrastructure packages as a basic ontology foundation. There is no MOF mentioned.
MOF also reuses (imports/merge) UML Infrastructure packages. To complicate things for me, there are EMOF (essential MOF) and CMOF (complete MOF) also... Human understandable difference isn't said in specification - sad.

Now about levels: on M4 - MOF, on M3 - UML, e.g. UML is instance of MOF, however
UML Superstructure (as I believe it's usable UML - as this part is commonly and widely used) reuses UML Infractructure as MOF do. I would say, that in M4 should be UML Infrastructure, in M3 - UML superstructure and MOF (EMOF?/CMOF?).

Could somebody clafiry this thing, as right now I'm lost a bit

34
Uml Process / Lozenge (tm) & OCL
« on: November 01, 2005, 10:34:52 am »
Always had hesitations about lozenge/N-association use. Particularly cases with several lozenge classes - how to decrypt this association: each with a rest?
For example: 4-nary lozenge: classA, classB, classC, classD & lozenge named LO. How this would be: classA-classB, classA-classC, classA-classD, classB-classC, ...., classC-classD ???

want/need deep clarification of this (pictures with normal associations and with lozenge - thanks in an advance)

Are these diagrams the same? It would be great to hear Paolo & other gurus :-D

1 (dependencies can be replaced by associations):


2:


Is it allowed to change association class cardinality? if channel  connects one sender and many receivers (UML way would be: one sender-one receiver for association class)? is 1 diagram correct for for multiple receivers of channel ? correct me, please, if I'm wrong
Not sure, if OCL size() invariant will be consistent with the UML metamodel

BTW, how to add operations/attributes to lozenge? somewhere Paolo showed, that 2-nary lozenge & association class is the same.

BTW2: how to add constraints for the association class - there is no constraint field ;)

35
Uml Process / method argument modeling in UML
« on: December 01, 2005, 12:02:08 pm »
I had a question, which started to discuss with Paolo: how to model such situation (it was partly discussed in the injector thread ;) ):

class MyClass
{
   int SomeMethod( DataAdapter adapter );
}

class DataAdapter
{
 ....
}

how to model DataAdapter use in MyClass - Paolo's view is to use dependency with the <<methodAttribute>> stereotype
Another possible way - directed association with no roles between MyClass and DataAdapter

Awaiting your thoughts

P.S. SF_lt is not a robotic device, it's a guy from Lithuania (MagicDraw motherland ;) ) - lt stands for Lithuania

P.S. I propose to add a sticked thread (with the administrator's help in this forum), which would contain links to great discussed topics - for example as lozenge, bakery model, containment/ownership question & etc.

36
Uml Process / About association
« on: August 28, 2005, 07:19:21 am »
11.3.1 Superstructure:


11.3.1 Association
An association describes a set of tuples whose values refers to typed instances. An instance of an association is called a
link.
Description
An association specifies a semantic relationship that can occur between typed instances. It has at least two ends
represented by properties, each of which is connected to the type of the end. More than one end of an association may
have the same type.
When a property is owned by an association it represents a non-navigable end of the association. In this case the property
does not appear in the namespace of any of the associated classifiers.repuS



don't understand statement about non-navigable properties - what does it mean in the model? and for what purpose do we need such case?


37
Uml Process / Pure virtual stereotype
« on: August 31, 2005, 11:55:55 am »

Noticed, that to define pure virtual methods EA uses <<pure>> stereotype.

UML2 superstructure doesn't state such default stereotype - it's used only by the EA. Doesn't this break UML2 compliance?

BTW, <<facade>> stereotype is obsolete in the UML2 ;)

38
Uml Process / Default multiplicity
« on: August 26, 2005, 05:32:35 am »
What default multiplicity is in the UML2?
I though, that it's 1, but today in UML2 infrastructure (8.2.2 section) found this statement:

When directed associations are specified in lieu of attributes, the multiplicity on the undirected end is assumed to be *
(default in UML) and the role name should not be used.

39
Uml Process / UML2 specifications, metamodels and profiles
« on: August 11, 2005, 12:33:05 pm »

UML2 superstructure is adopted 2004-10-02, infrastructure specification is under reviewing, proposal is dated to 2003
OMG's site states, that OMG members can access revision versions - it would be great to get the latest infrastructure revision version. Can someone share it?

as I understand, metamodel should be created before developing UML profile (except cases, which are quite trivial). However, there is great lack of the articles/tutorials, how to do this - profiles development in examples.
Still, haven't found anything better than Lidia Fuentes article :-)
"UML bible" book only mentions about existing profiles, parts of the profiles, but no more :-/


40
Uml Process / Many parameters
« on: July 06, 2005, 07:09:23 am »

how to model variable number of parameters?

C++ has feature as ..., for example:

void Calc(...)
{
// extracting all params using va_list
}

41
Uml Process / UML profiles
« on: May 06, 2005, 11:45:10 am »

Need information on how to create UML profile - tutorial with an examples would be great as other information. Are any profile changes in the UML2?
Also, is it possible somehow to use UML profiles with EA? if so, how.

Got into trouble to set up UML profile, so any help is appreciated.

42
Uml Process / guard condition
« on: March 23, 2005, 11:51:19 am »
how to set guard conditions on sequence diagram actor swimlane? for example, sequence goes on when [number=2]
UML2 supports guard condition on entities, is it possible to set such guard condition?
have tried to set constraint, but view is not how to supposed to be.

43
Uml Process / Parallel operations in sequences
« on: December 23, 2004, 07:02:52 am »

how to note concurrent/parallel going calls/actions in a sequence diagram?
for now use "par" type fragment, but there is a problem to note, that there could be concurrent add/remove calls to the list - both actions must be used on the same list object

44
Automation Interface, Add-Ins and Tools / Visual Studio plug-ins
« on: January 19, 2011, 11:04:57 pm »
what is the difference between MDG Link for VS and MDG Integration for VS? what I miss/loose what have another plugin?
what about support of the VS 2010?

Pages: 1 2 [3]