aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/experimental/onXExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/experimental/onXExample_pre.jpage')
-rw-r--r--usage_examples/experimental/onXExample_pre.jpage17
1 files changed, 0 insertions, 17 deletions
diff --git a/usage_examples/experimental/onXExample_pre.jpage b/usage_examples/experimental/onXExample_pre.jpage
deleted file mode 100644
index e54371ae..00000000
--- a/usage_examples/experimental/onXExample_pre.jpage
+++ /dev/null
@@ -1,17 +0,0 @@
-import lombok.AllArgsConstructor;
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.inject.Inject;
-import javax.persistence.Id;
-import javax.persistence.Column;
-import javax.validation.constraints.Max;
-
-@AllArgsConstructor(onConstructor=@__(@Inject))
-public class OnXExample {
-// @Getter(onMethod=@__({@Id, @Column(name="unique-id")})) //JDK7
-// @Setter(onParam=@__(@Max(10000))) //JDK7
- @Getter(onMethod_={@Id, @Column(name="unique-id")}) //JDK8
- @Setter(onParam_=@Max(10000)) //JDK8
- private long unid;
-}