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