[jacli commit] r19 - wiki

2 views
Skip to first unread message

codesite...@google.com

unread,
Jun 19, 2008, 8:44:06 AM6/19/08
to fant...@googlegroups.com
Author: maomaode
Date: Thu Jun 19 05:41:48 2008
New Revision: 19

Modified:
wiki/JaCliWithOpenCSV.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/JaCliWithOpenCSV.wiki
==============================================================================
--- wiki/JaCliWithOpenCSV.wiki (original)
+++ wiki/JaCliWithOpenCSV.wiki Thu Jun 19 05:41:48 2008
@@ -36,4 +36,50 @@
}
}
}
+}}}
+
+
+
+=Address.java is the Bean Class=
+{{{
+package com.bokeland.imports.common.csv;
+
+import com.google.jacli.Argument;
+
+public class Address {
+ @Argument(id = 0)
+ private String name;
+ @Argument(id = 1)
+ private String addr;
+ @Argument(id = 2)
+ private String email;
+
+ public final String getName() {
+ return name;
+ }
+
+ public final void setName(final String newName) {
+ this.name = newName;
+ }
+
+ public final String getAddr() {
+ return addr;
+ }
+
+ public final void setAddr(final String newAddr) {
+ this.addr = newAddr;
+ }
+
+ public final String getEmail() {
+ return email;
+ }
+
+ public final void setEmail(final String newEmail) {
+ this.email = newEmail;
+ }
+
+ public String toString() {
+ return name + " " + addr + " " + email;
+ }
+}
}}}

Reply all
Reply to author
Forward
0 new messages