JHipster-UML
このプロジェクトは非推奨であり、今後使用すべきではないことに注意してください(訳注:そのため訳も「はじめに」までに止めています)。
代わりに、このプロジェクトのJDLエクスポート機能を使用して、XMIファイルをJDLファイルにエクスポートすることをお勧めします。このファイルを使用して、JDL Studioでエンティティのモデルを作成できます。
JDLの詳細については、ここを参照してください。
JHipster-UMLは、エンティティサブジェネレータを使用する代わりに使用できるJHipsterサブプロジェクトです。リレーションシップを管理するは、従来のYeomanの質問と回答を使用するよりも、視覚的なツールを使用する方がはるかに簡単です。
JHipster-UMLプロジェクトはGitHubで利用可能であり、JHipster(Apache 2.0ライセンス)のようなオープンソースプロジェクトです。このプロジェクトが気に入 った場合は、GitHubで私たちに星を与えることを忘れないでください!
このページの内容は次のとおりです。
- はじめに
- 問題とバグ
- インストール
- JHipsterの使い方-UML
4.1. UMLファイル
4.2. JHipster-UMLを使用する
4.3. 生成されるもの
4.4. JHipsterメモ
4.5. 予約語 - 例
5.1. Modelio
5.2. UMLデザイナー
5.3. GenMyModel
5.4. その他の編集者
5.5. 列挙
5.6. テーブル名
5.7. 必須の関係 - テスト
- コントリビューション:課題と機能強化
7.1. パーサーの変更 - 付録
はじめに
JHipster-UMLは、通常のQ&Aに代わるもので、UMLエディタを使用してJHipster-UMLで解析される図を作成できます。
私たちがサポートしているエディタのリストは以下のとおりです。
- Modelio;
- UML Designer;
- GenMyModel(無料では ありませんがオンラインです)
Issues and bugs
JHipster-UML is available on GitHub, and follows the same contributing guidelines as JHipster.
Please use our project for submitting issues and Pull Requests:
When submitting anything, you must be as precise as possible:
- One posted issue must only have one problem (or one demand/question);
- Pull requests are welcome, but the commits must be 'atomic' to really be understandable.
Please note that using JHipster-UML (or JHipster) might be troublesome (one has to install some tools to really be able to use the Node environment without any issue). This link may help if you encounter an issue on Windows.
Another issue that can be encountered on Windows is this one. The link provides a solution to fix that if such a thing happens.
Finally, an issue has been reported from a Windows user using Git Bash. The JHipster generator's questions (from InquirerJS) could not work (the user is stuck when answering the questions). You might want to use Powershell or another shell when using JHipster UML (or JHipster).
Installation
To install JHipster UML use the command:
npm install -g jhipster-uml
If, however, you don't want to install the latest version globally because it doesn't match your version of the generator (see below) or if you want it contained locally, use this command instead:
npm install jhipster-uml --save-dev
If you want the 'bleeding edge' (almost perfectly safe to use) version, you can clone our git repo from our GitHub project:
git clone https://github.com/jhipster/jhipster-uml.git
for HTTPS
git clone [email protected]:jhipster/jhipster-uml.git
for SSH
JHipster UML is a tool that can be used with the JHipster's generator. If you're using the generator before v3.0.0, then you must use JHipster UML v1.6.5 (latest patch release). Otherwise, using v2.0.0+ is the choice for v3.0.0+ of the generator.