001: /*
002: * Created on 21/08/2006 21:23:29
003: */
004: package net.jforum.entities;
005:
006: /**
007: * @author Rafael Steil
008: * @version $Id: MailIntegration.java,v 1.4 2006/10/10 01:59:55 rafaelsteil Exp $
009: */
010: public class MailIntegration {
011: private int forumId;
012: private int popPort;
013: private boolean ssl;
014: private String forumEmail;
015: private String popHost;
016: private String popUsername;
017: private String popPassword;
018:
019: /**
020: * @return the forumId
021: */
022: public int getForumId() {
023: return this .forumId;
024: }
025:
026: /**
027: * @return the popHost
028: */
029: public String getPopHost() {
030: return this .popHost;
031: }
032:
033: /**
034: * @return the popPassword
035: */
036: public String getPopPassword() {
037: return this .popPassword;
038: }
039:
040: /**
041: * @return the popPort
042: */
043: public int getPopPort() {
044: return this .popPort;
045: }
046:
047: /**
048: * @return the popUsername
049: */
050: public String getPopUsername() {
051: return this .popUsername;
052: }
053:
054: /**
055: * @param forumId the forumId to set
056: */
057: public void setForumId(int forumId) {
058: this .forumId = forumId;
059: }
060:
061: /**
062: * @param popHost the popHost to set
063: */
064: public void setPopHost(String popHost) {
065: this .popHost = popHost;
066: }
067:
068: /**
069: * @param popPassword the popPassword to set
070: */
071: public void setPopPassword(String popPassword) {
072: this .popPassword = popPassword;
073: }
074:
075: /**
076: * @param popPort the popPort to set
077: */
078: public void setPopPort(int popPort) {
079: this .popPort = popPort;
080: }
081:
082: /**
083: * @param popUsername the popUsername to set
084: */
085: public void setPopUsername(String popUsername) {
086: this .popUsername = popUsername;
087: }
088:
089: /**
090: * @return the forumEmail
091: */
092: public String getForumEmail() {
093: return this .forumEmail;
094: }
095:
096: /**
097: * @param forumEmail the forumEmail to set
098: */
099: public void setForumEmail(String forumEmail) {
100: this .forumEmail = forumEmail;
101: }
102:
103: public void setSSL(boolean ssl) {
104: this .ssl = ssl;
105: }
106:
107: public boolean isSSL() {
108: return this .ssl;
109: }
110:
111: /**
112: * @see java.lang.Object#toString()
113: */
114: public String toString() {
115: return new StringBuffer().append('[').append("email=").append(
116: this .forumEmail).append(", host=").append(this .popHost)
117: .append(", port=").append(this .popPort)
118: .append(", ssl=").append(this .ssl).append(']')
119: .toString();
120: }
121: }
|