UML到Java代码生成工具 [英] UML to Java code generation tool

查看:588
本文介绍了UML到Java代码生成工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在寻找一种从UML图生成Java代码的工具。我已经看过Papyrus和Omondo的Eclipse了。
我遇到的问题是在许多加载了JPA和JAXB类的项目中需要该工具。这使得Omondo和Papyrus都很简短,因为注释和getter / setter非常重要。
我正在寻找的是一个能够维护这些项目的图形类图的工具,比如UML图,然后根据需要将其转换为Java代码。

I have recently been looking for a tool to generate Java code from a UML diagram. I have already looked at Papyrus and Omondo for Eclipse. The problem I am having is that the tool is needed in a number of projects that are loaded with JPA and JAXB classes. This makes both Omondo and Papyrus come up short, as annotations and getter/setters are fairly important. What I am looking for is a tool that is able to maintain a graphical class diagram of these projects, like a UML diagram, and then translate that into Java code as needed.

我正在寻找的是一个可靠的类图 - > Java代码工具,最好是基于UML的工具,它支持(尽可能多)以下:

What I am looking for is a reliable Class diagram -> Java code tool, preferably UML based, that supports (as many as possible of) the following:


  • Java原语(和包装器)

  • 方法和属性的注释

  • 在类图中引用Java核心类

  • 简单的getter / setter方法生成

  • 直接在已定义的方法中编码

  • Java primitives (and wrappers)
  • Annotations on methods and attributes
  • Referencing of Java core classes in class diagram
  • Easy getter/setter method generation
  • Coding directly in the defined methods

如果有人知道某个工具(它不一定是UML类图),我非常想知道它。

If anyone knows of a tool (it doesn't have to be UML class diagrams) I would very much like to know about it.

推荐答案

对我来说,最好的UML工具是的ArgoUML 。它非常强大。基于Java。
它不断改进并成为越来越有用的工具。

As for me the greatest UML tool is ArgoUML. It is very powerful. Based on Java. It constantly improved and become more and more useful tool.

这篇关于UML到Java代码生成工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆