KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > servers > ServerProperty


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.servers;
5
6 public class ServerProperty {
7   private String JavaDoc m_name;
8   private String JavaDoc m_value;
9   
10   public ServerProperty() {/**/}
11   
12   public ServerProperty(String JavaDoc name, String JavaDoc value) {
13     m_name = name;
14     m_value = value;
15   }
16   
17   public String JavaDoc getName() {
18     return m_name;
19   }
20   
21   public void setName(String JavaDoc name) {
22     m_name = name;
23   }
24   
25   public String JavaDoc getValue() {
26     return m_value;
27   }
28   
29   public void setValue(String JavaDoc value) {
30     m_value = value;
31   }
32   
33   public String JavaDoc toString() {
34     return m_name+"="+m_value;
35   }
36 }
37
Popular Tags