diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-03 12:33:39 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-08-03 12:33:39 +0200 |
commit | 34137b599dbea13c94224dff2955376b1394dbc9 (patch) | |
tree | 889b4c334014965e451f8d9b308b952a13b4d8d5 /container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java | |
parent | 4e794b5ed03e5020770becb068d11e6838feec64 (diff) | |
download | container-playground-34137b599dbea13c94224dff2955376b1394dbc9.tar.gz container-playground-34137b599dbea13c94224dff2955376b1394dbc9.tar.bz2 container-playground-34137b599dbea13c94224dff2955376b1394dbc9.tar.xz container-playground-34137b599dbea13c94224dff2955376b1394dbc9.zip |
wip
Diffstat (limited to 'container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java')
-rw-r--r-- | container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java b/container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java new file mode 100644 index 0000000..e298eee --- /dev/null +++ b/container-compiler-plugin/src/main/java/io/trygvis/persistence/SqlEntity.java @@ -0,0 +1,17 @@ +package io.trygvis.persistence; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.CLASS) +@Target(ElementType.TYPE) +public @interface SqlEntity { + /** + * The name of a class that implements {@link io.trygvis.persistence.TypeHandler}. + * + * The class needs to be available at compile time, but not runtime. + */ + String value(); +} |