KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > applications > packaging > sharehandlers > ShareUser


1 /*
2  * This software is OSI Certified Open Source Software.
3  * OSI Certified is a certification mark of the Open Source Initiative.
4  * The license (Mozilla version 1.0) can be read at the MMBase site.
5  * See http://www.MMBase.org/license
6  */

7 package org.mmbase.applications.packaging.sharehandlers;
8
9 /**
10  * @author Daniel Ockeloen
11  */

12 public class ShareUser {
13
14     private String JavaDoc name;
15     private String JavaDoc password;
16     private String JavaDoc method;
17     private String JavaDoc host;
18
19
20     /**
21      *Constructor for the ShareUser object
22      *
23      * @param name Description of the Parameter
24      */

25     public ShareUser(String JavaDoc name) {
26         this.name = name;
27     }
28
29
30     /**
31      * Sets the name attribute of the ShareUser object
32      *
33      * @param name The new name value
34      */

35     public void setName(String JavaDoc name) {
36         this.name = name;
37     }
38
39
40     /**
41      * Sets the password attribute of the ShareUser object
42      *
43      * @param password The new password value
44      */

45     public void setPassword(String JavaDoc password) {
46         this.password = password;
47     }
48
49
50     /**
51      * Sets the method attribute of the ShareUser object
52      *
53      * @param method The new method value
54      */

55     public void setMethod(String JavaDoc method) {
56         this.method = method;
57     }
58
59
60     /**
61      * Sets the host attribute of the ShareUser object
62      *
63      * @param host The new host value
64      */

65     public void setHost(String JavaDoc host) {
66         this.host = host;
67     }
68
69
70     /**
71      * Gets the name attribute of the ShareUser object
72      *
73      * @return The name value
74      */

75     public String JavaDoc getName() {
76         return name;
77     }
78
79
80     /**
81      * Gets the password attribute of the ShareUser object
82      *
83      * @return The password value
84      */

85     public String JavaDoc getPassword() {
86         return password;
87     }
88
89
90     /**
91      * Gets the method attribute of the ShareUser object
92      *
93      * @return The method value
94      */

95     public String JavaDoc getMethod() {
96         return method;
97     }
98
99
100     /**
101      * Gets the host attribute of the ShareUser object
102      *
103      * @return The host value
104      */

105     public String JavaDoc getHost() {
106         return host;
107     }
108
109 }
110
111
Popular Tags