UML model specifications?

Hi,
I want to build an XML representation of an UML model (a couple of classes and relationships between them). I know that I must use XMI, but my problem is another one:
where I can find a specification doc concerning all the XML element that I must put inside the XMI declarations?
(i.e. <uml:model>, <uml:ownedElement>, <uml:associationEnd>, and so on).
I cannot find an exact description of all elements in the UML namespace that I must use.
Somebody can help me?
(I have spent many hours on the OMG site, but without results)

of course, if somebody knows something about java librariers doing that work.... maybe he/she can help me.
IBM at alphaworks develops something similar (many years ago) to produce XMI schemas from the scratch.
Maybe something similar is exiting to produce an uml-xml representation of java objects.

Similar Messages

  • 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

  • UML Modeling in JDeveloper 10.1.3

    Hello, I would like to ask is it possible for me to use the UML modeling functions in JDeveloper 10.1.3 to generate Java sources or classes? And how could I use it if possible? Is there any tutorials on the Web that about using UML modeling functions in JDeveloper 10.1.3? Thanks for any advance.

    Yes you can use UML in JDeveloper and even generate Java classes from the diagram.
    You can find some UML demos that we did for the previous version of JDeveloper here:
    http://www.oracle.com/technology/products/jdev/viewlets/1012viewlet.html
    And more information is in the online help.

  • 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

  • Mapping UML Model to Database Schema

    Hi All,
    Is it possible to map UML business object model on database schema using Mapping Workbenck? I've done the mapping with imported java classes, but wodering if same could be done with the UML models. I couldn't find any documentation about it either. This feature may be very useful in cases where you want to incorporate TopLink in the design stages of a project.
    Any help will be highly appreciated. Thanks.

    Hi Sharad,
    I agree that incorporating design time practices into this tool might be useful, but is not supported as you described.
    From the perspective of application development, I find it useful to first develop the object model in an IDE such as JDeveloper which supports UML (Which will automatically allow you to deploy the .class files of the project). I point my MW project to the output location of my .class files which seems to work great as I can make changes to the object model in the IDE and easily refresh the contents in the MW.
    I hope this helps.
    Darren

  • UML Modeling: Round Trip Engineering

    Hi!
    Yesterday I worked through and tested the UML Modeling: Developing Applications tutorial. Everything worked awsome and I managed to complete step in the tutorial.
    Today, when I started the studio and wanted to play a little more with Round Trip Engineering I found something strange.
    If I add an operation to the java-source using the source editor it do not show up in the UML class diagram but if I add an operation to the UML class diagram it shows up in the java-source.
    Is it me that is doing anything wrong?
    Is this a known issue/bug?
    Win XP Professional
    Java Studio Enterprise 8 with latest update today.
    Sincerely,
    // Paul

    Paul,
    Glad to hear you like the UML tool. Not sure which release/version you are working with so I'll try to cover all the bases hear.
    The UML module was released with the Enterprise Pack (early access version I believe), the live roundtrip was still enabled. Then we pulled UML module out of the Enterprise Pack because we needed to do some overhauling of the roundtrip feature and we didn't want to prevent Enterprise Pack from going beta, so now UML is available via the beta update center. This version of UML has the live roundtrip disabled so that code is not generated with every model manipulation and the model is not updated with every source edit. It sounds like this is the version you are working with.
    There is a strange scenario where the live roundtrip is unintentionally enabled (live roundtrip should never be enabled... ever - this is not your fault). A bug was filed and I fixed it, but the fix was integrated into a different branch than the one available via the update center. This is because we are about to release Java Studio Enterprise 8.1 and so we did all the bug fixing on that branch and all those fixes will be merged with the UML that is on the update center, probably in the next week or two, but a date has not been decided, yet.
    In summary, rest assured that the issue (and many many others) have been addressed, and those fixes will be merged into the version available on the update center very soon.
    Please keep the feedback coming on reverse engineering and code generation as we are rebuilding these features from scratch for NetBeans 6.
    thanks
    craig

  • 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

  • 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.

  • UML model synchronization

    I have a problem with the UML support that I need help with. I have an existing Netbeans project and created a UML project reversed from existing Java sources (or something like that).
    I have a source tree like this:
    com.test.packagea
                      ObjectA.java
    com.test.packageb
                      ObjectB.java
                      ObjectC.javaObjectB is dependent on ObjectC through a method call.
    The UML model shows this structure and life is good. I update my source tree from version control (Star Team) and another developer has moved ObjectC into packagea. My tree now has two ObjectC items, one in each package like this:
    com.test.packagea
                      ObjectA.java
                      ObjectC.java
    com.test.packageb
                      ObjectB.java
                      ObjectC.javaWhat I really would like is a way to reconcile this situation. Maybe a notification that source code for ObjectC in packagebis no longer available and then scan any newly created models (ObjectC in packagea) to see if that is the correct model. There may be a way to do this, but I have not found it.
    Thank you,
    David

    I have reset the project to look like this:
    com.test.packagea
                      ObjectA.java
    com.test.packageb
                      ObjectB.java
                      ObjectC.javaI now move ObjectC.java to packagea. The java project updates properly with no problem. I then right click on the com package and choose Tools-->Synchronize model from source and end up with the following project:
    com.test.packagea
                      ObjectA.java
                      ObjectC.java
    com.test.packageb
                      ObjectB.java
                      ObjectB.java
                      ObjectC.java
                      ObjectC.java (This looks to be an instance element?)I would report this but there isn't a bug/rfe report option on the Early Access home page.
    Thank you,
    David

  • OS X 10.4 Install Disc: model specific?

    Hi!
    My beloved PowerBook G4 was stolen last year, but i still have the "Mac OS X Install Disc" 1&2, installation discs that came together with the computer.
    Would these discs, should i ever need it, eventually work in my Intel-based MacBook Pro?
    Are the discs model-specific, processor-specific, computer-specific or whatever other -specificity available?
    Thanks for reading,
    Julio.

    Install disks are model specific, but more to the point OS Tiger was never released as a retail package for Intel Macs.
    Only the original Tiger install disks that came with the first Intel Macs will work.
    The install disks you have are PPC only.
    Depending on how old your MacBook Pro is, you would not in any case be able to install Tiger if that MacBook Pro originally came with Leopard:
    Don't install older versions of Mac OS than what came with your computer:
    http://support.apple.com/kb/HT2186?viewlocale=en_US
    So, consign Tiger to the history books where it belongs!

  • 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) {...}

  • UML modeling by reverse-engineering a JAVA project

    I can't seem to get over a basic hurdle to get started with UML modeling. I open an existing JAVA project. I then start a new project and choose "UML" and "-Platform model by reverse-engineering a JAVA project". Next I give the UML project a name and try to open my existing JAVA project. But the wizard does not show any project!
    Appreciate your help.
    Phil

    UML in JSE8 can reverse engineer all 4 built-in types of Java project defined in IDE. To prove that, I just downloaded apache ant source 1.6.5 from http://ant.apache.org/srcdownload.cgi and successfully reverse engineered it with JSE8.
    If you have a project with existing ant script , it's extremely easy, you absolutely don't need to hand-create a java project from scratch to specify source, library dependency etc. Just follow the wizard "create a Java project with existing ant script" to specify your Java project location, the ant script location, and * don't forget * to specify the source location. Any project without source folder specified is not considered a valid candidate for Reverse Engineer, and you won't see it listed under the project chooser in UML wizard when trying to associate the current UML project with a Java project. Please right click to bring up your source project properties to verify if you have source package folder correctly spelled out.
    It IS a supported feature, do let us know if you still have troubles to RE your project.

  • UML Modeling Tool Suggestions?????

    My group is in need of an inexpensive but good "UML Modeling Tool". We are currently looking at a tool ( Enterprise Architect ) that produces use case diagrams, object model diagrams and will produce stubs from the diagrams and will also reverse engineer. It cost about $150 per seat but has some serious short comings. We dont want anything major like "Rational Rose". Any tools anyone has experience with and can recommend that inlcude UML, use case diagrams and object model diagrams would be great.

    Together cost a bit more then $150 but it worth it. Basically any piece of your code became the piece of class diagram or package diagram. The Feature Driven Development (not Use Case based approach you are looking for in a chip tool) is recommended for Together. Sometimes FDD is much more effective and it is very close to approach recommended by XP guys.

  • 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 modeling in NWDS

    Hello,
      Do You know somebody if there is any UML plugin (UML eclipse plugin ?), tool, ... whatever to NWDS ?
    What is recommended UML modeling tool for SAP NW Java (ev. ABAP) development ?
    thanks in advance
    Marcel

    There are UML tools for eclipse available as plugins. doing a google  search for UML and eclipse dumps you many od those.

Maybe you are looking for