KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jbossnet > admindevel > HelloReplyObj


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.jbossnet.admindevel;
8
9
10 /** A custom data object class that needs to specify a custom serializer
11  *
12  * @jboss-net.xml-schema urn="hello:HelloReplyObj"
13  */

14 public class HelloReplyObj implements java.io.Serializable JavaDoc
15 {
16    static final long serialVersionUID = 3423767046510555461L;
17    private String JavaDoc msg;
18
19    public HelloReplyObj()
20    {
21    }
22    public HelloReplyObj(String JavaDoc msg)
23    {
24       this.msg = msg;
25    }
26
27    public String JavaDoc getMsg()
28    {
29       return this.msg;
30    }
31    public void setMsg(String JavaDoc msg)
32    {
33       this.msg = msg;
34    }
35 }
36
Popular Tags