UML Sequence diagram and class diagram

Making UML sequence diagram I didn't put activation rectangle in first object(UI) assuming that this object is always active. Is this correct? Not according to my tutor and I have to quote him:
"Finally, you have no activation rectangle for the userInterface instance, so the initial message could never have been sent."
Another thing he is picking me at is and I'm quoting him:
"In class diagram the generalisation arrow heads should be open triangles."
In my opinion there isn't strictly said that they must be open triangles especially when software lets you choose their form. Looking forward to hear your opinions.
Thanks for answers.

atch7 wrote:
Making UML sequence diagram I didn't put activation rectangle in first object(UI) assuming that this object is always active. Is this correct? Not according to my tutor and I have to quote him:
"Finally, you have no activation rectangle for the userInterface instance, so the initial message could never have been sent."
Another thing he is picking me at is and I'm quoting him:
"In class diagram the generalisation arrow heads should be open triangles."
In my opinion there isn't strictly said that they must be open triangles especially when software lets you choose their form. Looking forward to hear your opinions.
My opinion is that in the real world that is meaningless. In the real world you might encounter one or more of the following situations.
- There is no UML diagrams at all (thus whether one is active or not is moot.)
- The UML diagrams are very high level and intended merely as a starting point. Missing details does not mean that you are free to ignore that the system must still run when you are done with it.
- You will use a UML design tool that generates code, and you fill in blocks within it. Then of course details in the UML will matter. The chance that you will actually encounter this situation is almost zero. Realistically the only real place you might encounter this is if your work for a company that produces UML design tools.

Similar Messages

  • XMI & UML Sequence diagrams

    Hi everybody!
    Does anybody know where I can find some example or tutorial on how to write an XML file (following the XMI specification) representing an UML sequence diagram?
    I mean...I want to be able to write that XMI file in order to give it to a UML tool that can read it and transform it into a UML sequence diagram.
    Thanx
    Lexis

    There's very little hand-authored XMI around, so the only tutorial you're likely to find is:
    - create sequence diagram in UML tool
    - press export to XMI button
    If you're trying to use a specific tool or library, indicate which; if you're trying to work from the XMI specs, indicate which version and which tool you're targetting.
    You may well be best off exporting a few simple sequence diagrams from your tool of choice, then reverse engineering them, as tracing through the XMI -> MOF -> UML specs is both time consuming, and libiable to throw up inconsistancies, semantic variation points and implementation options.
    Pete

  • Creating UML sequence diagrams using UML Modeler

    Has anyone tried to generate UML sequence diagrams using JDev's Modeler utility. Is there a workaround for creating sequence diagrams. Does Oracle have an very near-term plans for supporting sequence diagrams.
    Thank you.
    Antonio

    While I've done a bit of work with UML, I'm by no means an expert, so this may be a dumb question...
    Isn't the point of UML (and other modeling languages) to abstract the design of a system away from the implementation? I'm hard pressed to think of a situation where a UML diagram would change based on the language chosen for implementation.
    Justin

  • Oracle UML Sequence Diagram

    hi all
    Is there any way to UML generate sequence diagram in JDev 11R2 .
    Thank you for your time.

    Yes, with the Studio edition.
    File->New. Choose the "All technologies" tab, General, Diagrams, Sequence Diagram

  • Sequence Diagram (UML)

    If I wish to represent the use case of "viewing an online document" in a UML sequence diagram. How is the document represented? As an object ? It is not an instance of a class ? This has been boggling my mind for a day !!! Please, help !

    Of course you can demonstrate this use case with a sequence diagram. You do not need to have a symbol representing "the document", and in UML 2 there is no such notation.
    To create the sequence diagram, you show the object interactions of this behavior. So you might have notation for Object 1 and Object2. And show (using arrows) how Object1 makes a method call such as viewDocument() and how Object2 (an arrow pointing at Object1's swimlane) provides the document for viewing. This is the representation of the behavior of viewing a document.
    If you want to extend UML, which you can certainly do, you can put a little document icon above the arrows to convey that this is what is being returned to Object1. This is not necessary though.
    Collaboration diagrams show relationships of object interactions with emphasis on structure.
    Sequence diagrams show same information but with emphasis on time and sequential processing.

  • Sequence diagram lifeline in Oracle BPA Suite

    I try to create sequence diagram in Oracle Busines Process Architect 11g. I use type of model "UML Sequence diagram". But in palette there is no object with type "Lifeline". How can I add lifelines to my sequence diagram?

    i guess you are clicking on file>new>model , or something like that.
    y dont you first go to designer/explorer , make sure you see the navigator frame, and click on "local" in navigator frame to start the local database first. adn then login to any database to create a model/group.
    In case it does not even happen then, and it still says unable to start the local server, check out the logs in <Oracle BPA Suite>\LocalServer\log directory and check what the error is.

  • Automatically creating sequence diagram.

    Hi,
    Is there any way to create UML sequence diagram automatically from the existing java code? I am using jdeveloper 11.1.2.2.0. I know this feature is there in older versions, debug->debug with diagram. How can I achieve that in this version?
    Regards,
    Infy

    HI Shay,
    Thanks for your reply. Is there possibilities to create activity diagram from existing code in 11g?
    Regards,
    Infy

  • Generating Sequence Diagram

    Hi,
    are there any programs that can generate automatigally an UML Sequence Diagram from a running Java program?
    Thanks.

    Hi,
    are there any programs that can generate
    automatigally an UML Sequence Diagram from a running
    Java program?
    It can be done with Rational Rose it seems..
    Yesterday only my onsite guy told me that.. I'm yet to find out how
    -TC

  • UML:  Reverse engineering and sequence diagram

    Hello,
    I would like to know if anybody knows a tool which can reverse a java application and return its sequences diagram. I know that Rational Rose and Together haven't such functions, they can only return the static view af an application (class diagrams). I need a tool like this to document some of my applications.
    Thanks for your response,
    Manu.

    Hello,
    I would like to know if anybody knows a tool which can
    reverse a java application and return its sequences
    diagram. I know that Rational Rose and Together
    haven't such functions, they can only return the
    static view af an application (class diagrams). I need
    a tool like this to document some of my applications.Together 6.0 can build Sequense diagram

  • Way to draw Class and Sequence Diagrams in JDEV

    Hi All,
    I am new to JDeveloper. I am using JDev - 10.1.3.3.
    Can anyone suggest me an example to draw Sequence and Class Diagrams in JDEV
    Thanks

    Maybe the online help can help you then:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.umlmodeling%7Cumlmodeling%7Cmod_umlclassmodeling%7Ehtml/
    Or watch these 10.1.2 demos that also apply to 10.1.3:
    http://www.oracle.com/technology/products/jdev/viewlets/10g/UML_Class_10g_final_viewlet_swf.html

  • UML Activity Diagram does not have Signal (Send and Receive) Shapes

    I'm using Visio 2013 Professional and I created a new UML Activity Diagram.
    On the left, on the UML Activity Stencil, I have only 9 shapes. I cannot find the Signal Send and Signal Receive shapes. I have searched on the other UML diagram types but can't find them.

    Hi,
    As far as I know, the UML diagrams was released in Visio 2013 Professional. It is introducing all new shapes that look great and allow you to create modern, professional diagrams. The UML diagrams match the UML 2.4 standard, and templates are available for
    the five most popular diagram types: Class, Sequence, Use Case, Activity and State.
    http://blogs.office.com/2012/10/22/professional-flexible-beautiful-uml-content/
    Thus, if we still need to use UML 2.2 template which include:  Signal Send and Signal Receive shapes, please try the workaround:
    Copy the "UML Activity Stencil" from Visio 2010 and load it in Visio 2013.
    Regards,
    George Zhao
    TechNet Community Support

  • How to use a method in sequence diagram from a class diagram

    Hello, can someone tell me how to use the method from class diagram in sequence diagram? so far i only can add a classifier to the object lifeline but i still cannot add the method from the class...
    thx

    Now that Web Services is around, I'd look at possibly implement a Web Service call in your applet, which can then be given back any object(s) on return. Set up your server side to handle Web Service calls. In this way, you can break the applet out into an application should you want to (with very little work) and it will still function the same

  • JDeveloper 11g - UML 2.0 Sequence diagram features ?

    Hi,
    Can anybody confirm that JDeveloper 11g supports UML 2.0 features for Sequence diagram or not ?
    Thanks.
    regards,
    Priya Ranjan Sahay

    Thanks.
    I have been looking for alt and other looping & conditional features, which is, as per my understanding, is introduced with UML 2.0.
    I have been working on JDeveloper 10.1.3 & its not there.

  • Open source UML tool for Code ----- Sequence Diagram ?

    Are there any open source / free tools which can generate sequence diagram from java code ?
    Thanks in Advance
    Ratheesh

    check-out www.logsequencer.com - it is a very cool tool and is only $19.
    It generates sequence diagrams from log files.

  • ERD and Class Diagram Program

    Looking for a good program(s) that will allow me to make ERD  and Class diagrams on linux.  Any ideas?

    Based on the example on wikipedia for ERD, it looks like you could use Dia. Or maybe OpenOffice Draw.
    Edit: Last time I checked, they didn't target what you want exactly, though. It may require some work to draw and position stuff...
    Edit2: the wikipedia article lists a few open source tools, too.
    Last edited by stqn (2011-01-31 01:22:16)

Maybe you are looking for