summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r--src/main/java/com/amazon/carbonado/Name.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/Name.java b/src/main/java/com/amazon/carbonado/Name.java
new file mode 100644
index 0000000..39b1ba8
--- /dev/null
+++ b/src/main/java/com/amazon/carbonado/Name.java
@@ -0,0 +1,19 @@
+package com.amazon.carbonado;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Documented
+@Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.METHOD})
+public @interface Name {
+
+ /**
+ * The prefered name of the property
+ */
+ String value();
+
+} \ No newline at end of file