Files
model/TelosysTools/templates/infinimotion
2025-11-14 01:19:25 +01:00
..
2025-11-14 01:19:25 +01:00
2025-11-14 01:19:25 +01:00
2025-11-14 01:19:25 +01:00
2025-11-14 01:19:25 +01:00
2025-10-16 21:19:41 +02:00
2025-10-16 17:23:51 +02:00
2025-10-16 17:23:51 +02:00
2025-11-14 01:19:25 +01:00

Telosys bundle of templates for basic Java domain classes

This bundle is available for demonstration and learning purposes to get started with Telosys

It generates very basic Java domain classes (pure Java without dependencies)

A domain class is generated for each entity with a basic JUnit test case

JPA entities with JUnit test cases

This bundle generates the following Java files:

  • in "project-root"

    • pom_jpa.xml : a "pom.xml" file for JPA (designed to be renamed to "pom.xml")
  • in "src/main/java/{package}/entities"

    • {entity-name}.java : JPA entity (with JPA annotations)
    • {entity-name}Id.java : JPA composite primary key (if any)
  • in "src/main/resources/META-INF"

    • persistence.xml : a JPA configuration file example
  • in "src/test/java/{package}/entities"

    • {entity-name}JpaTest.java : JPA JUnit test case
  • in "src/test/java/jpa/data"

    • {entity-name}Data.java : JPA data initialization
  • in "src/test/java/jpa/tools"

    • DatabaseInit.java : Database initialization before unit tests
    • JpaTest.java : abstract class for JPA JUnit test
  • in "src/test/resources/META-INF"

    • persistence.xml : the JPA configuration file for test cases with H2 database

PlantUML diagram

This bunldle aims to generate PlantUML diagram files ( https://plantuml.com/ ).

It allows to transform a Telosys model to a PlantUML model.