KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > share > serverresources > MailSessionResource


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * MailSessionResource.java
21  *
22  * Created on September 17, 2003, 2:38 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.share.serverresources;
26
27 /**
28  *
29  * @author nityad
30  */

31 public class MailSessionResource extends BaseResource implements java.io.Serializable JavaDoc{
32
33     private String JavaDoc jndiName;
34     private String JavaDoc storeProt;
35     private String JavaDoc storeProtClass;
36     private String JavaDoc transProt;
37     private String JavaDoc transProtClass;
38     private String JavaDoc hostName;
39     private String JavaDoc userName;
40     private String JavaDoc fromAddr;
41     private String JavaDoc isDebug;
42     private String JavaDoc isEnabled;
43         
44     /** Creates a new instance of MailSessionResource */
45     public MailSessionResource() {
46     }
47     
48     public String JavaDoc getJndiName() {
49         return jndiName;
50     }
51     public void setJndiName(String JavaDoc value) {
52         String JavaDoc oldValue = jndiName;
53         this.jndiName = value;
54         initPropertyChangeSupport();
55         propertySupport.firePropertyChange ("jndiName", oldValue, jndiName);//NOI18N
56
}
57     
58     public String JavaDoc getStoreProt() {
59         return storeProt;
60     }
61     public void setStoreProt(String JavaDoc value) {
62         String JavaDoc oldValue = storeProt;
63         this.storeProt = value;
64         initPropertyChangeSupport();
65         propertySupport.firePropertyChange ("storeProt", oldValue, storeProt);//NOI18N
66
}
67     
68     public String JavaDoc getStoreProtClass() {
69         return storeProtClass;
70     }
71     public void setStoreProtClass(String JavaDoc value) {
72         String JavaDoc oldValue = storeProtClass;
73         this.storeProtClass = value;
74         initPropertyChangeSupport();
75         propertySupport.firePropertyChange ("storeProtClass", oldValue, storeProtClass);//NOI18N
76
}
77     
78     public String JavaDoc getTransProt() {
79         return transProt;
80     }
81     public void setTransProt(String JavaDoc value) {
82         String JavaDoc oldValue = transProt;
83         this.transProt = value;
84         initPropertyChangeSupport();
85         propertySupport.firePropertyChange ("transProt", oldValue, transProt);//NOI18N
86
}
87     
88     public String JavaDoc getTransProtClass() {
89         return transProtClass;
90     }
91     public void setTransProtClass(String JavaDoc value) {
92         String JavaDoc oldValue = transProtClass;
93         this.transProtClass = value;
94         initPropertyChangeSupport();
95         propertySupport.firePropertyChange ("transProtClass", oldValue, transProtClass);//NOI18N
96
}
97     
98     public String JavaDoc getHostName() {
99         return hostName;
100     }
101     public void setHostName(String JavaDoc value) {
102         String JavaDoc oldValue = hostName;
103         this.hostName = value;
104         initPropertyChangeSupport();
105         propertySupport.firePropertyChange ("hostName", oldValue, hostName);//NOI18N
106
}
107     
108     public String JavaDoc getUserName() {
109         return userName;
110     }
111     public void setUserName(String JavaDoc value) {
112         String JavaDoc oldValue = userName;
113         this.userName = value;
114         initPropertyChangeSupport();
115         propertySupport.firePropertyChange ("userName", oldValue, userName);//NOI18N
116
}
117     public String JavaDoc getFromAddr() {
118         return fromAddr;
119     }
120     public void setFromAddr(String JavaDoc value) {
121         String JavaDoc oldValue = fromAddr;
122         this.fromAddr = value;
123         initPropertyChangeSupport();
124         propertySupport.firePropertyChange ("fromAddr", oldValue, fromAddr);//NOI18N
125
}
126     
127     public String JavaDoc getIsDebug() {
128         return isDebug;
129     }
130     public void setIsDebug(String JavaDoc value) {
131         String JavaDoc oldValue = isDebug;
132         this.isDebug = value;
133         initPropertyChangeSupport();
134         propertySupport.firePropertyChange ("isDebug", oldValue, isDebug);//NOI18N
135
}
136     
137     public String JavaDoc getIsEnabled() {
138         return isEnabled;
139     }
140     public void setIsEnabled(String JavaDoc value) {
141         String JavaDoc oldValue = isEnabled;
142         this.isEnabled = value;
143         initPropertyChangeSupport();
144         propertySupport.firePropertyChange ("isEnabled", oldValue, isEnabled);//NOI18N
145
}
146             
147 }
148
Popular Tags