PageRenderTime 233ms CodeModel.GetById 81ms app.highlight 4ms RepoModel.GetById 106ms app.codeStats 0ms

/src/mpv5/mail/MailConfiguration.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 99 lines | 45 code | 14 blank | 40 comment | 0 complexity | 9ebe37bc19cf2fab244d8dd061c56a64 MD5 | raw file
 1package mpv5.mail;
 2
 3/**
 4 *
 5 * @author anti
 6 */
 7public class MailConfiguration {
 8
 9    private String smtpHost;
10    private String username;
11    private String password;
12    private String senderAddress;
13    private boolean useTls;
14    private boolean useSmtps;
15
16    /**
17     * @return the smtpHost
18     */
19    public String getSmtpHost() {
20        return smtpHost;
21    }
22
23    /**
24     * @param smtpHost the smtpHost to set
25     */
26    public void setSmtpHost(String smtpHost) {
27        this.smtpHost = smtpHost;
28    }
29
30    /**
31     * @return the username
32     */
33    public String getUsername() {
34        return username;
35    }
36
37    /**
38     * @param username the username to set
39     */
40    public void setUsername(String username) {
41        this.username = username;
42    }
43
44    /**
45     * @return the password
46     */
47    public String getPassword() {
48        return password;
49    }
50
51    /**
52     * @param password the password to set
53     */
54    public void setPassword(String password) {
55        this.password = password;
56    }
57
58    /**
59     * @return the senderAddress
60     */
61    public String getSenderAddress() {
62        return senderAddress;
63    }
64
65    /**
66     * @param senderAddress the senderAddress to set
67     */
68    public void setSenderAddress(String senderAddress) {
69        this.senderAddress = senderAddress;
70    }
71
72    /**
73     * @return the useTls
74     */
75    public boolean isUseTls() {
76        return useTls;
77    }
78
79    /**
80     * @param useTls the useTls to set
81     */
82    public void setUseTls(boolean useTls) {
83        this.useTls = useTls;
84    }
85
86    /**
87     * @return the useSmtps
88     */
89    public boolean isUseSmtps() {
90        return useSmtps;
91    }
92
93    /**
94     * @param useSmtps the useSmtps to set
95     */
96    public void setUseSmtps(boolean useSmtps) {
97        this.useSmtps = useSmtps;
98    }
99}