summaryrefslogtreecommitdiff
path: root/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-08-04 17:17:39 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-08-04 17:17:39 +0200
commit381c368b8907640bdd7cd81db2294724e082a119 (patch)
treeee35a0ec90200e0b344aa36f2cabe13153331bed /container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java
parent3d556bfcad3eb3face9db986aa570d6e2a059448 (diff)
downloadcontainer-playground-381c368b8907640bdd7cd81db2294724e082a119.tar.gz
container-playground-381c368b8907640bdd7cd81db2294724e082a119.tar.bz2
container-playground-381c368b8907640bdd7cd81db2294724e082a119.tar.xz
container-playground-381c368b8907640bdd7cd81db2294724e082a119.zip
wip
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java')
-rw-r--r--container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java
new file mode 100644
index 0000000..4695739
--- /dev/null
+++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ParentEntity.java
@@ -0,0 +1,22 @@
+package io.trygvis.persistence.test;
+
+import javax.persistence.Id;
+
+public class ParentEntity {
+ @Id
+ public final Long id;
+
+ public ParentEntity(Long id) {
+ this.id = id;
+ }
+
+ private Integer age;
+
+ public Integer getAge() {
+ return age;
+ }
+
+ public void setAge(Integer age) {
+ this.age = age;
+ }
+}