diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2006-10-23 18:14:09 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2006-10-23 18:14:09 +0000 |
commit | 7c6eb95a14d5467c8396524645a1b2d9273a7300 (patch) | |
tree | 80f7e7f372c1979c2bd10c2ee6031bc1b99acf54 /src/main/java/com/amazon/carbonado/adapter | |
parent | 1faf119a884e3dd2388aea39fed3f4eb3699999a (diff) |
Examples make consistent use of get/set pair.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/adapter')
5 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/adapter/AdapterDefinition.java b/src/main/java/com/amazon/carbonado/adapter/AdapterDefinition.java index 0787010..f6292b9 100644 --- a/src/main/java/com/amazon/carbonado/adapter/AdapterDefinition.java +++ b/src/main/java/com/amazon/carbonado/adapter/AdapterDefinition.java @@ -87,6 +87,7 @@ import java.lang.annotation.*; * public interface UserInfo extends Storable {
* <b>@TrueFalseAdapter</b>
* boolean isAdministrator();
+ * void setAdministrator(boolean admin);
* }
* </pre>
*
diff --git a/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java b/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java index 5102b70..af715ac 100644 --- a/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java +++ b/src/main/java/com/amazon/carbonado/adapter/DateTimeAdapter.java @@ -48,6 +48,7 @@ import com.amazon.carbonado.adapter.AdapterDefinition; * public interface UserInfo extends Storable {
* <b>@DateTimeAdapter(timeZone="UTC")</b>
* DateTime getModifyDateTime();
+ * void setModifyDateTime(DateTime dt);
*
* ...
* }
diff --git a/src/main/java/com/amazon/carbonado/adapter/TextAdapter.java b/src/main/java/com/amazon/carbonado/adapter/TextAdapter.java index e07ed50..8a51c3f 100644 --- a/src/main/java/com/amazon/carbonado/adapter/TextAdapter.java +++ b/src/main/java/com/amazon/carbonado/adapter/TextAdapter.java @@ -52,6 +52,7 @@ import com.amazon.carbonado.adapter.AdapterDefinition; * public interface UserInfo extends Storable {
* <b>@TextAdapter(charset="UTF-8")</b>
* String getWelcomeMessage();
+ * void setWelcomeMessage(String message);
*
* ...
* }
diff --git a/src/main/java/com/amazon/carbonado/adapter/TrueFalseAdapter.java b/src/main/java/com/amazon/carbonado/adapter/TrueFalseAdapter.java index 886b994..74dcd09 100644 --- a/src/main/java/com/amazon/carbonado/adapter/TrueFalseAdapter.java +++ b/src/main/java/com/amazon/carbonado/adapter/TrueFalseAdapter.java @@ -31,7 +31,6 @@ import java.lang.annotation.Target; * public interface UserInfo extends Storable {
* <b>@TrueFalseAdapter</b>
* boolean isAdministrator();
- *
* void setAdministrator(boolean admin);
*
* ...
diff --git a/src/main/java/com/amazon/carbonado/adapter/YesNoAdapter.java b/src/main/java/com/amazon/carbonado/adapter/YesNoAdapter.java index 4d9c979..f28b4af 100644 --- a/src/main/java/com/amazon/carbonado/adapter/YesNoAdapter.java +++ b/src/main/java/com/amazon/carbonado/adapter/YesNoAdapter.java @@ -31,7 +31,6 @@ import java.lang.annotation.Target; * public interface UserInfo extends Storable {
* <b>@YesNoAdapter</b>
* boolean isAdministrator();
- *
* void setAdministrator(boolean admin);
*
* ...
|