UML diagrams mapped to code?
Hello,
I have the following question?
Is there any online tutorial or literature presenting
sample mapping to code of more complicated(and bigger) UML diagrams,
than the trivial one to one, many to one, many to many associations.
As you can imagine, things get more complicated easily,
especially for fairly inexperienced people?
Thanx
IMHO, you do not want bigger or more complicated diagrams. Make a new diagram. Or a different view of the new behavior that you are trying to put onto one diagram. IMHO, UML should be short and sweet.
You can have a lot of diagrams, but if any one is huge and complicated, how does that fulfill the intent of communicating easilly and "universally" the way a system works? The only huge and complicated drawings I normally see day to day are data models. And that's mainly because they end up looking intimidating to lay-people (read: project managers).
- Saish
"My karma ran over your dogma." - Anon
Similar Messages
-
Creating a UML Diagrams for existing code?
Is there a way for netbeans to generate UML Diagrams for existing files? Does it generate them automatically?
Right click on the class, package or project you want to model and select "Reverse Engineer" from the popup menu. This assumes that you're using version 6.
PS. -
are there any programs to convert UML diagrams to code
or would someone like to do it for me
ill throw a couple of dollars your way?togethersoft and rational rose dothx it could be usefull
-
Display problems of UML diagrams
Hi,
I'm using UML class diagrams for a code generation, rev.eng. project etc.
I experience display problems, the classes sometimes are not displayed correctly, or don't show up at all, after I changed something in the model.
The classes have the package as background.
My guess is a partly incorrect drawing order (from back to top).
When I move the slidebar, or enforce a refresh by clicking the package,
everything is drawn from scratch on, and therefore correct then.
Project size: 50+ classes
My first guess was to blame the system, but I'm having the same problems
on a different computer.
Thus, please also state if you have experienced the same problem.
Gets a bit annoying over the time, when doing serious work.
GreetsThis is a known issue with redrawing/repainting when the elements are containing the container, eg, package. Sorry for the inconvenience.
-
UML diagrams and Object Oriented programming
In a project for CSC120 at school we have to program a casino using java. We were given a UML diagram of how the professor wants it set up, and I am having some difficulty understanding exactly what some of this means, code wise.
Part of the UML diagram:
Game
userMoney: int
bet: int
playAgain() : bool
askBet() : int
Payout(amt: void) : void
takeBet(amt:void) : bool
I understand the first two blocks, but the last one confuses me. I get that these are the different functions the class will use, but what does the text inside the parentheses mean, and the text after the colon? And what would this look like in code? If someone could post a link to an example program it would greatly help, or just post a simple example here.
Here is what I have so far in the class file:
* ASCIIcasino.java
* Version 1.0
* Alachine
* Last Modified: 01/19/2006
public class Game
int usermoney;
int bet;
public boolean playAgain()
public int askBet ()
do
System.out.println("How much do you wish to bet?");
scannergameinput = new Scanner(System.in);
while(!scannergameinput.hasNextInt());
bet = scannergameinput.nextInt();
System.out.print("Your bet: ");
return bet;
public void Payout ()
int amt;
public boolean takeBet ()
int amt;
}Am I doing this correctly so far, or what am I not getting? Thank you for your time.
Edited to update code.
Message was edited by:
AlachineplayAgain() : 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)
} -
Practical use of UML diagramming tool....
Hi ,
the use of UML diagramming tool is to present the system to end user (use cases) ... like the Entity Relationship Diagram in the Oracle Designer....
However , i 'd like to ask if the product of this tool can be used as a base to produce something else afterwards in the whole system...
I mean that in Oacle Designer , when the analyst designs the ER Diagram and saves it to the repository... this can be used to automatically generate the tables... in the repository also and then to the database...!!!!!
Is there analogous using UML diagramming tool....?????
Many thanks,
SimonThe UML class diagram can generate Java classes and ADF Business Components.
The Database modeler in JDeveloper can generate the database objects.
Also when you are designing the page flow diagram you are actually building the JSF or Struts flows.
The hands-on-lab that you can find on the right side of this page:
http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html
Shows off some of the model to code capabilities of JDeveloper: -
Cannot find UML diagrams in the "New" dialog
I must be missing something simple but I can't for the life of me figure out how to create a UML diagram in JDev 11g. I had previously had the beta version with which I had no problems. But since I installed the release version, there is no "Diagram" category in the "New" dialog.
Are there different packages of the product that have different capabilities? It doesn't seem so from the download site. Or is there an extension I'm missing?
I've searched the forum to no avail.
I'm running on Mac OS X 10.5.6. Below is my version info:
Thanks.
-bob
About
Oracle JDeveloper 11g 11.1.1.0.1
Java Edition Version 11.1.1.0.1
Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
Copyright © 1997, 2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.31.51.88
Product ID: oracle.jdeveloper
Product Version: 11.1.1.0.31.51.88
Version
Component Version
========= =======
CVS Version (External) (CVS) 1.12.13 (client/server)
Java(TM) Platform 1.6.0_07
Oracle IDE 11.1.1.0.31.51.88
Versioning Support 11.1.1.0.31.51.88
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
ceditor.java.parse.large 1500
ceditor.java.parse.small 300
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
compiler.vmargs -Xmx512m
EDITOR_J2SE_VERSION 1.5
feedbackmanager.disable true
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|*.local|169.254/16|*.169.254/16
gopherProxySet false
http.agent Mozilla/5.0 (Java 1.6.0_07; Mac OS X 10.5.6 x86_64; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.bootstrap.start 1231962124743961000
ide.build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
ide.conf /Applications/jdevjavabase11110/jdeveloper/jdev/bin/jdev.conf
ide.config_pathname /Applications/jdevjavabase11110/jdeveloper/jdev/bin/jdev.conf
ide.debugbuild false
ide.devbuild false
ide.editions oracle.studio, oracle.j2ee, oracle.jdeveloper
ide.extension.role.search.path jdev/roles
ide.extension.search.path jdev/extensions:sqldeveloper/extensions
ide.firstrun false
ide.java.maxversion 1.7
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.max.jar.handles 500
ide.patches.dir jdev/lib/patches
ide.pref.dir /Users/rlf/.jdeveloper
ide.product oracle.jdeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Applications/jdevjavabase11110/jdeveloper/jdev/bin"
ide.throttleLocale true
ide.user.dir /Users/rlf/.jdeveloper
ide.user.dir.var JDEV_USER_HOME,JDEV_USER_DIR
ide.work.dir /Users/rlf/jdeveloper
insight.suppresshidden true
INSIGHT_OMIT_HIDDEN true
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
java.home /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.io.tmpdir /tmp
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06-153
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_07
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 1.6.0_07-b06-57
line.separator \n
mrj.version 1040.1.6.0_07-153
oracle.home /Applications/jdevjavabase11110/jdeveloper
oracle.macosx.disableWebBrowser true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
os.arch x86_64
os.name Mac OS X
os.version 10.5.6
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
socksNonProxyHosts local|*.local|169.254/16|*.169.254/16
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.awt.keepWorkingSetOnMinimize true
sun.boot.class.path ../lib/lwawt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar:../../rdbms/jlib/ojdi.jar
sun.boot.library.path /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
user.country US
user.dir /Applications/jdevjavabase11110/jdeveloper/jdev/bin
user.home /Users/rlf
user.language en
user.name rlf
user.timezone America/New_York
windows.shell.font.languages en
xdf.enablexdf true
Extensions
Name Identifier Version Status
==== ========== ======= ======
Ant oracle.ant 11.1.1.0.31.51.88 Loaded
Bug Database oracle.jdeveloper.bugdb 11.1.1.0.31.51.88 Loaded
Check For Updates oracle.ide.webupdate 11.1.1.0.31.51.88 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.31.51.88 Loaded
Command Line Formatting Support oracle.jdeveloper.ojformat 11.1.1.0.31.51.88 Loaded
Command Line Make/Rebuild Support oracle.jdevimpl.oj-compiler 11.1.1.0.31.51.88 Loaded
Component Palette oracle.ide.palette1 11.1.1.0.31.51.88 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.31.51.88 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.31.51.88 Loaded
Extension Designtime Core oracle.jdeveloper.extensiondt.core 11.1.1.0.31.51.88 Loaded
Extension Designtime UI oracle.jdeveloper.extensiondt.ui 11.1.1.0.31.51.88 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.31.51.88 Loaded
Feedback oracle.ide.feedback 11.1.1.0.31.51.88 Loaded
File Support oracle.ide.files 11.1.1.0.31.51.88 Loaded
Help System oracle.ide.help 11.1.1.0.31.51.88 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.31.51.88 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.31.51.88 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.0.31.51.88 Loaded
JDeveloper oracle.jdeveloper 11.1.1.0.31.51.88 Loaded
Java Annotation Inspector oracle.jdeveloper.annotation.inspector 11.1.1.0.31.51.88 Loaded
JavaBeans, Swing, and AWT oracle.swingawt 11.1.1.0.31.51.88 Loaded
Local Help for Java Edition oracle.java.help 11.1.1.0.0 Loaded
Log Window oracle.ide.log 11.1.1.0.31.51.88 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.31.51.88 Loaded
Navigator oracle.ide.navigator 11.1.1.0.31.51.88 Loaded
Nightly Indexing support oracle.ideimpl.indexing-rt 11.1.1.0.31.51.88 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.31.51.88 Loaded
Oracle IDE oracle.ide 11.1.1.0.31.51.88 Loaded
Oracle JDevloper Deployment Core Module oracle.deploy.core 11.1.1.0.31.51.88 Loaded
Peek oracle.ide.peek 11.1.1.0.31.51.88 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.0.31.51.88 Loaded
Profiler oracle.jdeveloper.profiler 11.1.1.0.31.51.88 Loaded
Properties File Support oracle.jdeveloper.props 11.1.1.0.31.51.88 Loaded
Property Inspector oracle.ide.inspector 11.1.1.0.31.51.88 Loaded
Refactoring oracle.jdeveloper.refactoring 11.1.1.0.31.51.88 Loaded
Replace With oracle.ide.replace 11.1.1.0.31.51.88 Loaded
Runner oracle.ide.runner 11.1.1.0.31.51.88 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
SearchBar Commands oracle.ide.searchbar.commands 11.1.1.0.31.51.88 Loaded
VHV oracle.ide.vhv 11.1.1.0.31.51.88 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.31.51.88 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.31.51.88 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.31.51.88 Loaded
Virtual File System oracle.ide.vfs 11.1.1.0.31.51.88 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.31.51.88 Loaded
XML Compare oracle.jdeveloper.xml-compare 11.1.1.0.31.51.88 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.0.31.51.88 Loaded
XML Editing Framework Java Integration oracle.jdeveloper.xmlef 11.1.1.0.31.51.88 Loaded
appoverview oracle.ide.appoverview 11.1.1.0.31.51.88 Loaded
audit oracle.ide.audit 11.1.1.0.31.51.88 Loaded
audit-core oracle.ide.audit.core 11.1.1.0.31.51.88 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
dependency-java oracle.jdeveloper.java.dependency 11.1.1.0.31.51.88 Loaded
dependency-refactor oracle.jdeveloper.refactoring.dependency 11.1.1.0.31.51.88 Loaded
dependency-xsd oracle.jdeveloper.xsd.dependency 11.1.1.0.31.51.88 Loaded
deploy-ant oracle.deploy.ant 11.1.1.0.31.51.88 Loaded
deploy-rt oracle.jdevimpl.deploy-rt 11.1.1.0.31.51.88 Loaded
ide-diagnostics oracle.ide.diagnostics 11.1.1.0.0 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.31.51.88 Loaded
oracle.ide.filequery oracle.ide.filequery 11.1.1.0.31.51.88 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.31.51.88 Loaded
palette2 oracle.ide.palette2 11.1.1.0.31.51.88 Loaded
performance oracle.ide.performance 11.1.1.0.31.51.88 Loaded
searchbar-gallery oracle.ide.searchbar.gallery 11.1.1.0.31.51.88 Loaded
searchbar-help oracle.ide.searchbar.help 11.1.1.0.31.51.88 Loaded
searchbar-index oracle.ide.searchbar.index 11.1.1.0.31.51.88 Loaded
status oracle.ide.status 11.1.1.0.31.51.88 LoadedThe answer is in the second line of the About Box dump
Oracle JDeveloper 11g 11.1.1.0.1
Java Edition Version 11.1.1.0.1
You're running the Java Edition of the product not the full Studio*.* If you downloaded and installed the studio edition then the issue will be that you started the product with the Java Dvelopment role - You can fix that simply:
Tools > Preferences > Roles, check the Always prompt for role selection at startup and then restart JDeveloper. -
Retro engineering from Java to produce UML diagrams
Hi,
What are the free tools available to produce UML diagrams from the Java code of an application ?
I tried some with Eclipse, but i am not convinced with the results obtained.
Are there good free tools for this kind of task ?
Thanksjfk wrote:
Hi,
What are the free tools available to produce UML diagrams from the Java code of an application ?
I tried some with Eclipse, but i am not convinced with the results obtained.
Are there good free tools for this kind of task ?
Thankshttp://www.umlgraph.org/index.html
http://www.objectaid.com (not free)
http://essmodel.sourceforge.net/download.html
Nebeans UML extensions -
How do you generate uml diagrams And decoding java programs
1)Hi i have neatbeans 5.0 i have finished witting my code and i wanted to know if there is a way to generate uml diagrams straight from the code.
2) Also i think i have bought a java programme to improve your memory and i wanted to know is there a way you look in the java sorce code so i can change the settings the file has a dynamic.dll(application extension), a level(dat File) and a unins000(dat file)Darryl.Burke wrote:
Also i think i have bought a java programme to improve your memory
Did you remember to install it?I don't think his memory goes back that far :) -
What to use For Developing a UML diagrams Tool??
Hi!
I am student of BS(Computer Sciences) and am doing my Final Year Project. I am implementing a research Thesis and my project involves developing an environment that would allow the Modeler/user to draw UML diagrams like Visual Paradigm, Rational Rose etc. I further(if i found time for that) would be writing a "Code Generation Engine" that will generate the Java code for the drawn UML diagrams. I am more than good at Java and am developing my project in Java.
The thing about which i am confused is that how to develop an environment that would allow the drawing of UML diagrams. I was first considering to work on NetBeans Visual Library API but i found it too much Generic, i mean i had an overhead of managing the UML diagram details in terms of my "custom Widgets". Then some one told me about Eclipse Graph Editing Framework(GEF). But i am not quite sure about it. I wanted to ask that should i use NB Visual Library or Eclipse GEF or if there is any other Java Library allowing to draw UML diagram and possibly generating the XMI(a kind of XML standard) of the drawn UML diagrams for parsing it and generating Code.If some one knows a solution please answer!
Any refernce would be appreciated!
thanks,
Hassan Ali.I am more than good at Java and am developing my project in Java.Perhaps you are good at the java LANGUAGE, but that is not what matters here; you need to be good at system architecture, design and implementation for which Java may be a tool to do part of the job. Why don't you pick something that does not take a team of skilled developers to create over a number of years (and even then the product is generally flawed)?
Remember: papers are more important than the end product when you are in school. I did a project that was basically two web based systems (servlet/JSP/XML-RPC) to which a PDA device could connect to indicate medical problems. I made a few basic apps, one of which was a simple picture of a human on which you could point where it hurts. Depending on the zone that was pressed, the system would determine how alarming it was and if immediate action would need to be taken (the heart of course was red alert). One other such applications was a simple big red button that read PANIC.
The design was pretty basic; web services for application communication, real time management interface to see incoming messages, very basic PDA applications for the end user part. But two things made our grade shoot to the stars.
- one person who entered the project really late (and did no development at all) made an absolutely fantastic powerpoint presentation talking about the elderly and people with heart conditions and such and so forth (queue in pictures of elderly people and children with toothpaste smiles) and there were even truthful statistics thrown in there.
- a last minute addition was that the systems were linked together; if one would fail (which would be the worst case scenario where the power would go out and the backup power supply would not last long enough), the other would take messages and forward them to the failed system as soon as it was up again so no calls would ever be completely lost, even if there would be some sort of a delay.
That was it. The fact that everything worked was nice; the fact that we had a wonderful presentation, a big pile of documents and we managed to work in a backup system was what rocked the world. -
How to implement a UI similar to a UML Diagram with connections?
I'm working on an App that has a hierarchy of nodes and connections between them (Similar to Visio, a UML diagram, or Netbeans Visual Library). The nodes can be moved around, connections between nodes are maintained, etc.
The hierarchy of nodes is easily mimicked as JavaFX Nodes in the scene graph. Implementing the UI for the connections however has proved to be trickier. Here are 2 issues I'm trying to solve:
1) Connections need to track the positioning of their 'endpoint' nodes. Let's say a connection is an arrow connecting 2 arbitrary nodes in the hierarchy. The connection is itself a JavaFX node but in a different parent than the endpoint nodes. There doesn't seem to be a way to be notified that the endpoint nodes' location in the scene has changed, only their local bounds. Because there could be a whole sub-hierarchy of nodes being moved at a time, the connections need to reposition themselves whenever one of its endpoint nodes move in the scene (or should I say - move with respect to the common 'root' pane of the nodes and connections). Any ideas on how to implement this would be appreciated!
2) I wanted the connections to 'float' independent of the nodes. I thought the StackPane would be ideal, (back pane for nodes, front pane for connections), however, the front pane "steals" all the mouse events from the back pane! There's an almost useful method called 'setMouseTransparent', but it applies to a Node AND all of its children. Thus calling this on the front pane means the Connections no longer get mouse clicks. Blah... am I missing something here? Why isn't there a setMouseTransparent() method that doesn't apply to the children? I'd like the connections (thin lines using 'Path') to get mouse events, and otherwise nodes in the back plane should get them.
As a workaround to 2, I bailed on StackPane and use a regular Pane to hold both the nodes and connections. But I need to ensure the connections are always at the 'end' of the list of children... But that's an ugly solution. I feel like either I or JavaFX am missing something here.
Thanks for any suggestions,
CraigSo you need to update the connections between nodes when the nodes are moved around?
But because the connections aren't in the same immediate parent as the nodes they are in a different "local" coordinate space... you want to somehow listen to a node's location in terms of the scene coordinates? So even though the nodes local coordinates remain the same the node moves because it's parent moves and there is now way to observe that directly. Is that right. -
Class mapping sample code error
Hi !
There is an error in a Developers guide mapping sample code: p.156-157.
(Examples 7.11,7.12 and 7.13).
For example, in 7.12 we have:
<class name="Tabloid" persistence-capable-superclass="Magazine">
<extension vendor-name="kodo" key="jdbc-class-map" value="flat"/>
.... indicator extensions ...
.... field metadata ...
</class>
instead of jdbc-use-class-map in the key attrribute of the extention tag.
Please, fix it.
Best regards,
Alex.Actually the sample is correct. It shows the mapping information if you
are using metadata extensions in place of .mapping files. To map a class
via metadata extensions, you use the "jdbc-class-map" extension key.
This is distinct from the "jdbc-use-class-map" key, which you can use to
tell the mapping tool what kind of mapping it should create. So in sum:
jdbc-class-map: Used at runtime by the MetaDataMappingFactory to map a
class to its schema.
jdbc-use-class-map: Used at dev time by the MappingTool to indicate that
the user wants a specific type of mapping to be installed. -
UML diagrams using Jdeveloper 9.0.3
I would like to get some help from people who have used Jdeveloper 9.0.3 for creating UML diagrams.
scenario
I have 2 packages namely com.pack.bo and com.pack.ejb created using Jdev.
I have business objects represented in UML inside bo package and have SB's inside ejb package.
Now how would i show the relationships from ejb's to bo's diagramatically ?
Is there any way to show the above mentioned ?
ThanksHi,
You could use the Dependency relationship to show the connection on a diagram. Also you could use Notes and Note Attachements to further annotate any relationship.
Regards,
Gerard Davison -
UML diagrams in web pages-Any posibbility in near future?
Is it possible to have a web pages that allowed user to draw UML diagrams and also provide application in
web development?
Edited by: paan on Jul 20, 2008 2:59 AMYou asked that question the other day. Why did you create a new user account to ask it again when the original question was given reasonable answers?
Please revisit your original thread and ask any necessary follow up questions there. -
Map UNSPSC code to Material Group for punch-out catalogues
Hi All,
can anyone share an experience with the best way of mapping UNSPSC codes to Material Groups for punch-out catalogues.
I've been looking at the Schema config under the Content Management section in the IMG (Supplier Relationship Management > SRM Server > Master Data > Content Management > Mapping for Schemas) but can't really find any docuemtnation to describe exactly how this can be used.
I guess the alternative option is to create a custom table and use the BBP_CATALOG_TRANSFER BADI but if this can be done as standard using config rather than ABAP developemnt that would be a preferable solution.
Thanks
ChrisHi,
Best way is to activate the BBP_CATALOG_TRANSFER BADI. this encompasses or can be customized accordingly to
1. To map UNSPSC with Product Categories/Material groups (however custom z table needs to be created which does the mapping)
2. Some supplier catalogs will send too much information, most of which is not necessary for SRM, here whatever is needed can be filtered out
This BADI overall enriches the data transferred from the supplier.
hope this helps!
Thanks,
Prashanth
Maybe you are looking for
-
How to set url in .jhm file to open specific table of content for javaHelp
Hi, I need help on to set the url for mapping JavaHelp Inside my JavaHelp content, i used to have a main topic and sub topic, for example: 1.0 Mathematics 1.2.1 Algebra in map.jhm file. how can i try to link direct to 1.2.1 Algebra? example link in m
-
Idea or maybe there is a way to do this
I have this situation where I need to send a spreadsheet to a researcher of ours. The person seeing it needs to see the client name, but we don't want the researcher to see the client name. I just used an output to excel link (automated), and told th
-
Error 404 when attempting to download purchased software
I am attempting to download some Adobe software I purchased. In Firefox, when I click the download link that says "Akami download manager" or "alternate download method" the page loads with the following error: HTTP ERROR: 404 /support/downloads/dlm/
-
Manual bank statement and Automatic bank statement
hello, i dont how to configure manual bank statement and Automatic bank statement. if anybody can provde information or material or weblinks it would be helpful to me to configure. regards santhosh
-
Question about a camera/web​-cam
Hi, Does best buy sell any camera/web-cam/security camera that can record to your computer or phone so you can watch it in the morning? I want to see what my cats are up to during the night when I wake up, if they are being naughty or nice. Preferabl