fulib - Fujaba library
Fulib is a library that provides code generation for UML like models and some model management functionalities. Using a domain-specific language provided by Java APIs, it allows you to define classes, attributes and associations with a meta model. From the meta model definition, Fulib can automatically generate Java code. The generated code ensures referential integrity and can optionally include support for property change listeners or JavaFX.
Fulib-generated Java files can seamlessly coexist with hand-written code and may even be modified. Great care is taken that no hand-written code is deleted or changed by code generation. Fulib is able to read and modify any Java code using language features from up to Java 11, even if it contains syntax errors or can otherwise not be compiled.
We have an Online Version at fulib.org where you can find docs and tutorials for getting started.
Installation
Gradle
build.gradle
:
plugins {
// ...
// https://plugins.gradle.org/plugin/org.fulib.fulibGradle
id 'org.fulib.fulibGradle' version '0.5.0'
}
repositories {
// ...
mavenCentral()
}
dependencies {
// ...
// https://mvnrepository.com/artifact/org.fulib/fulibScenarios
fulibScenarios group: 'org.fulib', name: 'fulibScenarios', version: '1.7.0'
// optional, to override the version of fulib used by fulibScenarios:
// https://mvnrepository.com/artifact/org.fulib/fulib
fulibScenarios group: 'org.fulib', name: 'fulib', version: '1.6.2'
}
Maven
Maven is currently not supported. See issue #52 for more info.
Usage
Check out the Quickstart Guide or the detailed documentation to learn how to use fulib.
History
Fulib is the newest tool of the Fujaba Family https://github.com/fujaba .
Period | Activity |
---|---|
1998 - 2008 | We developed the Fujaba (From UML to Java And Back Again) tool as a graphical editor for class diagrams and model transformations. |
2008 - 2018 | We moved on to SDMLib (Story Driven Modeling Library). SDMLib got rid of the graphical editors. |
2019 - present | We did a major refactoring of the SDMLib and call it Fulib (Fujaba Library) now. |
Contributing
See CONTRIBUTING.md.