Skip to content

Commit 75ae6fc

Browse files
Merge pull request #56 from SpineEventEngine/type-specific-entity-states
Type-specific entity states
2 parents e446b2a + 9442a9f commit 75ae6fc

File tree

12 files changed

+179
-54
lines changed

12 files changed

+179
-54
lines changed

dependencies.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Dependencies of `io.spine.tools:core-jvm-annotation:2.0.0-SNAPSHOT.027`
3+
# Dependencies of `io.spine.tools:core-jvm-annotation:2.0.0-SNAPSHOT.028`
44

55
## Runtime
66
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -1172,14 +1172,14 @@
11721172

11731173
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
11741174

1175-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1175+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
11761176
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
11771177
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
11781178

11791179

11801180

11811181

1182-
# Dependencies of `io.spine.tools:core-jvm-base:2.0.0-SNAPSHOT.027`
1182+
# Dependencies of `io.spine.tools:core-jvm-base:2.0.0-SNAPSHOT.028`
11831183

11841184
## Runtime
11851185
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -2359,14 +2359,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
23592359

23602360
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
23612361

2362-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
2362+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
23632363
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
23642364
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
23652365

23662366

23672367

23682368

2369-
# Dependencies of `io.spine.tools:core-jvm-comparable:2.0.0-SNAPSHOT.027`
2369+
# Dependencies of `io.spine.tools:core-jvm-comparable:2.0.0-SNAPSHOT.028`
23702370

23712371
## Runtime
23722372
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -3538,14 +3538,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
35383538

35393539
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
35403540

3541-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
3541+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
35423542
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
35433543
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
35443544

35453545

35463546

35473547

3548-
# Dependencies of `io.spine.tools:core-jvm-comparable-tests:2.0.0-SNAPSHOT.027`
3548+
# Dependencies of `io.spine.tools:core-jvm-comparable-tests:2.0.0-SNAPSHOT.028`
35493549

35503550
## Runtime
35513551
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -4524,14 +4524,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
45244524

45254525
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
45264526

4527-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
4527+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
45284528
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
45294529
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
45304530

45314531

45324532

45334533

4534-
# Dependencies of `io.spine.tools:core-jvm-entity:2.0.0-SNAPSHOT.027`
4534+
# Dependencies of `io.spine.tools:core-jvm-entity:2.0.0-SNAPSHOT.028`
45354535

45364536
## Runtime
45374537
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -5703,14 +5703,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
57035703

57045704
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
57055705

5706-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
5706+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
57075707
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
57085708
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
57095709

57105710

57115711

57125712

5713-
# Dependencies of `io.spine.tools:core-jvm-entity-tests:2.0.0-SNAPSHOT.027`
5713+
# Dependencies of `io.spine.tools:core-jvm-entity-tests:2.0.0-SNAPSHOT.028`
57145714

57155715
## Runtime
57165716
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -6689,14 +6689,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
66896689

66906690
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
66916691

6692-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
6692+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
66936693
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
66946694
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
66956695

66966696

66976697

66986698

6699-
# Dependencies of `io.spine.tools:core-jvm-gradle-plugins:2.0.0-SNAPSHOT.027`
6699+
# Dependencies of `io.spine.tools:core-jvm-gradle-plugins:2.0.0-SNAPSHOT.028`
67006700

67016701
## Runtime
67026702
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -7931,14 +7931,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
79317931

79327932
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
79337933

7934-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
7934+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
79357935
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
79367936
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
79377937

79387938

79397939

79407940

7941-
# Dependencies of `io.spine.tools:core-jvm-grpc:2.0.0-SNAPSHOT.027`
7941+
# Dependencies of `io.spine.tools:core-jvm-grpc:2.0.0-SNAPSHOT.028`
79427942

79437943
## Runtime
79447944
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -9077,14 +9077,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
90779077

90789078
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
90799079

9080-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
9080+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
90819081
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
90829082
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
90839083

90849084

90859085

90869086

9087-
# Dependencies of `io.spine.tools:core-jvm-ksp:2.0.0-SNAPSHOT.027`
9087+
# Dependencies of `io.spine.tools:core-jvm-ksp:2.0.0-SNAPSHOT.028`
90889088

90899089
## Runtime
90909090
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -10303,14 +10303,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1030310303

1030410304
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1030510305

10306-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
10306+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1030710307
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1030810308
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1030910309

1031010310

1031110311

1031210312

10313-
# Dependencies of `io.spine.tools:core-jvm-marker:2.0.0-SNAPSHOT.027`
10313+
# Dependencies of `io.spine.tools:core-jvm-marker:2.0.0-SNAPSHOT.028`
1031410314

1031510315
## Runtime
1031610316
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -11490,14 +11490,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1149011490

1149111491
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1149211492

11493-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
11493+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1149411494
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1149511495
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1149611496

1149711497

1149811498

1149911499

11500-
# Dependencies of `io.spine.tools:core-jvm-marker-tests:2.0.0-SNAPSHOT.027`
11500+
# Dependencies of `io.spine.tools:core-jvm-marker-tests:2.0.0-SNAPSHOT.028`
1150111501

1150211502
## Runtime
1150311503
## Compile, tests, and tooling
@@ -12059,14 +12059,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1205912059

1206012060
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1206112061

12062-
This report was generated on **Thu Oct 30 20:59:53 WET 2025** using
12062+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1206312063
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1206412064
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1206512065

1206612066

1206712067

1206812068

12069-
# Dependencies of `io.spine.tools:core-jvm-message-group:2.0.0-SNAPSHOT.027`
12069+
# Dependencies of `io.spine.tools:core-jvm-message-group:2.0.0-SNAPSHOT.028`
1207012070

1207112071
## Runtime
1207212072
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -13246,14 +13246,14 @@ This report was generated on **Thu Oct 30 20:59:53 WET 2025** using
1324613246

1324713247
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1324813248

13249-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
13249+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1325013250
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1325113251
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1325213252

1325313253

1325413254

1325513255

13256-
# Dependencies of `io.spine.tools:core-jvm-message-group-tests:2.0.0-SNAPSHOT.027`
13256+
# Dependencies of `io.spine.tools:core-jvm-message-group-tests:2.0.0-SNAPSHOT.028`
1325713257

1325813258
## Runtime
1325913259
## Compile, tests, and tooling
@@ -13807,14 +13807,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1380713807

1380813808
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1380913809

13810-
This report was generated on **Thu Oct 30 20:59:53 WET 2025** using
13810+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1381113811
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1381213812
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1381313813

1381413814

1381513815

1381613816

13817-
# Dependencies of `io.spine.tools:core-jvm-plugin-bundle:2.0.0-SNAPSHOT.027`
13817+
# Dependencies of `io.spine.tools:core-jvm-plugin-bundle:2.0.0-SNAPSHOT.028`
1381813818

1381913819
## Runtime
1382013820
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -14656,14 +14656,14 @@ This report was generated on **Thu Oct 30 20:59:53 WET 2025** using
1465614656

1465714657
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1465814658

14659-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
14659+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1466014660
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1466114661
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1466214662

1466314663

1466414664

1466514665

14666-
# Dependencies of `io.spine.tools:core-jvm-routing:2.0.0-SNAPSHOT.027`
14666+
# Dependencies of `io.spine.tools:core-jvm-routing:2.0.0-SNAPSHOT.028`
1466714667

1466814668
## Runtime
1466914669
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -15923,14 +15923,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1592315923

1592415924
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1592515925

15926-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
15926+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1592715927
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1592815928
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1592915929

1593015930

1593115931

1593215932

15933-
# Dependencies of `io.spine.tools:core-jvm-routing-tests:2.0.0-SNAPSHOT.027`
15933+
# Dependencies of `io.spine.tools:core-jvm-routing-tests:2.0.0-SNAPSHOT.028`
1593415934

1593515935
## Runtime
1593615936
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -16688,14 +16688,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1668816688

1668916689
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1669016690

16691-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
16691+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1669216692
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1669316693
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1669416694

1669516695

1669616696

1669716697

16698-
# Dependencies of `io.spine.tools:core-jvm-signal:2.0.0-SNAPSHOT.027`
16698+
# Dependencies of `io.spine.tools:core-jvm-signal:2.0.0-SNAPSHOT.028`
1669916699

1670016700
## Runtime
1670116701
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -17875,14 +17875,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1787517875

1787617876
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1787717877

17878-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
17878+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1787917879
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1788017880
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1788117881

1788217882

1788317883

1788417884

17885-
# Dependencies of `io.spine.tools:core-jvm-signal-tests:2.0.0-SNAPSHOT.027`
17885+
# Dependencies of `io.spine.tools:core-jvm-signal-tests:2.0.0-SNAPSHOT.028`
1788617886

1788717887
## Runtime
1788817888
## Compile, tests, and tooling
@@ -18444,14 +18444,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1844418444

1844518445
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1844618446

18447-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
18447+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1844818448
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1844918449
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1845018450

1845118451

1845218452

1845318453

18454-
# Dependencies of `io.spine.tools:core-jvm-uuid:2.0.0-SNAPSHOT.027`
18454+
# Dependencies of `io.spine.tools:core-jvm-uuid:2.0.0-SNAPSHOT.028`
1845518455

1845618456
## Runtime
1845718457
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -19631,14 +19631,14 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
1963119631

1963219632
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1963319633

19634-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
19634+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
1963519635
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
1963619636
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1963719637

1963819638

1963919639

1964019640

19641-
# Dependencies of `io.spine.tools:core-jvm-uuid-tests:2.0.0-SNAPSHOT.027`
19641+
# Dependencies of `io.spine.tools:core-jvm-uuid-tests:2.0.0-SNAPSHOT.028`
1964219642

1964319643
## Runtime
1964419644
## Compile, tests, and tooling
@@ -20200,6 +20200,6 @@ This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
2020020200

2020120201
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
2020220202

20203-
This report was generated on **Thu Oct 30 20:59:54 WET 2025** using
20203+
This report was generated on **Fri Oct 31 16:48:47 WET 2025** using
2020420204
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
2020520205
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).

entity-tests/src/test/kotlin/io/spine/tools/core/jvm/entity/EntityPluginTestSetup.kt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import io.spine.tools.core.jvm.gradle.settings.EntitySettings
3232
import io.spine.tools.core.jvm.settings.Entities
3333
import io.spine.tools.psi.java.method
3434
import java.nio.file.Path
35+
import kotlin.io.path.Path
3536
import org.junit.jupiter.api.assertDoesNotThrow
3637
import org.junit.jupiter.api.assertThrows
3738

@@ -45,10 +46,17 @@ abstract class EntityPluginTestSetup : PluginTestSetup<Entities>(
4546
) {
4647

4748
companion object {
49+
4850
/**
4951
* The path to the Java file generated for the `Department` entity state.
5052
*/
51-
const val DEPARTMENT_JAVA = "io/spine/tools/core/jvm/entity/given/Department.java"
53+
val departmentJava = "Department".java
54+
55+
/**
56+
* Obtains a path to a Java source file for the proto type with this name.
57+
*/
58+
val String.java: Path
59+
get() = Path("io/spine/tools/core/jvm/entity/given/$this.java")
5260
}
5361

5462
override fun createSettings(projectDir: Path): Entities {

0 commit comments

Comments
 (0)