01: /**
02: * $Id: ConfigBean.java,v 1.6 2005/02/08 06:26:09 sm140826 Exp $
03: * Copyright 2002 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and iPlanet
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.wireless.taglibs.mail;
14:
15: /**
16: * Config Bean - Config bean corresponding to a mail configuration in
17: * DSAME servcice
18: *
19: * @version 1.0
20: * @see
21: */
22:
23: public class ConfigBean {
24: private String configName = null;
25: private String protocol = null;
26: private int index = 0;
27:
28: /*
29: * Constructor
30: */
31: public ConfigBean() {
32: }
33:
34: public ConfigBean(String name) {
35: configName = name;
36: }
37:
38: public ConfigBean(String name, String protocol, int index) {
39: configName = name;
40: this .protocol = protocol;
41: this .index = index;
42: }
43:
44: /**
45: * Get configName
46: *
47: * @return configName String
48: */
49: public String getConfigName() {
50: return configName;
51: }
52:
53: /**
54: * Get protocol
55: *
56: * @return protocol String
57: */
58: public String getProtocol() {
59: return protocol;
60: }
61:
62: /**
63: * Get index
64: *
65: * @return index int
66: */
67: public int getIndex() {
68: return index;
69: }
70: }
|