KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > serverresources > MailResource


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  * MailResource.java
21  *
22  * Created on November 21, 2004, 3:00 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.serverresources;
26 /**
27  * @author Nitya Doraisamy
28  */

29 public interface MailResource {
30
31         public static final String JavaDoc JNDINAME = "JndiName"; // NOI18N
32
public static final String JavaDoc STOREPROTOCOL = "StoreProtocol"; // NOI18N
33
public static final String JavaDoc STOREPROTOCOLCLASS = "StoreProtocolClass"; // NOI18N
34
public static final String JavaDoc TRANSPORTPROTOCOL = "TransportProtocol"; // NOI18N
35
public static final String JavaDoc TRANSPORTPROTOCOLCLASS = "TransportProtocolClass"; // NOI18N
36
public static final String JavaDoc HOST = "Host"; // NOI18N
37
public static final String JavaDoc USER = "User"; // NOI18N
38
public static final String JavaDoc FROM = "From"; // NOI18N
39
public static final String JavaDoc DEBUG = "Debug"; // NOI18N
40
public static final String JavaDoc ENABLED = "Enabled"; // NOI18N
41
public static final String JavaDoc DESCRIPTION = "Description"; // NOI18N
42
public static final String JavaDoc PROPERTY = "PropertyElement"; // NOI18N
43
public static final String JavaDoc OBJECTTYPE = "ObjectType"; // NOI18N
44

45     /** Setter for jndi-name property
46         * @param value property value
47         */

48     public void setJndiName(java.lang.String JavaDoc value);
49         /** Getter for jndi-name property
50         * @return property value
51         */

52     public java.lang.String JavaDoc getJndiName();
53         /** Setter for store-protocol property
54         * @param value property value
55         */

56     public void setStoreProtocol(java.lang.String JavaDoc value);
57         /** Getter for store-protocol property
58         * @param value property value
59         */

60     public java.lang.String JavaDoc getStoreProtocol();
61         /** Setter for store-protocol-class property
62         * @param value property value
63         */

64     public void setStoreProtocolClass(java.lang.String JavaDoc value);
65         /** Getter for store-protocol-class property
66         * @param value property value
67         */

68     public java.lang.String JavaDoc getStoreProtocolClass();
69         /** Setter for transport-protocol property
70         * @param value property value
71         */

72     public void setTransportProtocol(java.lang.String JavaDoc value);
73         /** Getter for transport-protocol property
74         * @param value property value
75         */

76     public java.lang.String JavaDoc getTransportProtocol();
77         /** Setter for transport-protocol-class property
78         * @param value property value
79         */

80     public void setTransportProtocolClass(java.lang.String JavaDoc value);
81         /** Getter for transport-protocol-class property
82         * @param value property value
83         */

84     public java.lang.String JavaDoc getTransportProtocolClass();
85         /** Setter for host property
86         * @param value property value
87         */

88     public void setHost(java.lang.String JavaDoc value);
89         /** Getter for host property
90         * @param value property value
91         */

92     public java.lang.String JavaDoc getHost();
93         /** Setter for user property
94         * @param value property value
95         */

96     public void setUser(java.lang.String JavaDoc value);
97         /** Getter for user property
98         * @param value property value
99         */

100     public java.lang.String JavaDoc getUser();
101         /** Setter for from property
102         * @param value property value
103         */

104     public void setFrom(java.lang.String JavaDoc value);
105         /** Getter for from property
106         * @param value property value
107         */

108     public java.lang.String JavaDoc getFrom();
109         /** Setter for debug property
110         * @param value property value
111         */

112     public void setDebug(java.lang.String JavaDoc value);
113         /** Getter for debug property
114         * @param value property value
115         */

116     public java.lang.String JavaDoc getDebug();
117         /** Setter for enabled property
118         * @param value property value
119         */

120     public void setEnabled(java.lang.String JavaDoc value);
121         /** Getter for enabled property
122         * @param value property value
123         */

124     public java.lang.String JavaDoc getEnabled();
125         /** Setter for description attribute
126         * @param value attribute value
127         */

128     public void setDescription(String JavaDoc value);
129         /** Getter for description attribute
130         * @return attribute value
131         */

132     public String JavaDoc getDescription();
133
134     public void setPropertyElement(int index, PropertyElement value);
135     public PropertyElement getPropertyElement(int index);
136     public int sizePropertyElement();
137     public void setPropertyElement(PropertyElement[] value);
138     public PropertyElement[] getPropertyElement();
139     public int addPropertyElement(PropertyElement value);
140     public int removePropertyElement(PropertyElement value);
141     public PropertyElement newPropertyElement();
142         
143         //Resource 1.2
144
/** Setter for object-type property
145         * @param value property value
146         */

147         public void setObjectType(java.lang.String JavaDoc value);
148         /** Getter for object-type attribute.
149         * @return attribute value
150         */

151     public java.lang.String JavaDoc getObjectType();
152
153 }
154
Popular Tags