1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.messageboards.model.impl;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
19  import com.liferay.portal.kernel.util.GetterUtil;
20  import com.liferay.portal.kernel.util.StringBundler;
21  import com.liferay.portal.kernel.util.StringPool;
22  import com.liferay.portal.model.impl.BaseModelImpl;
23  import com.liferay.portal.service.ServiceContext;
24  import com.liferay.portal.util.PortalUtil;
25  
26  import com.liferay.portlet.expando.model.ExpandoBridge;
27  import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
28  import com.liferay.portlet.messageboards.model.MBMailingList;
29  import com.liferay.portlet.messageboards.model.MBMailingListSoap;
30  
31  import java.io.Serializable;
32  
33  import java.lang.reflect.Proxy;
34  
35  import java.sql.Types;
36  
37  import java.util.ArrayList;
38  import java.util.Date;
39  import java.util.List;
40  
41  /**
42   * <a href="MBMailingListModelImpl.java.html"><b><i>View Source</i></b></a>
43   *
44   * <p>
45   * ServiceBuilder generated this class. Modifications in this class will be
46   * overwritten the next time is generated.
47   * </p>
48   *
49   * <p>
50   * This interface is a model that represents the MBMailingList table in the
51   * database.
52   * </p>
53   *
54   * @author    Brian Wing Shun Chan
55   * @see       MBMailingListImpl
56   * @see       com.liferay.portlet.messageboards.model.MBMailingList
57   * @see       com.liferay.portlet.messageboards.model.MBMailingListModel
58   * @generated
59   */
60  public class MBMailingListModelImpl extends BaseModelImpl<MBMailingList> {
61      public static final String TABLE_NAME = "MBMailingList";
62      public static final Object[][] TABLE_COLUMNS = {
63              { "uuid_", new Integer(Types.VARCHAR) },
64              { "mailingListId", new Integer(Types.BIGINT) },
65              { "groupId", new Integer(Types.BIGINT) },
66              { "companyId", new Integer(Types.BIGINT) },
67              { "userId", new Integer(Types.BIGINT) },
68              { "userName", new Integer(Types.VARCHAR) },
69              { "createDate", new Integer(Types.TIMESTAMP) },
70              { "modifiedDate", new Integer(Types.TIMESTAMP) },
71              { "categoryId", new Integer(Types.BIGINT) },
72              { "emailAddress", new Integer(Types.VARCHAR) },
73              { "inProtocol", new Integer(Types.VARCHAR) },
74              { "inServerName", new Integer(Types.VARCHAR) },
75              { "inServerPort", new Integer(Types.INTEGER) },
76              { "inUseSSL", new Integer(Types.BOOLEAN) },
77              { "inUserName", new Integer(Types.VARCHAR) },
78              { "inPassword", new Integer(Types.VARCHAR) },
79              { "inReadInterval", new Integer(Types.INTEGER) },
80              { "outEmailAddress", new Integer(Types.VARCHAR) },
81              { "outCustom", new Integer(Types.BOOLEAN) },
82              { "outServerName", new Integer(Types.VARCHAR) },
83              { "outServerPort", new Integer(Types.INTEGER) },
84              { "outUseSSL", new Integer(Types.BOOLEAN) },
85              { "outUserName", new Integer(Types.VARCHAR) },
86              { "outPassword", new Integer(Types.VARCHAR) },
87              { "active_", new Integer(Types.BOOLEAN) }
88          };
89      public static final String TABLE_SQL_CREATE = "create table MBMailingList (uuid_ VARCHAR(75) null,mailingListId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,categoryId LONG,emailAddress VARCHAR(75) null,inProtocol VARCHAR(75) null,inServerName VARCHAR(75) null,inServerPort INTEGER,inUseSSL BOOLEAN,inUserName VARCHAR(75) null,inPassword VARCHAR(75) null,inReadInterval INTEGER,outEmailAddress VARCHAR(75) null,outCustom BOOLEAN,outServerName VARCHAR(75) null,outServerPort INTEGER,outUseSSL BOOLEAN,outUserName VARCHAR(75) null,outPassword VARCHAR(75) null,active_ BOOLEAN)";
90      public static final String TABLE_SQL_DROP = "drop table MBMailingList";
91      public static final String DATA_SOURCE = "liferayDataSource";
92      public static final String SESSION_FACTORY = "liferaySessionFactory";
93      public static final String TX_MANAGER = "liferayTransactionManager";
94      public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
95                  "value.object.entity.cache.enabled.com.liferay.portlet.messageboards.model.MBMailingList"),
96              true);
97      public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
98                  "value.object.finder.cache.enabled.com.liferay.portlet.messageboards.model.MBMailingList"),
99              true);
100 
101     public static MBMailingList toModel(MBMailingListSoap soapModel) {
102         MBMailingList model = new MBMailingListImpl();
103 
104         model.setUuid(soapModel.getUuid());
105         model.setMailingListId(soapModel.getMailingListId());
106         model.setGroupId(soapModel.getGroupId());
107         model.setCompanyId(soapModel.getCompanyId());
108         model.setUserId(soapModel.getUserId());
109         model.setUserName(soapModel.getUserName());
110         model.setCreateDate(soapModel.getCreateDate());
111         model.setModifiedDate(soapModel.getModifiedDate());
112         model.setCategoryId(soapModel.getCategoryId());
113         model.setEmailAddress(soapModel.getEmailAddress());
114         model.setInProtocol(soapModel.getInProtocol());
115         model.setInServerName(soapModel.getInServerName());
116         model.setInServerPort(soapModel.getInServerPort());
117         model.setInUseSSL(soapModel.getInUseSSL());
118         model.setInUserName(soapModel.getInUserName());
119         model.setInPassword(soapModel.getInPassword());
120         model.setInReadInterval(soapModel.getInReadInterval());
121         model.setOutEmailAddress(soapModel.getOutEmailAddress());
122         model.setOutCustom(soapModel.getOutCustom());
123         model.setOutServerName(soapModel.getOutServerName());
124         model.setOutServerPort(soapModel.getOutServerPort());
125         model.setOutUseSSL(soapModel.getOutUseSSL());
126         model.setOutUserName(soapModel.getOutUserName());
127         model.setOutPassword(soapModel.getOutPassword());
128         model.setActive(soapModel.getActive());
129 
130         return model;
131     }
132 
133     public static List<MBMailingList> toModels(MBMailingListSoap[] soapModels) {
134         List<MBMailingList> models = new ArrayList<MBMailingList>(soapModels.length);
135 
136         for (MBMailingListSoap soapModel : soapModels) {
137             models.add(toModel(soapModel));
138         }
139 
140         return models;
141     }
142 
143     public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
144                 "lock.expiration.time.com.liferay.portlet.messageboards.model.MBMailingList"));
145 
146     public MBMailingListModelImpl() {
147     }
148 
149     public long getPrimaryKey() {
150         return _mailingListId;
151     }
152 
153     public void setPrimaryKey(long pk) {
154         setMailingListId(pk);
155     }
156 
157     public Serializable getPrimaryKeyObj() {
158         return new Long(_mailingListId);
159     }
160 
161     public String getUuid() {
162         if (_uuid == null) {
163             return StringPool.BLANK;
164         }
165         else {
166             return _uuid;
167         }
168     }
169 
170     public void setUuid(String uuid) {
171         _uuid = uuid;
172 
173         if (_originalUuid == null) {
174             _originalUuid = uuid;
175         }
176     }
177 
178     public String getOriginalUuid() {
179         return GetterUtil.getString(_originalUuid);
180     }
181 
182     public long getMailingListId() {
183         return _mailingListId;
184     }
185 
186     public void setMailingListId(long mailingListId) {
187         _mailingListId = mailingListId;
188     }
189 
190     public long getGroupId() {
191         return _groupId;
192     }
193 
194     public void setGroupId(long groupId) {
195         _groupId = groupId;
196 
197         if (!_setOriginalGroupId) {
198             _setOriginalGroupId = true;
199 
200             _originalGroupId = groupId;
201         }
202     }
203 
204     public long getOriginalGroupId() {
205         return _originalGroupId;
206     }
207 
208     public long getCompanyId() {
209         return _companyId;
210     }
211 
212     public void setCompanyId(long companyId) {
213         _companyId = companyId;
214     }
215 
216     public long getUserId() {
217         return _userId;
218     }
219 
220     public void setUserId(long userId) {
221         _userId = userId;
222     }
223 
224     public String getUserUuid() throws SystemException {
225         return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
226     }
227 
228     public void setUserUuid(String userUuid) {
229         _userUuid = userUuid;
230     }
231 
232     public String getUserName() {
233         if (_userName == null) {
234             return StringPool.BLANK;
235         }
236         else {
237             return _userName;
238         }
239     }
240 
241     public void setUserName(String userName) {
242         _userName = userName;
243     }
244 
245     public Date getCreateDate() {
246         return _createDate;
247     }
248 
249     public void setCreateDate(Date createDate) {
250         _createDate = createDate;
251     }
252 
253     public Date getModifiedDate() {
254         return _modifiedDate;
255     }
256 
257     public void setModifiedDate(Date modifiedDate) {
258         _modifiedDate = modifiedDate;
259     }
260 
261     public long getCategoryId() {
262         return _categoryId;
263     }
264 
265     public void setCategoryId(long categoryId) {
266         _categoryId = categoryId;
267 
268         if (!_setOriginalCategoryId) {
269             _setOriginalCategoryId = true;
270 
271             _originalCategoryId = categoryId;
272         }
273     }
274 
275     public long getOriginalCategoryId() {
276         return _originalCategoryId;
277     }
278 
279     public String getEmailAddress() {
280         if (_emailAddress == null) {
281             return StringPool.BLANK;
282         }
283         else {
284             return _emailAddress;
285         }
286     }
287 
288     public void setEmailAddress(String emailAddress) {
289         _emailAddress = emailAddress;
290     }
291 
292     public String getInProtocol() {
293         if (_inProtocol == null) {
294             return StringPool.BLANK;
295         }
296         else {
297             return _inProtocol;
298         }
299     }
300 
301     public void setInProtocol(String inProtocol) {
302         _inProtocol = inProtocol;
303     }
304 
305     public String getInServerName() {
306         if (_inServerName == null) {
307             return StringPool.BLANK;
308         }
309         else {
310             return _inServerName;
311         }
312     }
313 
314     public void setInServerName(String inServerName) {
315         _inServerName = inServerName;
316     }
317 
318     public int getInServerPort() {
319         return _inServerPort;
320     }
321 
322     public void setInServerPort(int inServerPort) {
323         _inServerPort = inServerPort;
324     }
325 
326     public boolean getInUseSSL() {
327         return _inUseSSL;
328     }
329 
330     public boolean isInUseSSL() {
331         return _inUseSSL;
332     }
333 
334     public void setInUseSSL(boolean inUseSSL) {
335         _inUseSSL = inUseSSL;
336     }
337 
338     public String getInUserName() {
339         if (_inUserName == null) {
340             return StringPool.BLANK;
341         }
342         else {
343             return _inUserName;
344         }
345     }
346 
347     public void setInUserName(String inUserName) {
348         _inUserName = inUserName;
349     }
350 
351     public String getInPassword() {
352         if (_inPassword == null) {
353             return StringPool.BLANK;
354         }
355         else {
356             return _inPassword;
357         }
358     }
359 
360     public void setInPassword(String inPassword) {
361         _inPassword = inPassword;
362     }
363 
364     public int getInReadInterval() {
365         return _inReadInterval;
366     }
367 
368     public void setInReadInterval(int inReadInterval) {
369         _inReadInterval = inReadInterval;
370     }
371 
372     public String getOutEmailAddress() {
373         if (_outEmailAddress == null) {
374             return StringPool.BLANK;
375         }
376         else {
377             return _outEmailAddress;
378         }
379     }
380 
381     public void setOutEmailAddress(String outEmailAddress) {
382         _outEmailAddress = outEmailAddress;
383     }
384 
385     public boolean getOutCustom() {
386         return _outCustom;
387     }
388 
389     public boolean isOutCustom() {
390         return _outCustom;
391     }
392 
393     public void setOutCustom(boolean outCustom) {
394         _outCustom = outCustom;
395     }
396 
397     public String getOutServerName() {
398         if (_outServerName == null) {
399             return StringPool.BLANK;
400         }
401         else {
402             return _outServerName;
403         }
404     }
405 
406     public void setOutServerName(String outServerName) {
407         _outServerName = outServerName;
408     }
409 
410     public int getOutServerPort() {
411         return _outServerPort;
412     }
413 
414     public void setOutServerPort(int outServerPort) {
415         _outServerPort = outServerPort;
416     }
417 
418     public boolean getOutUseSSL() {
419         return _outUseSSL;
420     }
421 
422     public boolean isOutUseSSL() {
423         return _outUseSSL;
424     }
425 
426     public void setOutUseSSL(boolean outUseSSL) {
427         _outUseSSL = outUseSSL;
428     }
429 
430     public String getOutUserName() {
431         if (_outUserName == null) {
432             return StringPool.BLANK;
433         }
434         else {
435             return _outUserName;
436         }
437     }
438 
439     public void setOutUserName(String outUserName) {
440         _outUserName = outUserName;
441     }
442 
443     public String getOutPassword() {
444         if (_outPassword == null) {
445             return StringPool.BLANK;
446         }
447         else {
448             return _outPassword;
449         }
450     }
451 
452     public void setOutPassword(String outPassword) {
453         _outPassword = outPassword;
454     }
455 
456     public boolean getActive() {
457         return _active;
458     }
459 
460     public boolean isActive() {
461         return _active;
462     }
463 
464     public void setActive(boolean active) {
465         _active = active;
466     }
467 
468     public MBMailingList toEscapedModel() {
469         if (isEscapedModel()) {
470             return (MBMailingList)this;
471         }
472         else {
473             return (MBMailingList)Proxy.newProxyInstance(MBMailingList.class.getClassLoader(),
474                 new Class[] { MBMailingList.class },
475                 new AutoEscapeBeanHandler(this));
476         }
477     }
478 
479     public ExpandoBridge getExpandoBridge() {
480         if (_expandoBridge == null) {
481             _expandoBridge = ExpandoBridgeFactoryUtil.getExpandoBridge(MBMailingList.class.getName(),
482                     getPrimaryKey());
483         }
484 
485         return _expandoBridge;
486     }
487 
488     public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
489         getExpandoBridge().setAttributes(serviceContext);
490     }
491 
492     public Object clone() {
493         MBMailingListImpl clone = new MBMailingListImpl();
494 
495         clone.setUuid(getUuid());
496         clone.setMailingListId(getMailingListId());
497         clone.setGroupId(getGroupId());
498         clone.setCompanyId(getCompanyId());
499         clone.setUserId(getUserId());
500         clone.setUserName(getUserName());
501         clone.setCreateDate(getCreateDate());
502         clone.setModifiedDate(getModifiedDate());
503         clone.setCategoryId(getCategoryId());
504         clone.setEmailAddress(getEmailAddress());
505         clone.setInProtocol(getInProtocol());
506         clone.setInServerName(getInServerName());
507         clone.setInServerPort(getInServerPort());
508         clone.setInUseSSL(getInUseSSL());
509         clone.setInUserName(getInUserName());
510         clone.setInPassword(getInPassword());
511         clone.setInReadInterval(getInReadInterval());
512         clone.setOutEmailAddress(getOutEmailAddress());
513         clone.setOutCustom(getOutCustom());
514         clone.setOutServerName(getOutServerName());
515         clone.setOutServerPort(getOutServerPort());
516         clone.setOutUseSSL(getOutUseSSL());
517         clone.setOutUserName(getOutUserName());
518         clone.setOutPassword(getOutPassword());
519         clone.setActive(getActive());
520 
521         return clone;
522     }
523 
524     public int compareTo(MBMailingList mbMailingList) {
525         long pk = mbMailingList.getPrimaryKey();
526 
527         if (getPrimaryKey() < pk) {
528             return -1;
529         }
530         else if (getPrimaryKey() > pk) {
531             return 1;
532         }
533         else {
534             return 0;
535         }
536     }
537 
538     public boolean equals(Object obj) {
539         if (obj == null) {
540             return false;
541         }
542 
543         MBMailingList mbMailingList = null;
544 
545         try {
546             mbMailingList = (MBMailingList)obj;
547         }
548         catch (ClassCastException cce) {
549             return false;
550         }
551 
552         long pk = mbMailingList.getPrimaryKey();
553 
554         if (getPrimaryKey() == pk) {
555             return true;
556         }
557         else {
558             return false;
559         }
560     }
561 
562     public int hashCode() {
563         return (int)getPrimaryKey();
564     }
565 
566     public String toString() {
567         StringBundler sb = new StringBundler(51);
568 
569         sb.append("{uuid=");
570         sb.append(getUuid());
571         sb.append(", mailingListId=");
572         sb.append(getMailingListId());
573         sb.append(", groupId=");
574         sb.append(getGroupId());
575         sb.append(", companyId=");
576         sb.append(getCompanyId());
577         sb.append(", userId=");
578         sb.append(getUserId());
579         sb.append(", userName=");
580         sb.append(getUserName());
581         sb.append(", createDate=");
582         sb.append(getCreateDate());
583         sb.append(", modifiedDate=");
584         sb.append(getModifiedDate());
585         sb.append(", categoryId=");
586         sb.append(getCategoryId());
587         sb.append(", emailAddress=");
588         sb.append(getEmailAddress());
589         sb.append(", inProtocol=");
590         sb.append(getInProtocol());
591         sb.append(", inServerName=");
592         sb.append(getInServerName());
593         sb.append(", inServerPort=");
594         sb.append(getInServerPort());
595         sb.append(", inUseSSL=");
596         sb.append(getInUseSSL());
597         sb.append(", inUserName=");
598         sb.append(getInUserName());
599         sb.append(", inPassword=");
600         sb.append(getInPassword());
601         sb.append(", inReadInterval=");
602         sb.append(getInReadInterval());
603         sb.append(", outEmailAddress=");
604         sb.append(getOutEmailAddress());
605         sb.append(", outCustom=");
606         sb.append(getOutCustom());
607         sb.append(", outServerName=");
608         sb.append(getOutServerName());
609         sb.append(", outServerPort=");
610         sb.append(getOutServerPort());
611         sb.append(", outUseSSL=");
612         sb.append(getOutUseSSL());
613         sb.append(", outUserName=");
614         sb.append(getOutUserName());
615         sb.append(", outPassword=");
616         sb.append(getOutPassword());
617         sb.append(", active=");
618         sb.append(getActive());
619         sb.append("}");
620 
621         return sb.toString();
622     }
623 
624     public String toXmlString() {
625         StringBundler sb = new StringBundler(79);
626 
627         sb.append("<model><model-name>");
628         sb.append("com.liferay.portlet.messageboards.model.MBMailingList");
629         sb.append("</model-name>");
630 
631         sb.append(
632             "<column><column-name>uuid</column-name><column-value><![CDATA[");
633         sb.append(getUuid());
634         sb.append("]]></column-value></column>");
635         sb.append(
636             "<column><column-name>mailingListId</column-name><column-value><![CDATA[");
637         sb.append(getMailingListId());
638         sb.append("]]></column-value></column>");
639         sb.append(
640             "<column><column-name>groupId</column-name><column-value><![CDATA[");
641         sb.append(getGroupId());
642         sb.append("]]></column-value></column>");
643         sb.append(
644             "<column><column-name>companyId</column-name><column-value><![CDATA[");
645         sb.append(getCompanyId());
646         sb.append("]]></column-value></column>");
647         sb.append(
648             "<column><column-name>userId</column-name><column-value><![CDATA[");
649         sb.append(getUserId());
650         sb.append("]]></column-value></column>");
651         sb.append(
652             "<column><column-name>userName</column-name><column-value><![CDATA[");
653         sb.append(getUserName());
654         sb.append("]]></column-value></column>");
655         sb.append(
656             "<column><column-name>createDate</column-name><column-value><![CDATA[");
657         sb.append(getCreateDate());
658         sb.append("]]></column-value></column>");
659         sb.append(
660             "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
661         sb.append(getModifiedDate());
662         sb.append("]]></column-value></column>");
663         sb.append(
664             "<column><column-name>categoryId</column-name><column-value><![CDATA[");
665         sb.append(getCategoryId());
666         sb.append("]]></column-value></column>");
667         sb.append(
668             "<column><column-name>emailAddress</column-name><column-value><![CDATA[");
669         sb.append(getEmailAddress());
670         sb.append("]]></column-value></column>");
671         sb.append(
672             "<column><column-name>inProtocol</column-name><column-value><![CDATA[");
673         sb.append(getInProtocol());
674         sb.append("]]></column-value></column>");
675         sb.append(
676             "<column><column-name>inServerName</column-name><column-value><![CDATA[");
677         sb.append(getInServerName());
678         sb.append("]]></column-value></column>");
679         sb.append(
680             "<column><column-name>inServerPort</column-name><column-value><![CDATA[");
681         sb.append(getInServerPort());
682         sb.append("]]></column-value></column>");
683         sb.append(
684             "<column><column-name>inUseSSL</column-name><column-value><![CDATA[");
685         sb.append(getInUseSSL());
686         sb.append("]]></column-value></column>");
687         sb.append(
688             "<column><column-name>inUserName</column-name><column-value><![CDATA[");
689         sb.append(getInUserName());
690         sb.append("]]></column-value></column>");
691         sb.append(
692             "<column><column-name>inPassword</column-name><column-value><![CDATA[");
693         sb.append(getInPassword());
694         sb.append("]]></column-value></column>");
695         sb.append(
696             "<column><column-name>inReadInterval</column-name><column-value><![CDATA[");
697         sb.append(getInReadInterval());
698         sb.append("]]></column-value></column>");
699         sb.append(
700             "<column><column-name>outEmailAddress</column-name><column-value><![CDATA[");
701         sb.append(getOutEmailAddress());
702         sb.append("]]></column-value></column>");
703         sb.append(
704             "<column><column-name>outCustom</column-name><column-value><![CDATA[");
705         sb.append(getOutCustom());
706         sb.append("]]></column-value></column>");
707         sb.append(
708             "<column><column-name>outServerName</column-name><column-value><![CDATA[");
709         sb.append(getOutServerName());
710         sb.append("]]></column-value></column>");
711         sb.append(
712             "<column><column-name>outServerPort</column-name><column-value><![CDATA[");
713         sb.append(getOutServerPort());
714         sb.append("]]></column-value></column>");
715         sb.append(
716             "<column><column-name>outUseSSL</column-name><column-value><![CDATA[");
717         sb.append(getOutUseSSL());
718         sb.append("]]></column-value></column>");
719         sb.append(
720             "<column><column-name>outUserName</column-name><column-value><![CDATA[");
721         sb.append(getOutUserName());
722         sb.append("]]></column-value></column>");
723         sb.append(
724             "<column><column-name>outPassword</column-name><column-value><![CDATA[");
725         sb.append(getOutPassword());
726         sb.append("]]></column-value></column>");
727         sb.append(
728             "<column><column-name>active</column-name><column-value><![CDATA[");
729         sb.append(getActive());
730         sb.append("]]></column-value></column>");
731 
732         sb.append("</model>");
733 
734         return sb.toString();
735     }
736 
737     private String _uuid;
738     private String _originalUuid;
739     private long _mailingListId;
740     private long _groupId;
741     private long _originalGroupId;
742     private boolean _setOriginalGroupId;
743     private long _companyId;
744     private long _userId;
745     private String _userUuid;
746     private String _userName;
747     private Date _createDate;
748     private Date _modifiedDate;
749     private long _categoryId;
750     private long _originalCategoryId;
751     private boolean _setOriginalCategoryId;
752     private String _emailAddress;
753     private String _inProtocol;
754     private String _inServerName;
755     private int _inServerPort;
756     private boolean _inUseSSL;
757     private String _inUserName;
758     private String _inPassword;
759     private int _inReadInterval;
760     private String _outEmailAddress;
761     private boolean _outCustom;
762     private String _outServerName;
763     private int _outServerPort;
764     private boolean _outUseSSL;
765     private String _outUserName;
766     private String _outPassword;
767     private boolean _active;
768     private transient ExpandoBridge _expandoBridge;
769 }