No description, website, or topics provided.
Java JavaScript Python Perl CSS Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Adapter
Drawer
META-INF
config javadoc generation from stories Apr 3, 2018
doc
errors
example
gradle adapted gradle for local jars Mar 14, 2018
lib
modeldata
out/production/resources/org/sdmlib
remotedata
src fixing javadoc Apr 20, 2018
.classpath
.gitignore
.gitmodules
.project
.travis.yml
Adapter.xml
Editor.html
GraphViz.jar
GroupAccountJarOwncloud.xml
ProjektLog.rst Generated classes get javadoc reference to generating class. Oct 11, 2015
README.md
build.gradle
build.properties
build.xml
buildSDMLib.xml
dagre-min.js
diagram.js
diagramstyle.css
drawer.js minor Feb 27, 2018
gradlew
gradlew.bat
graph.js
infinitest.filters
jspdf.min.js
properties.gradle
sdmlib-code-style.xml
sdmlib.jardesc
settings.gradle
signiture.zip

README.md

SDMLib

master : Build Status Scrutinizer Code Quality

develop: Build Status Scrutinizer Code Quality

SDMLIB-PM

Welcome to SDMLib

SDMLib is a lightweight modeling library. SDMLib intentionally comes without any tool or editor.

The idea is that you code your model:

ClassModel model = new ClassModel("org.sdmlib.sample");

Clazz uni = model.createClazz("University");

Clazz student = model.createClazz("Student")
    .withAttribute("studentID", DataType.STRING);

uni.withBidirectional(student, "students", Cardinality.MANY, "almaMater", Cardinality.ONE);

model.generate();

By running model.generate() SDMLib will generate source code from your class model. If you extend your model later on and regenerate, the code generation will identify already existing classes and fields and attributes and leave them untouched. Only new elements will be inserted, carefully.

In the example above, the generated code will be placed in package org.sdmlib.sample, which does not need to be pre-existing.

Gradle and Maven

For stable version add to your build.gradle :

repositories {
    jcenter()
}

dependencies {
    compile 'org.sdmlib:SDMLib:2.3.+'
    // compile 'org.sdmlib:SDMLib:2.3.204'  // did work when 2.3.+ failed
     
}

or for SNAPSHOT-Builds:

repositories {
	maven {
        url "https://oss.sonatype.org/content/repositories/snapshots/"
    }
}

dependencies {
    compile 'org.sdmlib:SDMLib:2.3.+'
}

In order to get started, just add the following Maven dependency:

<dependency>
    <groupId>org.sdmlib</groupId>
    <artifactId>SDMLib</artifactId>
    <version>2.3.+</version>
</dependency>

In addition to class models, SDMLib will also support object diagrams, storyboards and model transformations.

Find documentation from the code repository here

In addition to class models, SDMLib will also support object diagrams, story pages and model transformations.

SDMLib comes with [MIT licence]

JProfiler optimized

Have fun

The [SDMLib team]