Query on Papyrus UML models with applied profiles

Hi everyone,
I'm using IncQuery for detecting changes on Papyrus UML models.
My UML models are applied with UML profiles created by Papyrus.
How can I query on models applied profiles that have the same stereotype name. How to distinguish stereotype name and UML model element name in queries?
For example, there is Connector and in the applied profile, there is also a stereotype named Connector. How can I use prefix name for this kind.
Thanks.

Since 1.0.0, you can name imports and use the name as a prefix for types:
import "umlNsUri" as uml;
import "myProfileUri" as profile;
pattern someP ( myParam : uml::Connector, myP2 : profile::Connector) {...}

Similar Messages

  • How to query UML models with OCL?

    Hello everyone,
    I am working on using OCL to query UML models.
    Besides diverse examples, I don't know how certain UML metamodel elements are accessed via OCL when an instance model is given.
    Where am I supposed to look after this information?

    Hi
    Perhaps you want
    Transition.allInstances().extension_ensureRole->excluding(null).role
    Regards
    Ed Willink
    On 17/07/2015 10:58, Jens Bürger wrote:
    > Thanks,
    >
    > so for now I will use Mars.
    >
    > I managed to get close to what I want in a first test case.
    > I have a state chart and a transition with a stereotype <<ensureRole>>.
    > This stereotype has a tagged value "role" which is represented as a
    > String array. The actual only element is "a=b".
    >
    > I use the following query:
    > Transition.allInstances()->select(t |
    > t.getAppliedStereotypes().name->includes('ensureRole')).getAppliedStereotypes().getAllAttributes()->select(x|x.name='role')
    >
    > The result is:
    > ensureRole::ensureRole::role
    >
    > So how can I access the tagged values?
    > The respective part of the .uml-file looks like this:
    >
    > ..
    > </uml:Model>
    > <ensureRole:ensureRole xmi:id="_e75g0Cu0EeWNw6GF_Fgubg"
    > base_Transition="__AaxQIRzEeSbXcAiNcJFPQ">
    > <role>a=b</role>
    > <role>x=y</role>
    > </ensureRole:ensureRole>
    > </xmi:XMI>
    >
    >

  • UML modeller is so buggy that it's almost useless

    Looks like JSE 8 is released without quality control, at least the UML modeller part of it. I have been now trying to draw one complex sequence diagram 4 hours. Elements jump around randomly, lines go to wherever they want, sometimes you cannot assign label to messages, sometimes you do.
    There is no undo. After you have 12 elements and you do something which makes layout manager suddenly go haywire giving elements random positions, you cannot undo. Draw those 12 elements again. Now, imagine the situation with 50 elements.
    The last straw that broke camel back was that after I finally got my diagram "almost readable state" saved it and reopened it, the formatting was totally broken. All work lost. Here is a screenshot:
    http://www.ee.oulu.fi/~moo/sun_just_cant_do_it.JPG
    Hell, I would have been finished in half of a time with MS PowerPoint and have some WORKING documents in my hands.
    Sun follows its tradition and fails to ship decent desktop software. If you plan to do UML modelling with JSE8 and your UML model contains more than four boxes, forget it. They say they are giving 1300$ worth of software for free. I wouldn't use this tool for any serious work even if they paid me 5000$, since I'd rather work without headaches and it's no good to tell your client "sorry, couldn't do it since my software development environment just ate the plans".

    First of all, thanks for your feedback.
    (It would have been much better if it was a bit softer in tone :) )
    This issue has been reported earlier on the forum, and we addressed it. We fixed many issues with sequence diagrams. They will be available to you in our next TPR (TPR3) releasing very soon.
    In a situation where we don't have a scheduled TPR in the near future, we can provide you with a patch. And, It is always a good idea to browse the forums to see if the issue has been reported earlier and any workarounds posted in response.
    We always welcome constructive feedback (with a positive attitude :) ) and try our best to address the issues and make our tool better.
    Thanks
    Jyothi.

  • Weblogic Portal UML Modeling

    hello,
    Could you give me an example of UML Modeling with BEA Weblogic Portal Framework?
    I have no idea how to match InputProcessors,PipelinesComponents ans EJBComponents
    to build up UML Diagrams for my project .... any suggestions?

    What is the objective of this modeling? Documentation? Communication?
    Architecture? Design?
    I would do the following:
    o Model EntityBean components as the classic UML domain model
    o Model SessionBeans / PipelineComponents as process / controller classes
    o Model InputProcessors as almost interface classes
    (See Jacobson: Robustness Analysis:
    http://www.cs.hmc.edu/courses/2002/spring/cs121/slides06.6.pdf)
    The most important artifact is the UML domain model...
    You can also then draw sequence diagrams bringing together these different
    types.
    "rogelio carrasco" <[email protected]> wrote in message
    news:3ee8d3b5$[email protected]..
    >
    hello,
    Could you give me an example of UML Modeling with BEA Weblogic PortalFramework?
    I have no idea how to match InputProcessors,PipelinesComponents ansEJBComponents
    to build up UML Diagrams for my project .... any suggestions?

  • Mapping Code to Design with UML Modelling

    Hello
    I want to know if I could map code to design automatically with using UML modelling function using JDeveloper 10.1.3? What I mean is... I know I could transform Java classes from Class Diagram, but, how about mapping code automatically with Sequence Diagram? By the way, what is the main function provides to us for other diagrams besides Java Class Diagram? Thank you.
    Charoite

    You can create a sequence diagram from a debugger session in JDeveloper by adding a breakpoint to your existing code and then picking Debug -> Debug with diagram. Every time you step into a class the sequence diagram will update, you can then save the diagram after ending your debug session and edit it from publication.
    JDeveloper does not support creating java code from the sequence diagram.
    Thanks,
    Geoff

  • FAQ: CR (based on Bex query) bursting with Local profile

    We have the following scenario
    1. A CR based on BEx query, specified to use a BW account with the property - 'use same DB account for refresh'.
    2. Created a profile with two different Groups, each group having a specific CR expression for a field. The users in this group are enterprise aliases not BW aliases
    3. Created a publication with the above two Groups as 'Enterprise Recipient'
    4. Assigned personalization on a specific field with local profile (the profile created in step2)
    When we schedule the publication with the option 'single DB refresh for each batch', it fails with the error "User specific security is in use. One database fetch per recipient must be used"
    Env: BOE XI 3.1 SP2, Windows
    Edited by: Rajesh Jayakumar on Oct 27, 2009 9:33 PM

    Hi,
    would suggest you open it in the general BusinessObjects forum as this doesn't look to be related to the SAP Integration Kit
    Ingo

  • IOS 5.1 or iPhone Configuration Profile 3.5 for Windows has not fixed the issue with apply Proxy Settings

    iOS 5.1 or iPhone Configuration Profile 3.5 for Windows has not fixed the issue with apply Proxy Settings via a Configuration Profile. Has anyone else got the same issue? Are Mac users got this issue?

    This seems to be working for me now but will keep monitoring it the next couple of times I use it to make sure its not a one time thing

  • UML Schematics with No Model Explorer Useless

    Sorry for my brash manner, but without Model Explorer Visio 2013 Professional is useless to me. For UML, there was NO BETTER consolidated design and navigation window than Model Explorer.
    There, developers could view and manipulate the hierarchy of the design with nice tree structures. The Model Explorer provided good viewing and design mechanics at the Model level. The Model Explorer was the core of Visio for many years, and without it's functional
    "drag and drop" window, I can find no adequate design tool for UML Schematics with more than 3-4 Static Structures. How can this be serviced?
    +__+

    Hi,
    As far as I know, in Visio 2013 the UML solution is being replaced by a new content-focused template that is quick and lightweight.(http://technet.microsoft.com/en-us/library/cc178954.aspx)
    Then, I tested in my computer, I could not find the Model Explorer, because it drop the feature Reverse Engineer Database, so it also cannot show the Model explorer.
    We could try to use new UML solution in Visio 2013:
    http://blogs.office.com/b/visio/archive/2012/10/17/uml-and-database-diagrams-in-the-new-visio.aspx
    Regards,
    George Zhao
    TechNet Community Support

  • Procedural Programming with UML Modelling

    Hello,
    I want to design my program with the UML Modeling but my programming language paradigms is procedural not Object Oriented Program. I can hear many programmer says: "UML not only for oriented programming". Its True?
    So, from where should i start, What are
    diagrams to be used for procedural
    programming  Please help mention that the UML diagrams.
    Thank You
    Hope Your answer

    You can create a sequence diagram from a debugger session in JDeveloper by adding a breakpoint to your existing code and then picking Debug -> Debug with diagram. Every time you step into a class the sequence diagram will update, you can then save the diagram after ending your debug session and edit it from publication.
    JDeveloper does not support creating java code from the sequence diagram.
    Thanks,
    Geoff

  • Creating class diagrams with the Endevo UML Modeller

    I need to create a UML class diagram from existing LabVIEW 2009 projects and classes.  Has anyone had any experience using the Endevo UML Modeller 1.2 to do this?  The web site does not have an evaluation version of the UML Modeller.

    Try cross-posting (mention the cros post) on the LAVA OOP forum here.
    The develpers from Endvo watch that fourm and reply regularly to GOOP questions.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problems with applying drivers

    Hi. 
    I've had a struggling with applying drivers for a new machine model we started to use in our company. 
    I've made a step in our task sequence to apply drivers, if the wmi query returns version "ThinkCentre E73".
    When i try to run the wmi code on the computer after installtions, it says "ThinkCentre E73" 
    So cant really see the reasons why its not installing the drivers.
    Here is what the smstslog says about the step: *
    Parsing step node: Lenovo ThinkCentre E73 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Description: Lenovo ThinkCentre E73 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    ContinueOnError: TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    SuccessCodeList: 0 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    A condition is associated with the step found
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    Found and operator. TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    There are 1 operands TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    **Processing expression node TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Found SMS_TaskSequence_WMIConditionExpression expression.
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    **In ProcessBuiltInCondition node: expression
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    There are 2 operands in the built in action
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    Operand Namespace=root\cimv2 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Operand Query=SELECT * FROM Win32_ComputerSystemProduct WHERE Version = "ThinkCentre E73"
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    Successfully added 3 condition parameters TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Disable: TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Run in attribute: WinPE TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Timeout: TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    DefaultVarlist found TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Variable name: OSDAllowUnsignedDriver TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Action command line: osddriverclient.exe /install:PS100033  /unsigned:%OSDAllowUnsignedDriver%
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    Adding instruction at 90 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Processed all elements TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Adding end group instruction at 91 TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    The next instruction after group will be at 92
    TSManager 23-10-2014 11:12:30
    1148 (0x047C)
    Processing group TSManager
    23-10-2014 11:12:30 1148 (0x047C)
    Any ideas left? 
    It's not bringing an error or anything, and my best guess would be that it doesnt respond to the version number. 
    How can i troubleshoot ths further on? 
    Thanks in advance   

    Just try to add an additional LAN driver otherwise, which is signed by default. Within SCCM unsigned drivers are ignored by default. Did you download specific drivers or using Lenovo Update Retriever?
    More about driver management on Dell, HP and Lenovo systems:
    http://henkhoogendoorn.blogspot.nl/2013/12/download-driver-packages-for-dell-hp.html
    And this one will do also: How to import Lenovo drivers in ConfigMgr easily:
    http://henkhoogendoorn.blogspot.nl/2014/02/good-news-when-you-are-using-mdt-andor.html?spref=tw
    In the past I used 4 numbers/figures as WMI query.
    My blogs: Henk's blog | Follow Me on:
    Twitter | View My Profile on:
    LinkedIn

  • Possible solution for problems printing with ICC profiles - esp. R2400

    (N.B. This is long because I've decided to go in to details about the background of the problem etc.. Also note that whilst my experience is with the Epson R2400, anyone with problems printing using ICC profiles in Aperture may find this post helpful, as will be explained further down the post.)
    Ok, here's the situation. I've been an Aperture user for over a year, and an R2400 owner for half a year. In that time I have done a huge amount of experimenting, but I've never managed to get Aperture to work perfectly with Epson's 'premium' R2400 ICC profiles - the ones you can download from their site which are better than the ones provided 'in the box'. This hasn't been too big a deal because, in fact, the R2400 does a rather good job just set to 'System Managed' in Aperture and 'Epson Vivid' with a gamma of 1.8 in the printer driver. Nevertheless, it really annoyed me that something that should work wasn't, which is why I've spent a lot of time trying to figure out what's going on. Having said that, I have come across a method which will give you pretty good prints out of your Epson R2400 using the premium profiles in Aperture - it's not perfect, but it's the best you're going to get if you want to use those profiles in Aperture. I understand the words 'it's not perfect' aren't what photography experts would probably want to hear, however, I have seen a few anguished posts from R2400 owners in here before, so I think some people may find it useful.
    The whole reason why Aperture is hopeless at using the R2400's premium profiles is because - unusually - their default rendering intent is set to 'relative colorimetric' rather than 'perceptual'. You might say 'but that's good - it means you get more accurate colours!', and if you do, you're right... however, there's a snag. To get an image to reproduce well using Epson's premium profiles and relative colorimetric rendering, you really need to use black point compensation. This is where the trouble lies: Aperture's black point compensation is diabolical to the point of being unusable when used with relative colorimetric rendering - I feel I need to be awarded compensation every time I've ever tempted to use the setting. So because BPC in Aperture is unusable, that effectively makes the premium profiles unusable too, because Aperture always uses the default rendering intent specified in the profile.
    The solution? Use perceptual rendering instead. Ok, so you can't change the rendering intent in Aperture, which makes that sound a tad difficult. However, as I said in the above paragraph, Aperture always obeys the default rendering intent specified in the profile... so you can see where we're going with this: we need to change the ICC profiles' default rendering intent from 'relative colorimetric' to 'perceptual'. I did some digging around and found one or two expensive pieces of software that could do that... but then I found that, lo and behold, the Mac OS has a command-line utility which can do the job for us, for precisely £0.00. It's called SIPS or 'Scriptable Image Processing System', and you can find out some information about it here: http://developer.apple.com/technotes/tn/tn2035.html#TNTAG58 For those who don't like reading technical jargon however, here's what you need to do to convert a profile's rendering intent. First go to terminal, then type in the following command:
    sips -s renderingIntent perceptual
    Do not press 'enter' yet. Instead, add a space after 'perceptual', find the ICC profile you want to modify, and click and drag it into the terminal window. You should then find that your command looks something like this:
    sips -s renderingIntent perceptual /Users/yourname/folder/RandomProfile.ICC
    At which point you can then press 'enter', and the command will execute, giving you an ICC profile which will now make Aperture use perceptual rendering.
    There is just one further thing to be aware of after doing this: for some crazy reason, you then need to turn on BPC in Aperture for the prints to come out as good as possible. Black point compensation shouldn't make any difference when using perceptual rendering as the idea of perceptual is that it takes account of things like that anyway, however, in Aperture BPC does make a difference, so remember to turn it on to get a half decent print. In general, I find that prints made using this setup come out pretty well; they almost perfectly match prints made using the profiles with a perceptual intent in Photoshop Elements, except for the fact that Aperture blocks up the shadows a bit more than Photoshop. However, if you can live with that, you might find this is quite a workable solution.
    Now, I said near the beginning of this post that all the above can apply to other printers too. Most printer profiles have 'perceptual' set as their default rendering intent, in which case everything I've just said won't be of much help. However, If you are reading this because you're having problems with ICC profiles in Aperture, but you don't use an Epson R2400, find your problematic ICC profile, double-click on it, and take a look at the window that opens: specifically, at the 'Rendering Intent' the window mentions. If it doesn't say 'Perceptual' then it may well be worth trying the steps I've outlined in this post to set it to perceptual, to see if doing so produces an improvement when using the profile in Aperture.
    Finally, just one note of caution: if you decide to try out the steps I've detailed above on a paid-for custom-made profile, please back your profile up before messing with it. I haven't experienced any problems when using SIPS to change a profile's rendering intent, but I obviously can't guarantee that it won't do something weird and corrupt your expensive custom-made profile.
    If you have any questions, feel free to ask, although (contrary to any impression I may give) I am not a colour-management expert; I'm just someone who doesn't give up when they have a problem that should be solvable.
    Thomas
    Mac Pro 2.0GHz with 30" ACD; 15" MacBook Pro 2.0GHz   Mac OS X (10.4.10)  

    Thomas
    Wow - thanks for such a comprehensive post.
    I have Aperture and a 2400 so this information is exceptionally useful to me.
    Again - thanks for caring and sharing
    Brian

  • App-V 5.0 SP2 RDS Client with hotfix 2 breaks frequently on Windows 2012R2 with User Profile Disks enabled

    Hi All,
    I am at my wit's end trying to troubleshoot this, so any help would be greatly appreciated.
    We are having serious stability issues with App-V 5.0 SP2 RDS in our environment with User Profile Disks enabled.
    We have applied the latest hotfix but the issues persist.
    The main problems are:
    1. Periodically the client seems to become corrupted and all applications stop working for all users. All applications including the official Microsoft Office 2013 ones - not just our packages.
    The symptoms are the same as if I change the App-V Client Service account to run under a user account instead of SYSTEM, so it suggests a file access issue. The log files also hint at this, and one of there errors is similar to this:
    The virtual application 'C:\Users\rds.user9\AppData\Local\Microsoft\AppV\Client\Integration\A3EF9C01-C0E9-4AC5-B21F-DB9B1D2F700C\Root\Mindjet\MindManager 14\MindManager.exe' could not be started because the
    App-V Subsystem 'Virtual Filesystem' could not be initialized. {error: 0x6740090A-0x20003}
    Once this problem occurs the only way I have found to fix it is to either completely remove and reinstall the client, or (perhaps this is the big clue) rename the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes , unpublish
    an application, then republish said application.
    I don't even think it matters which application gets published. The point seems to be that this 'Volumes' key gets rewritten.
    I am highly suspicious that our issues are caused by User Profile disks in our RDS environment, as when I disable them on our staging collection all of these issues seem to disappear.
    I have made sure all of the servers have permissions on the share (folder and share permissions). It doesn't seem to make a difference.
    2.  Some application fail completely with User Profile Disks enabled. If we switch the setting from "Store all settings and data on the user profile disk" to "Store Only the following folders" there seems to be some improvement,
    in that at least one application that fails on the other setting starts to work.
    3. We have already set that NTFS 8 dot 3 reg fix some time ago.
    SOS!
    We have gone live this week (not my call) and this is having disasterous consequences. :(
    Thanks in advance,
    John

    Hi,
    Thanks for your response.
    I did try this a while ago without success, although it may be worth revisiting with SP2 applied.
    I have left this client now.
    I left them a Powershell script that deletes HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes
    and triggers an Unpublish/Publish of an application we have deployed to all of the servers.
    This seems to work, but a fix would be better than a workaround.
    Not really my problem now though - I did my best.
    Thanks,
    John

  • Why does R/3 have no ABAP UML modelling tools integrated?

    I find it strange that SAP tout the benefits of OO programming and ABAP classes, then completely fail to provide a UML round trip modelling tool integrated into the ABAP workbench.
    Doesn't this display a lack of foresight on SAPs behalf? I mean, if you are serious about the use of OO software, shouldn't you be serious about providing the framework such as UML modelling tools to facilitate optimal development?
    Currently if I design a solution with ABAP objects, I am using Altova UModel to document the solution, but the lack of integration with the ABAP environment means that I am always struggling to keep the code and model in sync.
    does anybody have similar views on this? If views are in accordance, couldn't the SDN community try to lobby SAP to provide such a tool?

    Hello Anthony
    I document my ABAP-OO developments with Altova UModel, too. A colleague recently showed me that the NetWeaver Developer Studio has UML functionality but for Java developments only (where round-trip engineering is already commonplace).
    I assume that the problem with ABAP round-trip engineering is the ABAP dictionary. With Java you have the simple data types and the the class hierarchies of Java. In ABAP we also need the dictionary types.
    I would appreciate to have such UML tools for ABAP available, yet I do not expect them to become available in the near future.
    Regards
       Uwe

  • How to use Adaptive WebService Model with CAF WebService and Complex Type

    Hi All,
    I am trying to use the Adaptive Web Service Model and call a WebService generated by the CAF. The return type of the WebService is a Complex Type.. I receive an exception when trying to instantiate the Model Node.
    Does anybody know how to use the Adpative Web Service Model with CAF WebServices and Complex Types as return type?
    Help is appreciated..
    Thanks, Johannes

    Thanks Mukesh.
    It is not possible to apply the Service Controller Template on Enterprise Java Bean Models as described in the Document. When I try to aply the template on the EJB Model, NWDS says: Only Webservice Models and RFC Models are supported...???
    I did not find any information about how to return complex types in AWS.. in this document???
    Is there such information available? Has anybody ever done that? There must be a way to do that.. Is is the standard approach, isn't it...? Please help me out there.. I need to get this running..
    Thanks, Johannes

Maybe you are looking for