UML classes with 9i JDeveloper

Hello,
I have installed Oracle's 9i JDeveloper release candidate 2 on my Red Hat 7.2 Linux box.
I was doing the tutorials of the user's guide and when I tried to do UML classes, I got an error stating that it could not continue with the execution.
I installed the 9i JDeveloper Release candidate 2 on my windows 98 and when I tried the same tutorial, the UML classes were created successfully.
Does anybody know what am I lacking? or is this a bug in Linux?
Thank you in advance.
Edgar

Bob,
The error you are getting is not related to connecting to the database. Instead, it is a bug inside of JDeveloper that is related to expanding the database connection in the Navigator.
Off the top of my head, I'm not sure what the problem is, but I will try to look back through our bug logs to see what I can dig up. In the meantime, can your confirm for me that the version of JDeveloper you are using is the 9.0.2 production release?
- John McGinnis
Oracle JDeveloper Team

Similar Messages

  • 9i JDeveloper UML classes

    Hello,
    I have installed Oracle's 9i JDeveloper release candidate 2 on my Red Hat 7.2 Linux box.
    I was doing the tutorials of the user's guide and when I tried to do UML classes, I got an error stating that it could not continue with the execution.
    I installed the 9i JDeveloper Release candidate 2 on my windows 98 and when I tried the same tutorial, the UML classes were created successfully.
    Does anybody know what am I lacking? or is this a bug in Linux?
    Thank you in advance.
    Edgar

    Its not that, u have the freedon to use any OA patched jdev version, it depends on ur instance patchset level.See metalink note 416708.1 to know which Jdev u need to use as per ur apps instance patchset level.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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

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

  • UML: Rel. with association class having attrib. Are they equivalent?

    Hi All, (and 1M Thanks.)
    Notation:
    _______________ : Bidirection
    1 : cardinality One
    *     : cardinality many
    ................: I draw it to graphically shown the association class AB
    Question 1: Is point 1 and 2 equivalent from the implementation perspective?
    Question 2: Likewise, Is point 3 and 4 equivalent from the implementation perspective?
    1.
    A (1) _______________ (1) B
    ............|
    ............|
    ............AB (association class with an attribute)
    2.
    A (1) _______________ (1) AB (1) _______________ (1) B
    3.
    A (*) _______________ (*) B
    ............|
    ............|
    ............AB (association class with an attribute)
    4.
    A (1) _______________ (*) AB (*) _______________ (1) B

    Association classes imposes that there should only be one connection between two instances, while there is no such limitation in the other case (your comparison between 3 and 4). But there probably won't be any difference between 1 and 2.

  • Creating OO database objects by using class diagrams in JDeveloper

    I am new to use JDeveloper. I create UML class diagrams (using Entity Object) in JDeveloper, which has inheritances and associations, and then choose Create Database Objects... try to create oo database, but it only create some tables in the database, not any object types ... .
    What do I missed? Or I have to create those oo database objects manually?
    Thanks.

    Tony,
    You can use database object types with BC4J, but only to implement BC4J domains (these can map to object types).
    For performance reasons, it is less practical to generate a table of object types for a complete EO. Most users view the BC4J layer as the 'pure' OO model, and map to a relational datamodel for optimal performance.
    Below some steps to create a DB object type for a domain:
    You can create Oracle Object Types in the database by creating a business component domain and then forward generating the database object. Forward generation of object tables from entity objects is not supported. To forward generate an Oracle Object Type from a new domain: In the System Navigator, right click on your business component package and choose Create Domain. When the Domain Wizard opens, review the information on the Welcome page and click Next. Enter a Name and Package for the domain or accept the defaults. Select the checkbox for Domain for an Oracle Object Type. Do not select any items on the Available Types list, as you are creating a new one. Enter the name of your new type in the Selected Type field. Click Next. On the Settings page, click New. Provide a name in the New Domain Attribute box. Select the appropriate Java type a[i]Long postings are being truncated to ~1 kB at this time.

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

  • Creating java code from a class diagram in JDeveloper

    I have created a class diagram in JDeveloper 11.1.1.3.0. When I generated java code from the class diagram by right clicking on the class diagram->transform->same diagram->UML to Java, a .java file is generated with attributes and getters/setters, and also a .uml_cla file is generated. What is this .uml_cla file exactly and what is it used for? Also I have a package.uml_pck file that was created 3 times. I have a package of com.xxx.xxxx, and it put this package.uml_pck file in "com", in "xxx", and in "xxxx". Do I need to retain all 3 of these files in my project?
    One more question related to this. When I change something in the java representation of the class diagram (i.e. a datatype), it updates the .java file that was generated from the class diagram, and it also works the other way...change the .java file and the java representation of the class diagram changes. However, the class diagram that the code was generated from does not change, nor does the mysterious .uml_cla file I asked about in the above paragraph.

    This did work for me, with an exception. I have put the .java files generated from the class diagram in a different package from the .class_diagram file, the package.uml_pck file, and the .uml_cla file to keep the actual source code separate. When I modified the .java file and transformed the class diagram from java to UML, it created the package.uml_pck file and the .uml_cla files again in the same package as the .java file, and they show the update. The package.uml_pck file, and the .uml_cla file that were originally created and are in the separate package from the .java files were untouched, thus the class diagram displayed does not reflect the change either. Does this mean I should not, or cannot, separate these files, and that they all must be left in the same package? (the purpose of separating it in the first place was for ease of deployment since we don't want to deploy any of the class diagram files) Thanks!

  • 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

  • How to generate UML class diagram in R/3 system

    I have many ABAP classes and wanna to get a clear picture for them  , is it possile for me to generate a UML class ?

    Check with below links :
    http://help.sap.com/saphelp_nw04s/helpdata/en/5f/af6e420c48c353e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07bde1cc-0201-0010-cabe-e1118fdd027b
    /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    Thanks
    Seshu

  • How can I add a Text Template Binding to an UML Class within a MenuCommand Execute Method?

    Hey,
    I am using Visual Studio 2013 Ultimate with Visual Studio SDK and the Modeling SDK. 
    I am trying to develop an Visual Studio Extension (VSIX) which contains new MenuCommands. 
    So if I execute a MenuCommand I want to add a new TemplateBinding for a specific class 
    something like that:
    IClass aspectClass = rootPackage.CreateClass();
    aspectClass.TemplateBindings.ToList().Add(new TemplateBinding());
    aspectClass.CreateTemplateBinding();
    aspectClass.CreateTemplateParameter();
    I have already created a new text template file (.tt) and I also want to pass values to this text template file when the
    menu command will be executed if this is possible?
    So the goal is 
    1. To execute a custom menu command to add a custom text template file to a specific UML Class
    2. To execute the "generate code" menu command to get a generated CSharp file which is conform to my custom text template file
    I know this is possible via the GUI, but is this also possible via code?
    Thank you very much for your support
    Regards,
    Michael
    Liebe Gr+ße Michael Web Entwickler

    Hi,
    According to your post, my understanding is that add a link to an item within a workflow email.
    I’ m not very clear about the status you said. Please descript more detail which URL do you want to display.
    Per my knowedge, you can display the following url in your email body:
    [%Workflow Context: Current Item URL%]
    [%Workflow Context: Current Site URL%]
    [%Workflow Context: Workflow Status URL%]
    [%Current Item: Encoded Absolute URL%]
    Please start the workflow automatically when an item is changed and changed.
    No matter how you  edit the item or update the approve status, the URLs remains the same.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • BPA: Unable to inlcude existing UML Class assocs in other diagram instances

    Hello,
    I have created some UML Class diagrams in Oracle Business Process Architect 11gR1 (490292) (SR 2010_07). When I create a new UML Class diagram I am able to drag-and-drop existing UML classes to the new diagram, but when I try to include some existing binary associations (that exist between the included classes) they are not included. I try to inlcude the associations as follows:
    1) Create a new UML Class diagram;
    2) Find some UML classes (that have an existing association between them) in the Designer Exprorer tree and drag-and-drop them in the diagram;
    3) Select one of these UML classes in the diagram (so the "Properties" panel fills with the details of the selected class);
    4) Go to the "Relationships" tab of the "Properties" panel and find the relationship that represents the requested binary association;
    5) Select the relationship and click the button "Show".
    Unfortunately, nothing happens (i.e. the association does not show in the diagram). The above sequence works fine in other model types (with other object types, for example in IE diagrams) but it does not work in UML Class diagrams.
    Am I doing it in a wrong way? Is there any workarond if this is a bug?
    Dimitar

    This problem seems to be a bug. However, I found the following workaround:
    1) Locate the UML classes on the new diagram;
    2) Try to create a new binary association between them. The BPA tool will check if there is an existing association between these classes and it will open a dialog box to ask you whether to create a new association or to use an existing one;
    3) Select the necessary (existing) association in the dialog box instead of confirming creation of a new one and the selected association will appear on the diagram.
    Dimitar

  • 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

Maybe you are looking for