UML Class Diagram Properties bug in 9.0.3

Actually, a bug report.
If one selects all of the classes and tries to change the viewing properties (to hide parameters, etc.) the changes are not made globally if any of the existing classes have already been modified. It seems OK if all classes selected have identical properties but not if any have been changed.
For that matter, I think there should be a diagram option for doing this when one right-clicks on the diagram, not just a collection of classes.
Joe

Sorry Joe, even after following your steps, I am unable to reproduce the problem. It may be specific to the properties that are trying to change.
Can you tell me what property you alter in step 1?
When you say 'select all classes', how many classes are you talking about? How do you do the selection? What property do you change the second time?
Thanks again,
Lisa

Similar Messages

  • 10g - UML Class Diagram Config Questions

    I'm very impressed with the UML Class diagramming capabilities of JDeveloper. I have a couple of configuration questions about it, however. Is there a way to tell JDev. not to alphabetize my attributes? I want them to display just as I have them ordered them from the actual attributes tab. Also, is there a way to have JDev. set the attributes visibility to "private" rather than "package". I find "package" an odd choice as a default. Thanks.

    Thank you for your comments. Regarding your questions:
    > Is there a way to tell JDev. not to alphabetize my attributes? I want them to display just as I have them ordered them from the actual attributes tab.
    This is a bug in the tool. We have an ER to allow the user to choose between
    - ordering by name
    - ordering by visibility
    - manual ordering (determined by the dialog)
    > Also, is there a way to have JDev. set the attributes visibility to "private" rather than "package".
    Not at the moment. Going forward to the next release we want to offer the user the option to customize the code generation. I have logged an ER for setting the default visibility.
    Thanks, Guus
    JDeveloper Product Manager

  • I can not drag java class onto uml class diagram - why??

    Hi
    1. I created a new java web project
    2. I created a new uml project.
    3. I created new classes in the java web project.
    4. I created a new "class diagram" in the uml project.
    PROBLEM:
    1. When I drag one of the classes onto the class diagram screen, nothing happens. That is, when I perform the "drop"...nothing happens.
    (NOTE: when I drag a "package" to the class diagram, a box representing the java package appears... I just cant get this to work for a class(s) )
    QUESTION:
    Should I be able to drag a class (or classes) from my web project src folder onto the UML project's class diagram and have UML representations of the classes appear?

    Hi Shay
    Unfortunately, I cannot view the suggested youtube stuff at work. (I'll try to view it when I get home)
    But, in the meantime, I did kind of get things working...
    After creating the java project and uml project (and initial class diagram), I had to
    1. drag the java packages (containing the classes I wanted diagrammed) onto the root node of the UML project (i.e., located on the left side "navigation" bar). Afterward, the package appeared under the UML project....Then,
    2. One by one I had to drag the individual java classes from the java project onto the root node of the UML project (i.e,. the classes then appeared under their respective packages under the UML project) . Then,
    3. Then, finally, I could drag the java classes (listed under their respective packages under the UML project) onto the class diagram panel, where the rendered properly.
    I dont know if this is supposed to be the way to "reverse engineer" java classes to be part of a UML class diagram... But, it was the only way I found that worked... thus far, anyway.
    Thanks again for reading my post and answering so promptly.... That was much appreciated!
    s

  • Jato 1.2 UML Class Diagrams

    Hi All,
    I have put together some UML class diagrams for JATO 1.2. You may find them
    useful. Please let me know if you spot any errors.
    Regards,
    Dennis Parrott.
    Dennis Parrott
    Senior Consultant
    iPlanet Professional Services
    Sun Microsystems Limited
    Guillemont Park
    Camberley Mobile: +44 (0)7765 221938
    GU17 9QG Email : dparrott@i...
    iPlanet
    e-commerce solutions
    www.iplanet.com
    [Non-text portions of this message have been removed]

    Hi Dennis--
    Only we can post files for the group. We'll be happy to do so, or if you
    would rather host a public site for them, we can post a link in the group.
    (Looking forward to seeing the diagrams.)
    Todd
    ----- Original Message -----
    From: "Dennis Parrott" <dparrott@i...>
    Sent: Monday, December 17, 2001 7:41 AM
    Subject: RE: [iPlanet-JATO] Jato 1.2 UML Class Diagrams
    Note the deliberate mistake - the document was not included - actually it
    was removed - How can I publish this to the group?
    Dennis Parrott[PARA]Senior Consultant[PARA]iPlanet Professional
    Services[PARA]Sun Microsystems Limited[NL]Guillemont Park[NL]Camberley
    Mobile: +44 (0)7765 221938[NL]GU17 9QG Email :
    dparrott@i... iPlanet [PARA]e-commerce solutions
    [PARA]www.iplanet.com
    -----Original Message-----
    From: Dennis Parrott [mailto:<a href="/group/SunONE-JATO/post?protectID=114154113180127190050057203026021130134026057192209171188199">dparrott@i...</a>]
    Sent: 17 December 2001 15:35
    Subject: [iPlanet-JATO] Jato 1.2 UML Class Diagrams
    Hi All,
    I have put together some UML class diagrams for JATO 1.2. You may findthem
    useful. Please let me know if you spot any errors.
    Regards,
    Dennis Parrott.
    Dennis Parrott
    Senior Consultant
    iPlanet Professional Services
    Sun Microsystems Limited
    Guillemont Park
    Camberley Mobile: +44 (0)7765 221938
    GU17 9QG Email : dparrott@i...
    iPlanet
    e-commerce solutions
    www.iplanet.com
    [Non-text portions of this message have been removed]
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    Choose from 1000s of job listings!
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • .java - UML Class Diagram

    Hello for my university exam, i developed an application, now i need to print the UML class diagram, so I was searching around for a tool to create the class diagram for my source code.
    I had tryed the software "borland together trial edition" for eclipse IDE, but i've two problems..
    1) it creates UML class diagram just for a package without expanding subpackages..
    2) it doesn't give an easy way to export the created UML class diagram, the only "good" format for printing it can export is a "buggy" SVG...
    Do you know better (and maybe free) software to create the UML class diagram from my sources? (or maybe you know a way to solve the two problem i said?
    thank yoU!!!

    There's a package on sourceforge call JReFactory which might do the job.

  • JBuilder and UML Class Diagrams?

    What version of JBuilder allows you to generate UML Class Diagrams from the Java code? I was thinking of downloading the free personal edition of JBuilder, but I'm not sure whether this functionality is included.

    What version of JBuilder allows you to generate UML
    Class Diagrams from the Java code? I was thinking of
    downloading the free personal edition of JBuilder, but
    I'm not sure whether this functionality is included.You need the enterprise version of JBuilder to get the UML diagram function.

  • Trouble with UML class diagram...

    i understand tha in a UML class diagram: + thing : int would translate to java like this: public int thing;but what would + thing(int,int) translate into?

    + thing : intmeans that 'thing' is a public instance variable with type int.
    + thing(int, int) : intmeans that 'thing()' is a public instance method that takes 2 int arguments and returns an int.

  • Javadoc/classes to uml class diagram

    Is there some method (or more likely program) that will convert either a collection of javadoc pages or java classes to a standard uml class diagram?
    Thanks.

    A number of UML tools allow you to reverse engineer Java classes. For example, Rational Rose.

  • Hungarian Naming Contentions for UML Class Diagram

    UML class diagram should be generic for all the available object oriented language and should not be language dependent. If we follow pure java naming conventions in UML class diagram, which make the UML class diagram Java language dependent not generic.
    I am trying to combine Hungarian Naming Contentions with Java Naming Convention so variable name will follow x_y schema where x_ is according to Hungarian notation attached with class attribute, which is named according to java naming standard. This naming standard satisfies UML naming convention and will also help in java programming.
    For an example,
    i_userNumber Here 'i_' is a Hungarian notation representing type of variable attached with class attribute . This indicates that the attribute is an interger , which is named according to java naming standard.
    Feedback Please

    You're going to get a gozillion answers to this question, and all of them will be both right and wrong to some degree, so I will give you my thoroughly opinionated answer to go along with all the rest.
    I am not a fan of Hungarian notation for one fairly fundamental reason. Java is a strongly typed language, thus it doesn't need indicators of type. By putting a type indicator on a variable you create potential problems when you change a data type. Won't happen? I am currently sweeping through a major portion of the application I'm working on changing data types for masses of variables because the database guys took a whim to change the data type in the database. If I were using Hungarian notation, not only would I have to change the type, the parameter type and return type for the accessor mutator methods, I'd also have to change the name, the name of the accessor and mutator methods, and anywhere that the variable is modified directly.
    The name of a thing should speak for its self. It shouldn't need an indicator flag on the front to tell me what it is.
    But you're talking about UML not Java code. The same thoughts apply. The name should speak for the thing it represents without the need for additional clarification.
    Hungarian notation in my not so humble opinion adds complexity by requiring the development team to spend effort learning, understanding, thinking about, processing, manipulating, touching, dealing with what is essentially a thoroughly artificial naming scheme.
    Just my thoughts on the subject. Your milage may of course vary wildly.

  • Understanding Sun Idemtity Manager using UML Class Diagrams

    If you are a Sun IdM beginner and want to quickly and logically understand the relationships between various components in Sun IDM, then you should take a look at this:
    http://objectsource.com/blogs/2010/02/understanding-sun-idm-using-uml/
    You can also download all the UML diagrams from there.
    For those of you who understand UML, you definitely know a UML class diagram is a picture worth 1000 words.
    I never remembered all of these, so I used to carry a copy of these with me to custmer requirement and design discussions.
    Whenever customer asked details that I could not recall or was not sure, I'd pull these out as a cheatsheet to confirm and further elaborate on the design approach for the Sun IdM feature implementation.
    NOTE: I am the author of that blog as well. A little background on this post -
    I wrote the blog post a few months ago and totally forgot about it.
    A few days back, I installed wordpress site stats on my blog and I was amazed to see how many people look for Google terms "Understanding Sun IdM" and end up at my blog post.
    I thought - "Hey If it was so useful to these people, then I believe it will be useful for many more" (especially developers from Java background that have turned to Sun IdM professionals)
    Hence the post here.
    A few years back, I started using Sun IdM and was absolutely unsure where to start and what relationships exist between various components. I painfully started to understand them by going through the admin console and started drawing out these diagrams. They were sitting in my vault, but I set them free a few months back.
    Had I known what I know now, I would have released it much earlier.
    Regards,
    Srikanth Shenoy
    ObjectSource - Identity Management Professionals

    playAgain() : bool
    askBet() : int
    Payout(amt: void) : void
    takeBet(amt:void) : boolThese are methods of the "Game" class, and what is inside parentheses are called parameters.
    "void" and "bool" are return types.
    public boolean playAgain()
        }In this code you have specified boolean as a return type, so you need to return a value of type bool.
    As for the void part, you don't need to return anything.
    Code should look like:
    public boolean playAgain()
             return true; //Or return false
    public void Payout ()
             int amt;
        }You need to get :int amt" in the parameters, and since its voide nothing needs to be returned.
    public void Payout (int amt)
        }

  • Java Source Code to UML Class Diagram

    Can anyone tell me exactly which kinds of relationships may be identified for a UML CLass diagram, directly from 'static' source code..
    Note that I am developing my own case tool which will convert from java to uml..
    At the moment, I have only managed to get Inheritance and Association relationships..
    Where Association is identified by looking at the types of all variables belonging to a class (excluding method variables etc) and if the type of the variable is non-primitive, than I have deduced it is an association relationship with that class.
    Would this be the right approach?
    Secondly I have noticed in JBuilder, it models dependency relationships by getting all the Imports at the top of the java source file, is this right?? also I have read that a dependency can be modelled by the variable types in operation arguments (paremeterS ?)..
    I would also appreciate if someone could clarify the difference betweeen Composition and Aggregation for me and explain if it is possible to identify the two relationships directly from java source code..
    Last but not least, what about multiplicity ? am I right in thinking that an instance variable is 0-1, an array declaration is seen as 0-n (fixed number) and a Vector/ data collection.. is seen as 0 - * (any number)..
    Thanks for any help,
    Regards
    Tony.

    although this post is way old it could do with a decent answer.
    some guidance can be taken from JSR26: UML Mapping for EJB
    find it a www.jcp.org
    also this research paper on consistency of reverse engineering between uml tools
    http://citeseer.nj.nec.com/545406.html
    Where Association is identified by looking at the types of all variables belonging >to a class (excluding method variables etc) and if the type of the variable is >non-primitive, than I have deduced it is an association relationship with that >class.
    Would this be the right approach?Yes. You could also say that if it is a java.* type then it would also be an attribute.
    Secondly I have noticed in JBuilder, it models dependency relationships by getting >all the Imports at the top of the java source file, is this right?? also I have >read that a dependency can be modelled by the variable types in operation >arguments (paremeterS ?)..JBuilder would be consistent with JSR26, and that's how i intend to implement in ArgoUml.
    I would also appreciate if someone could clarify the difference betweeen >Composition and Aggregation for me and explain if it is possible to identify the >two relationships directly from java source code..Composition is a stronger form of ownership. the composed class is owned only by 1 class. Its lifetime is strongly linked to its owner - ie. it is not created before its owner and it is destroyed before its owner is.
    eg. leg of a table.
    Agregation is weak ownership. the owned class may be owned by several classes.
    eg. a company is owned by many shareholders.
    Last but not least, what about multiplicity ? am I right in thinking that an >instance variable is 0-1, an array declaration is seen as 0-n (fixed number) and a >Vector/ data collection.. is seen as 0 - * (any number)..sound right.
    Alex

  • JDeveloper - UML Class Diagram

    Hi guys: I am looking for tutorials on UML Class Diagram. Specifically, it is possible to create a Java Class on the UML Diagram with all the fields and methods and then generate the Java Class file. Thanks

    Refer the following documentation for UML CLass diagram.
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state?navSetId=_&navId=4&vtTopicFile=umlmodeling/umlmodeling/mod_gettingstartedumlclass.html&vtTopicId=
    To generate a Java class from a UML Class diagram right-click on the UML Class diagram and select Generate Java class.

  • JDev TP3 / UML Class Diagram / How can I specify a derivative attribute?

    Hello,
    I'm trying to put derivatives (or calculated) attributes such as "age" or "price" in a class of UML diagram. In all of UML books that I've seen, a derivative attribute is represented with a "/" and the attribute's name. For example, "/age" or "/price". But in the class diagram of JDeveloper I can't put "/" in the name of attribute. So, how can I specify a derivative attribute?
    Thanks in advance,
    JVN

    Unfortunately, it is not possible to denote derived attributes in TP3. Bug 6915067 has been logged to address this in a future version.
    Thanks, Guus (JDev PM)

  • UML Class diagrams: Printing and formatting

    I really like the UML capabilities of NetBeans 5.5. In particular, I like the ability to create a "centered" dependency class diagram by right-clicking on a class and selecting "Generate Dependency Diagram."
    However, I am having trouble with some basic printing and formatting issues. I am hoping that I'm just being stupid, but I haven't been able to find documentation on how to fix this. I am using Red Hat Enterprise (3.4.6-3).
    I recently reverse engineered an 800 class project, and it didn't take too long. Less than a minute, probably.
    1. Can't get a landscape printout. Fiddle with Page Setup and Print menu items, set to landscape, but almost always get a portrait mode printout. Why?
    2. The arrowheads are frightfully small. How do you make them bigger?
    3. How can you globally set a preference to only show public attributes and operations for all classes?
    Thanks for the help.
    Dave Godbey

    Good to hear your feedback. Thanks.
    #1. there's a known bug on printing to landscape mode. However, the following workaround should print you a landscape diagram.
    - from the diagram window toolbar, click on the Print Preview button
    - from the Print Preview dialog, click on Print Setup
    - from the Print Setup dialog, click on Page Setup at the bottom left
    - from the Page Setup dialog, toggle the Landscape orientation radio button
    - press the OK button on the Page Setup and Print Setup dialogs: Your print preview should now be displayed in landscape orientation
    - now click on the Print button from the Print Preview dialog to print
    #2. I believe your diagram must be big so that the arrowheads are displayed small. Currently I don't see a way to make them bigger. Sorry for the inconvenience. I can file an enhancement on this for you or you can file one for yourself too thru the following URL.
    http://uml.netbeans.org/issues/enter_bug.cgi?component=uml
    #3. As for global preference to show only specific attributes or operations, there's an enhancement bug already, but the current version of the tool doesn't have this preference setting.

  • Extending the UML class diagrams with JDeveloper Extensions SDK?

    Hello,
    I studied the JDeveloper Extension SDK docs, but couldn't figure out how to write extensions that support UML Diagrams.
    What I would like to do, is to pin a different data model under the class diagram view.
    Well if you can't do that. In the worst case, my extension would register with a regular class diagram and listen to its events and and refuse particular changes. It would also create or use an empty class diagram and fill in the classes and associations in it. (this is less clean but I could live with it).
    Thanks in advance for all your suggestions.
    Slawek

    By definition you can change classes through the model so I guess the problem here is that the model cannot apply updates to something that it is pointing to the the compiled version of.

Maybe you are looking for