Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-03-2010
Member
 
Join Date: Dec 2009
Posts: 263
Automatic generation of classes UML.java

Hello,
I am working on "Design and implementation of an XML data warehouse" I am currently in the planning stage and I need a class or method to automatically create java classes, Java UML. This method should receive as argument a String (classname). Do such classes or methods exist is provided by the JDK? Thank you in advance for your valuable help.
Reply With Quote
  #2  
Old 04-03-2010
Member
 
Join Date: Dec 2009
Posts: 204
Re: Automatic generation of classes UML.java

Hello,
Even I want to know how you can generate this, even I was trying to generate one. I want to generate a UML class diagram from an XML schema (. XSD) based on rules of mapping XML to UML, such maps is a complex Type in a UML class, the transition should happen automatically and I therefore need methods for uml designs. Is there any way to do this. If there is then please help me , I am the interested one.
Reply With Quote
  #3  
Old 04-03-2010
Member
 
Join Date: Nov 2009
Posts: 333
Re: Automatic generation of classes UML.java

Hello,
In my opinion, (details would be welcome) You should see the EMF plugins (a little old but still relevant) and GMF (using EMF). Otherwise, concepts such as introspection or meta-model should be able to answer (partly) to your expectations.
EMF: Eclipse Modeling Framework
GMF: Graphical Modeling Framework
If you have any knowledge of the above then you can use them in your code and it will be easy to generate what you are expecting for.
Reply With Quote
  #4  
Old 04-03-2010
Member
 
Join Date: Nov 2009
Posts: 583
Re: Automatic generation of classes UML.java

Hello,
For info, meta-modeling is the art of manipulating metaclasses, classes generating classes. There's an art, in the direction where the tiles come fast enough but also in the sense that when you come to implement these mechanics impress you. Everything depends on your problem in terms of amount of work. (meta-modeling is a bit heavy artillery). If you're interested anyway, you can also search on the MDE / MDA, the DSL and tools that support it (Microsoft Visual 2005 metaedit +, GMF, andromda are some examples).
Reply With Quote
  #5  
Old 04-03-2010
Member
 
Join Date: Nov 2009
Posts: 518
Re: Automatic generation of classes UML.java

Hello,
UML is a meta-model, I am not sure of this. Moreover, the problems that you cite is that the designers of GMF or Topcased. GMF Topcased and are intended to help draw a diagram of meta-models (eg UML), then generate the diagram editor models consistent with the meta-model (class diagram example). And finally finally, you apply a code generator (I have not yet mastered this area) that translates models designed to code. Hope this information will help you to decide what you exactly you want and what you are going to use.
Reply With Quote
  #6  
Old 04-03-2010
Member
 
Join Date: Nov 2009
Posts: 446
Re: Automatic generation of classes UML.java

Hello,
I found the meta-modeling, MDE / MDA, etc. and some advice on this matter. These techs are great, firstly, and secondly, the UML will be dying. When you see that Microsoft is only interested in the class diagram in the UML metamodel for the DSL Tools (Microsoft Visual 2005 IDE development very performance). I think you should go with that.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Automatic generation of classes UML.java"
Thread Thread Starter Forum Replies Last Post
get classes and object in java preeti makkar Software Development 1 07-05-2012 11:08 AM
Query in java classes Aaliya Seth Software Development 5 26-02-2010 01:34 AM
Error with Java Classes csolci Software Development 2 07-02-2010 03:39 AM
What are the different collection classes of java Sacchidananda Software Development 3 24-11-2009 03:01 PM
[UML] Automatic Code Generation Pikachoo Software Development 2 06-02-2009 11:29 PM


All times are GMT +5.5. The time now is 02:36 PM.