Hi Erwann, hop it helps,
regrads, Ste'phane [email protected] a e'crit : > Hi all, > Here after a few questions related to instances in SysML : > > 1) SysML Dimension derives from UML4SysMLInstanceSpecification, in SysML > 1.1 specification it is said : > > 8.3.2.5 Dimension > A Dimension is a kind of quantity that may be stated by means of defined > units. For example, the dimension of length may be measured by units of > meters, kilometers, or feet. Dimension is defined as a stereotype of > InstanceSpecification, but it uses this metaclass only to define > supporting elements for ValueType definitions. > > In Topcased, when creating a Dimension in a BDD, it seems possible to > define it as an instance of a Class, but it shouldn't ? > It is possible because Dimension inherit from InstanceSpecification and there is no specialisation of the editor to prevent this usage. I've also seen in the SysML spec : "The only valid use of a Dimension instance is to be referenced by the "dimension" property of a ValueType or Unit stereotype." Unfortunately, we cannot select a ValueType browsing the field "Is Instance Of" in the property view (Model tab). But a workaround is to find the ValueType in the Advanced propreties (Advance tab, and " show advanced properties" enable). Feel free to add a feature request if needed. > 2) initialValues seems to be missing in Topcased for properties inside > an Internal Block Diagram ... > >From SysML spec : Initial values compartment : > A compartment with a label of "initialValues" may be used to show values > of properties belonging to a containing block. > These values override any default values which may have been previously > specified on these properties on their originally > defining block. Initial value compartments may be specified within > nested properties, which then apply only in the > particular usage context defined by the outermost containing block. > Values are specified in an initialValues compartment by lines in the > form <property-name> = <value-specification> or > <property-name> : <type> = <value-specification>, each line of which > specifies the initial value for one property owned > either by the block that types the property or by any of its supertypes. > This portion of concrete syntax is the same as may > be shown for values within the UML instance specification notation, but > this is the only element of UML InstanceSpecification notation that may > be shown. > For the IBD, I have to say that a big refactoring of the editor is planned. The aim is to avoid usage of nested properties because their consistency are awful to maintain, when properties of blocks are modified, suppressed... The solution will be based on the usage of the NestedConnectorEnd and their propertypath. The initial value of the properties (end pseudo-subproperties) would be defined with DefaultValue/InstanceValue/InstanceSpecification. > 3) another feature seems to be missing but in SysML (!) wich is the > ability to specify an instance, in MagicDraw i have seen that they have > added it in a proprietary way. > It's a problem when building an activity diagram with for example a > ReadStructuralFeatureAction and you have to refer to an instance in an > Internal Block Diagram (for example the instance related to property > starTracker1 inside Attitude and Orbit Control System), and the same > with CallOperationAction. > The only solution would be to merge UML models with SysML ones ? > You can use and create in TopcasedSysML UML elements because its metamodel inherit from UML. For features not implemented in the editor, there is the a way to do that in the outline. Ex: Rigth-clic on a package, choose Create Child / Package Element / Instance Specification. The Instance Specification is created in the model. After that, you can drag'n drop it in a bdd. It has the layout defined in UML ! > Best Regards, > Erwann. > > > > > _______________________________________________ > Topcased-users mailing list > [email protected] > http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users > > > -- ----------------------------------------------- Stephane DUPRAT Innovation et Bureau me'thode Re'gion Midi-Pyre'ne'es - Agence de Toulouse 6 Impasse Alice Guy B.P. 43045 31024 - Toulouse Cedex 03 Te'l : 05 34 36 32 78 Fax : 05 34 36 31 00 mailto :[email protected] ======================================================================= Ce message electronique est confidentiel. Il peut contenir des informations protegees par le secret professionnel, le secret de fabrication ou autres regles legales. Si vous recevez ce message par erreur, il vous est interdit de le reproduire ou de le distribuer en tout ou en partie, ou de le divulguer de quelque maniere que ce soit a quelque personne que ce soit. Nous vous prions de bien vouloir en informer Atos Origin, par telephone ou par retour d'e-mail puis de detruire le message et toutes copies de votre systeme informatique. Le contenu de ce message ne reflete pas necessairement ni les opinions d'Atos Origin ni celle des membres de son groupe. Bien que l'emetteur de ce message ait fait tout son possible pour maintenir son systeme informatique sans virus, il ne peut garantir que cette transmission ne comporte aucun virus et il ne pourra etre tenu pour responsable de quelque dommage que ce soit resultant de la transmission d'un virus. ======================================================================= This electronic transmission is confidential. It may contain information that is covered by legal professional privilege, work product immunity or other legal rules. If you have received this transmission in error, you must not copy or distribute this message or any part of it or otherwise disclose its contents to anyone. Please notify Atos Origin Legal Services by telephone or return E-mail, and then delete this transmission and any copies of it from your computer system. The views expressed in this electronic transmission do not necessarily reflect those of Atos Origin SA or any member of its group. Although the sender endeavours to maintain a computer virus free network, the sender does not warrant that this transmission is virus free and will not be liable for any damages resulting from any virus transmitted. ======================================================================= _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
