summaryrefslogtreecommitdiff
path: root/container-compiler-plugin/src/test/resources/io
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-08-04 19:14:14 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-08-04 19:14:14 +0200
commitf0a9ad191465bba0e7ddaea700d9667be699fec3 (patch)
tree2ae22c719da1a690d44d7397547105bd9ea6e52b /container-compiler-plugin/src/test/resources/io
parent6d4c6960e69b53c124bd84beb3d008bd5a4bb319 (diff)
downloadcontainer-playground-f0a9ad191465bba0e7ddaea700d9667be699fec3.tar.gz
container-playground-f0a9ad191465bba0e7ddaea700d9667be699fec3.tar.bz2
container-playground-f0a9ad191465bba0e7ddaea700d9667be699fec3.tar.xz
container-playground-f0a9ad191465bba0e7ddaea700d9667be699fec3.zip
wip
o Adding support for int and long types.
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io')
-rw-r--r--container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
index a341fd2..ff91680 100644
--- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
+++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
@@ -6,9 +6,12 @@ import javax.persistence.Entity;
public class ChildEntity extends ParentEntity {
public final String name;
- public ChildEntity(Long id, String name) {
+ public final int favoriteNumber;
+
+ public ChildEntity(Long id, String name, int favoriteNumber) {
super(id);
this.name = name;
+ this.favoriteNumber = favoriteNumber;
}
// -----------------------------------------------------------------------