001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.journal.model;
016    
017    import com.liferay.portal.kernel.lar.StagedModelType;
018    import com.liferay.portal.kernel.util.Validator;
019    import com.liferay.portal.model.ModelWrapper;
020    
021    import java.util.Date;
022    import java.util.HashMap;
023    import java.util.Map;
024    
025    /**
026     * <p>
027     * This class is a wrapper for {@link JournalArticle}.
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see JournalArticle
032     * @generated
033     */
034    public class JournalArticleWrapper implements JournalArticle,
035            ModelWrapper<JournalArticle> {
036            public JournalArticleWrapper(JournalArticle journalArticle) {
037                    _journalArticle = journalArticle;
038            }
039    
040            @Override
041            public Class<?> getModelClass() {
042                    return JournalArticle.class;
043            }
044    
045            @Override
046            public String getModelClassName() {
047                    return JournalArticle.class.getName();
048            }
049    
050            @Override
051            public Map<String, Object> getModelAttributes() {
052                    Map<String, Object> attributes = new HashMap<String, Object>();
053    
054                    attributes.put("uuid", getUuid());
055                    attributes.put("id", getId());
056                    attributes.put("resourcePrimKey", getResourcePrimKey());
057                    attributes.put("groupId", getGroupId());
058                    attributes.put("companyId", getCompanyId());
059                    attributes.put("userId", getUserId());
060                    attributes.put("userName", getUserName());
061                    attributes.put("createDate", getCreateDate());
062                    attributes.put("modifiedDate", getModifiedDate());
063                    attributes.put("folderId", getFolderId());
064                    attributes.put("classNameId", getClassNameId());
065                    attributes.put("classPK", getClassPK());
066                    attributes.put("treePath", getTreePath());
067                    attributes.put("articleId", getArticleId());
068                    attributes.put("version", getVersion());
069                    attributes.put("title", getTitle());
070                    attributes.put("urlTitle", getUrlTitle());
071                    attributes.put("description", getDescription());
072                    attributes.put("content", getContent());
073                    attributes.put("type", getType());
074                    attributes.put("structureId", getStructureId());
075                    attributes.put("templateId", getTemplateId());
076                    attributes.put("layoutUuid", getLayoutUuid());
077                    attributes.put("displayDate", getDisplayDate());
078                    attributes.put("expirationDate", getExpirationDate());
079                    attributes.put("reviewDate", getReviewDate());
080                    attributes.put("indexable", getIndexable());
081                    attributes.put("smallImage", getSmallImage());
082                    attributes.put("smallImageId", getSmallImageId());
083                    attributes.put("smallImageURL", getSmallImageURL());
084                    attributes.put("status", getStatus());
085                    attributes.put("statusByUserId", getStatusByUserId());
086                    attributes.put("statusByUserName", getStatusByUserName());
087                    attributes.put("statusDate", getStatusDate());
088    
089                    return attributes;
090            }
091    
092            @Override
093            public void setModelAttributes(Map<String, Object> attributes) {
094                    String uuid = (String)attributes.get("uuid");
095    
096                    if (uuid != null) {
097                            setUuid(uuid);
098                    }
099    
100                    Long id = (Long)attributes.get("id");
101    
102                    if (id != null) {
103                            setId(id);
104                    }
105    
106                    Long resourcePrimKey = (Long)attributes.get("resourcePrimKey");
107    
108                    if (resourcePrimKey != null) {
109                            setResourcePrimKey(resourcePrimKey);
110                    }
111    
112                    Long groupId = (Long)attributes.get("groupId");
113    
114                    if (groupId != null) {
115                            setGroupId(groupId);
116                    }
117    
118                    Long companyId = (Long)attributes.get("companyId");
119    
120                    if (companyId != null) {
121                            setCompanyId(companyId);
122                    }
123    
124                    Long userId = (Long)attributes.get("userId");
125    
126                    if (userId != null) {
127                            setUserId(userId);
128                    }
129    
130                    String userName = (String)attributes.get("userName");
131    
132                    if (userName != null) {
133                            setUserName(userName);
134                    }
135    
136                    Date createDate = (Date)attributes.get("createDate");
137    
138                    if (createDate != null) {
139                            setCreateDate(createDate);
140                    }
141    
142                    Date modifiedDate = (Date)attributes.get("modifiedDate");
143    
144                    if (modifiedDate != null) {
145                            setModifiedDate(modifiedDate);
146                    }
147    
148                    Long folderId = (Long)attributes.get("folderId");
149    
150                    if (folderId != null) {
151                            setFolderId(folderId);
152                    }
153    
154                    Long classNameId = (Long)attributes.get("classNameId");
155    
156                    if (classNameId != null) {
157                            setClassNameId(classNameId);
158                    }
159    
160                    Long classPK = (Long)attributes.get("classPK");
161    
162                    if (classPK != null) {
163                            setClassPK(classPK);
164                    }
165    
166                    String treePath = (String)attributes.get("treePath");
167    
168                    if (treePath != null) {
169                            setTreePath(treePath);
170                    }
171    
172                    String articleId = (String)attributes.get("articleId");
173    
174                    if (articleId != null) {
175                            setArticleId(articleId);
176                    }
177    
178                    Double version = (Double)attributes.get("version");
179    
180                    if (version != null) {
181                            setVersion(version);
182                    }
183    
184                    String title = (String)attributes.get("title");
185    
186                    if (title != null) {
187                            setTitle(title);
188                    }
189    
190                    String urlTitle = (String)attributes.get("urlTitle");
191    
192                    if (urlTitle != null) {
193                            setUrlTitle(urlTitle);
194                    }
195    
196                    String description = (String)attributes.get("description");
197    
198                    if (description != null) {
199                            setDescription(description);
200                    }
201    
202                    String content = (String)attributes.get("content");
203    
204                    if (content != null) {
205                            setContent(content);
206                    }
207    
208                    String type = (String)attributes.get("type");
209    
210                    if (type != null) {
211                            setType(type);
212                    }
213    
214                    String structureId = (String)attributes.get("structureId");
215    
216                    if (structureId != null) {
217                            setStructureId(structureId);
218                    }
219    
220                    String templateId = (String)attributes.get("templateId");
221    
222                    if (templateId != null) {
223                            setTemplateId(templateId);
224                    }
225    
226                    String layoutUuid = (String)attributes.get("layoutUuid");
227    
228                    if (layoutUuid != null) {
229                            setLayoutUuid(layoutUuid);
230                    }
231    
232                    Date displayDate = (Date)attributes.get("displayDate");
233    
234                    if (displayDate != null) {
235                            setDisplayDate(displayDate);
236                    }
237    
238                    Date expirationDate = (Date)attributes.get("expirationDate");
239    
240                    if (expirationDate != null) {
241                            setExpirationDate(expirationDate);
242                    }
243    
244                    Date reviewDate = (Date)attributes.get("reviewDate");
245    
246                    if (reviewDate != null) {
247                            setReviewDate(reviewDate);
248                    }
249    
250                    Boolean indexable = (Boolean)attributes.get("indexable");
251    
252                    if (indexable != null) {
253                            setIndexable(indexable);
254                    }
255    
256                    Boolean smallImage = (Boolean)attributes.get("smallImage");
257    
258                    if (smallImage != null) {
259                            setSmallImage(smallImage);
260                    }
261    
262                    Long smallImageId = (Long)attributes.get("smallImageId");
263    
264                    if (smallImageId != null) {
265                            setSmallImageId(smallImageId);
266                    }
267    
268                    String smallImageURL = (String)attributes.get("smallImageURL");
269    
270                    if (smallImageURL != null) {
271                            setSmallImageURL(smallImageURL);
272                    }
273    
274                    Integer status = (Integer)attributes.get("status");
275    
276                    if (status != null) {
277                            setStatus(status);
278                    }
279    
280                    Long statusByUserId = (Long)attributes.get("statusByUserId");
281    
282                    if (statusByUserId != null) {
283                            setStatusByUserId(statusByUserId);
284                    }
285    
286                    String statusByUserName = (String)attributes.get("statusByUserName");
287    
288                    if (statusByUserName != null) {
289                            setStatusByUserName(statusByUserName);
290                    }
291    
292                    Date statusDate = (Date)attributes.get("statusDate");
293    
294                    if (statusDate != null) {
295                            setStatusDate(statusDate);
296                    }
297            }
298    
299            /**
300            * Returns the primary key of this journal article.
301            *
302            * @return the primary key of this journal article
303            */
304            @Override
305            public long getPrimaryKey() {
306                    return _journalArticle.getPrimaryKey();
307            }
308    
309            /**
310            * Sets the primary key of this journal article.
311            *
312            * @param primaryKey the primary key of this journal article
313            */
314            @Override
315            public void setPrimaryKey(long primaryKey) {
316                    _journalArticle.setPrimaryKey(primaryKey);
317            }
318    
319            /**
320            * Returns the uuid of this journal article.
321            *
322            * @return the uuid of this journal article
323            */
324            @Override
325            public java.lang.String getUuid() {
326                    return _journalArticle.getUuid();
327            }
328    
329            /**
330            * Sets the uuid of this journal article.
331            *
332            * @param uuid the uuid of this journal article
333            */
334            @Override
335            public void setUuid(java.lang.String uuid) {
336                    _journalArticle.setUuid(uuid);
337            }
338    
339            /**
340            * Returns the ID of this journal article.
341            *
342            * @return the ID of this journal article
343            */
344            @Override
345            public long getId() {
346                    return _journalArticle.getId();
347            }
348    
349            /**
350            * Sets the ID of this journal article.
351            *
352            * @param id the ID of this journal article
353            */
354            @Override
355            public void setId(long id) {
356                    _journalArticle.setId(id);
357            }
358    
359            /**
360            * Returns the resource prim key of this journal article.
361            *
362            * @return the resource prim key of this journal article
363            */
364            @Override
365            public long getResourcePrimKey() {
366                    return _journalArticle.getResourcePrimKey();
367            }
368    
369            /**
370            * Sets the resource prim key of this journal article.
371            *
372            * @param resourcePrimKey the resource prim key of this journal article
373            */
374            @Override
375            public void setResourcePrimKey(long resourcePrimKey) {
376                    _journalArticle.setResourcePrimKey(resourcePrimKey);
377            }
378    
379            @Override
380            public boolean isResourceMain() {
381                    return _journalArticle.isResourceMain();
382            }
383    
384            /**
385            * Returns the group ID of this journal article.
386            *
387            * @return the group ID of this journal article
388            */
389            @Override
390            public long getGroupId() {
391                    return _journalArticle.getGroupId();
392            }
393    
394            /**
395            * Sets the group ID of this journal article.
396            *
397            * @param groupId the group ID of this journal article
398            */
399            @Override
400            public void setGroupId(long groupId) {
401                    _journalArticle.setGroupId(groupId);
402            }
403    
404            /**
405            * Returns the company ID of this journal article.
406            *
407            * @return the company ID of this journal article
408            */
409            @Override
410            public long getCompanyId() {
411                    return _journalArticle.getCompanyId();
412            }
413    
414            /**
415            * Sets the company ID of this journal article.
416            *
417            * @param companyId the company ID of this journal article
418            */
419            @Override
420            public void setCompanyId(long companyId) {
421                    _journalArticle.setCompanyId(companyId);
422            }
423    
424            /**
425            * Returns the user ID of this journal article.
426            *
427            * @return the user ID of this journal article
428            */
429            @Override
430            public long getUserId() {
431                    return _journalArticle.getUserId();
432            }
433    
434            /**
435            * Sets the user ID of this journal article.
436            *
437            * @param userId the user ID of this journal article
438            */
439            @Override
440            public void setUserId(long userId) {
441                    _journalArticle.setUserId(userId);
442            }
443    
444            /**
445            * Returns the user uuid of this journal article.
446            *
447            * @return the user uuid of this journal article
448            * @throws SystemException if a system exception occurred
449            */
450            @Override
451            public java.lang.String getUserUuid()
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return _journalArticle.getUserUuid();
454            }
455    
456            /**
457            * Sets the user uuid of this journal article.
458            *
459            * @param userUuid the user uuid of this journal article
460            */
461            @Override
462            public void setUserUuid(java.lang.String userUuid) {
463                    _journalArticle.setUserUuid(userUuid);
464            }
465    
466            /**
467            * Returns the user name of this journal article.
468            *
469            * @return the user name of this journal article
470            */
471            @Override
472            public java.lang.String getUserName() {
473                    return _journalArticle.getUserName();
474            }
475    
476            /**
477            * Sets the user name of this journal article.
478            *
479            * @param userName the user name of this journal article
480            */
481            @Override
482            public void setUserName(java.lang.String userName) {
483                    _journalArticle.setUserName(userName);
484            }
485    
486            /**
487            * Returns the create date of this journal article.
488            *
489            * @return the create date of this journal article
490            */
491            @Override
492            public java.util.Date getCreateDate() {
493                    return _journalArticle.getCreateDate();
494            }
495    
496            /**
497            * Sets the create date of this journal article.
498            *
499            * @param createDate the create date of this journal article
500            */
501            @Override
502            public void setCreateDate(java.util.Date createDate) {
503                    _journalArticle.setCreateDate(createDate);
504            }
505    
506            /**
507            * Returns the modified date of this journal article.
508            *
509            * @return the modified date of this journal article
510            */
511            @Override
512            public java.util.Date getModifiedDate() {
513                    return _journalArticle.getModifiedDate();
514            }
515    
516            /**
517            * Sets the modified date of this journal article.
518            *
519            * @param modifiedDate the modified date of this journal article
520            */
521            @Override
522            public void setModifiedDate(java.util.Date modifiedDate) {
523                    _journalArticle.setModifiedDate(modifiedDate);
524            }
525    
526            /**
527            * Returns the folder ID of this journal article.
528            *
529            * @return the folder ID of this journal article
530            */
531            @Override
532            public long getFolderId() {
533                    return _journalArticle.getFolderId();
534            }
535    
536            /**
537            * Sets the folder ID of this journal article.
538            *
539            * @param folderId the folder ID of this journal article
540            */
541            @Override
542            public void setFolderId(long folderId) {
543                    _journalArticle.setFolderId(folderId);
544            }
545    
546            /**
547            * Returns the fully qualified class name of this journal article.
548            *
549            * @return the fully qualified class name of this journal article
550            */
551            @Override
552            public java.lang.String getClassName() {
553                    return _journalArticle.getClassName();
554            }
555    
556            @Override
557            public void setClassName(java.lang.String className) {
558                    _journalArticle.setClassName(className);
559            }
560    
561            /**
562            * Returns the class name ID of this journal article.
563            *
564            * @return the class name ID of this journal article
565            */
566            @Override
567            public long getClassNameId() {
568                    return _journalArticle.getClassNameId();
569            }
570    
571            /**
572            * Sets the class name ID of this journal article.
573            *
574            * @param classNameId the class name ID of this journal article
575            */
576            @Override
577            public void setClassNameId(long classNameId) {
578                    _journalArticle.setClassNameId(classNameId);
579            }
580    
581            /**
582            * Returns the class p k of this journal article.
583            *
584            * @return the class p k of this journal article
585            */
586            @Override
587            public long getClassPK() {
588                    return _journalArticle.getClassPK();
589            }
590    
591            /**
592            * Sets the class p k of this journal article.
593            *
594            * @param classPK the class p k of this journal article
595            */
596            @Override
597            public void setClassPK(long classPK) {
598                    _journalArticle.setClassPK(classPK);
599            }
600    
601            /**
602            * Returns the tree path of this journal article.
603            *
604            * @return the tree path of this journal article
605            */
606            @Override
607            public java.lang.String getTreePath() {
608                    return _journalArticle.getTreePath();
609            }
610    
611            /**
612            * Sets the tree path of this journal article.
613            *
614            * @param treePath the tree path of this journal article
615            */
616            @Override
617            public void setTreePath(java.lang.String treePath) {
618                    _journalArticle.setTreePath(treePath);
619            }
620    
621            /**
622            * Returns the article ID of this journal article.
623            *
624            * @return the article ID of this journal article
625            */
626            @Override
627            public java.lang.String getArticleId() {
628                    return _journalArticle.getArticleId();
629            }
630    
631            /**
632            * Sets the article ID of this journal article.
633            *
634            * @param articleId the article ID of this journal article
635            */
636            @Override
637            public void setArticleId(java.lang.String articleId) {
638                    _journalArticle.setArticleId(articleId);
639            }
640    
641            /**
642            * Returns the version of this journal article.
643            *
644            * @return the version of this journal article
645            */
646            @Override
647            public double getVersion() {
648                    return _journalArticle.getVersion();
649            }
650    
651            /**
652            * Sets the version of this journal article.
653            *
654            * @param version the version of this journal article
655            */
656            @Override
657            public void setVersion(double version) {
658                    _journalArticle.setVersion(version);
659            }
660    
661            /**
662            * Returns the title of this journal article.
663            *
664            * @return the title of this journal article
665            */
666            @Override
667            public java.lang.String getTitle() {
668                    return _journalArticle.getTitle();
669            }
670    
671            /**
672            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
673            *
674            * @param locale the locale of the language
675            * @return the localized title of this journal article
676            */
677            @Override
678            public java.lang.String getTitle(java.util.Locale locale) {
679                    return _journalArticle.getTitle(locale);
680            }
681    
682            /**
683            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
684            *
685            * @param locale the local of the language
686            * @param useDefault whether to use the default language if no localization exists for the requested language
687            * @return the localized title of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
688            */
689            @Override
690            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
691                    return _journalArticle.getTitle(locale, useDefault);
692            }
693    
694            /**
695            * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language.
696            *
697            * @param languageId the ID of the language
698            * @return the localized title of this journal article
699            */
700            @Override
701            public java.lang.String getTitle(java.lang.String languageId) {
702                    return _journalArticle.getTitle(languageId);
703            }
704    
705            /**
706            * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language.
707            *
708            * @param languageId the ID of the language
709            * @param useDefault whether to use the default language if no localization exists for the requested language
710            * @return the localized title of this journal article
711            */
712            @Override
713            public java.lang.String getTitle(java.lang.String languageId,
714                    boolean useDefault) {
715                    return _journalArticle.getTitle(languageId, useDefault);
716            }
717    
718            @Override
719            public java.lang.String getTitleCurrentLanguageId() {
720                    return _journalArticle.getTitleCurrentLanguageId();
721            }
722    
723            @Override
724            public java.lang.String getTitleCurrentValue() {
725                    return _journalArticle.getTitleCurrentValue();
726            }
727    
728            /**
729            * Returns a map of the locales and localized titles of this journal article.
730            *
731            * @return the locales and localized titles of this journal article
732            */
733            @Override
734            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
735                    return _journalArticle.getTitleMap();
736            }
737    
738            /**
739            * Sets the title of this journal article.
740            *
741            * @param title the title of this journal article
742            */
743            @Override
744            public void setTitle(java.lang.String title) {
745                    _journalArticle.setTitle(title);
746            }
747    
748            /**
749            * Sets the localized title of this journal article in the language.
750            *
751            * @param title the localized title of this journal article
752            * @param locale the locale of the language
753            */
754            @Override
755            public void setTitle(java.lang.String title, java.util.Locale locale) {
756                    _journalArticle.setTitle(title, locale);
757            }
758    
759            /**
760            * Sets the localized title of this journal article in the language, and sets the default locale.
761            *
762            * @param title the localized title of this journal article
763            * @param locale the locale of the language
764            * @param defaultLocale the default locale
765            */
766            @Override
767            public void setTitle(java.lang.String title, java.util.Locale locale,
768                    java.util.Locale defaultLocale) {
769                    _journalArticle.setTitle(title, locale, defaultLocale);
770            }
771    
772            @Override
773            public void setTitleCurrentLanguageId(java.lang.String languageId) {
774                    _journalArticle.setTitleCurrentLanguageId(languageId);
775            }
776    
777            /**
778            * Sets the localized titles of this journal article from the map of locales and localized titles.
779            *
780            * @param titleMap the locales and localized titles of this journal article
781            */
782            @Override
783            public void setTitleMap(
784                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
785                    _journalArticle.setTitleMap(titleMap);
786            }
787    
788            /**
789            * Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale.
790            *
791            * @param titleMap the locales and localized titles of this journal article
792            * @param defaultLocale the default locale
793            */
794            @Override
795            public void setTitleMap(
796                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
797                    java.util.Locale defaultLocale) {
798                    _journalArticle.setTitleMap(titleMap, defaultLocale);
799            }
800    
801            /**
802            * Returns the url title of this journal article.
803            *
804            * @return the url title of this journal article
805            */
806            @Override
807            public java.lang.String getUrlTitle() {
808                    return _journalArticle.getUrlTitle();
809            }
810    
811            /**
812            * Sets the url title of this journal article.
813            *
814            * @param urlTitle the url title of this journal article
815            */
816            @Override
817            public void setUrlTitle(java.lang.String urlTitle) {
818                    _journalArticle.setUrlTitle(urlTitle);
819            }
820    
821            /**
822            * Returns the description of this journal article.
823            *
824            * @return the description of this journal article
825            */
826            @Override
827            public java.lang.String getDescription() {
828                    return _journalArticle.getDescription();
829            }
830    
831            /**
832            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
833            *
834            * @param locale the locale of the language
835            * @return the localized description of this journal article
836            */
837            @Override
838            public java.lang.String getDescription(java.util.Locale locale) {
839                    return _journalArticle.getDescription(locale);
840            }
841    
842            /**
843            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
844            *
845            * @param locale the local of the language
846            * @param useDefault whether to use the default language if no localization exists for the requested language
847            * @return the localized description of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
848            */
849            @Override
850            public java.lang.String getDescription(java.util.Locale locale,
851                    boolean useDefault) {
852                    return _journalArticle.getDescription(locale, useDefault);
853            }
854    
855            /**
856            * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language.
857            *
858            * @param languageId the ID of the language
859            * @return the localized description of this journal article
860            */
861            @Override
862            public java.lang.String getDescription(java.lang.String languageId) {
863                    return _journalArticle.getDescription(languageId);
864            }
865    
866            /**
867            * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language.
868            *
869            * @param languageId the ID of the language
870            * @param useDefault whether to use the default language if no localization exists for the requested language
871            * @return the localized description of this journal article
872            */
873            @Override
874            public java.lang.String getDescription(java.lang.String languageId,
875                    boolean useDefault) {
876                    return _journalArticle.getDescription(languageId, useDefault);
877            }
878    
879            @Override
880            public java.lang.String getDescriptionCurrentLanguageId() {
881                    return _journalArticle.getDescriptionCurrentLanguageId();
882            }
883    
884            @Override
885            public java.lang.String getDescriptionCurrentValue() {
886                    return _journalArticle.getDescriptionCurrentValue();
887            }
888    
889            /**
890            * Returns a map of the locales and localized descriptions of this journal article.
891            *
892            * @return the locales and localized descriptions of this journal article
893            */
894            @Override
895            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
896                    return _journalArticle.getDescriptionMap();
897            }
898    
899            /**
900            * Sets the description of this journal article.
901            *
902            * @param description the description of this journal article
903            */
904            @Override
905            public void setDescription(java.lang.String description) {
906                    _journalArticle.setDescription(description);
907            }
908    
909            /**
910            * Sets the localized description of this journal article in the language.
911            *
912            * @param description the localized description of this journal article
913            * @param locale the locale of the language
914            */
915            @Override
916            public void setDescription(java.lang.String description,
917                    java.util.Locale locale) {
918                    _journalArticle.setDescription(description, locale);
919            }
920    
921            /**
922            * Sets the localized description of this journal article in the language, and sets the default locale.
923            *
924            * @param description the localized description of this journal article
925            * @param locale the locale of the language
926            * @param defaultLocale the default locale
927            */
928            @Override
929            public void setDescription(java.lang.String description,
930                    java.util.Locale locale, java.util.Locale defaultLocale) {
931                    _journalArticle.setDescription(description, locale, defaultLocale);
932            }
933    
934            @Override
935            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
936                    _journalArticle.setDescriptionCurrentLanguageId(languageId);
937            }
938    
939            /**
940            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions.
941            *
942            * @param descriptionMap the locales and localized descriptions of this journal article
943            */
944            @Override
945            public void setDescriptionMap(
946                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
947                    _journalArticle.setDescriptionMap(descriptionMap);
948            }
949    
950            /**
951            * Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale.
952            *
953            * @param descriptionMap the locales and localized descriptions of this journal article
954            * @param defaultLocale the default locale
955            */
956            @Override
957            public void setDescriptionMap(
958                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
959                    java.util.Locale defaultLocale) {
960                    _journalArticle.setDescriptionMap(descriptionMap, defaultLocale);
961            }
962    
963            /**
964            * Returns the content of this journal article.
965            *
966            * @return the content of this journal article
967            */
968            @Override
969            public java.lang.String getContent() {
970                    return _journalArticle.getContent();
971            }
972    
973            /**
974            * Sets the content of this journal article.
975            *
976            * @param content the content of this journal article
977            */
978            @Override
979            public void setContent(java.lang.String content) {
980                    _journalArticle.setContent(content);
981            }
982    
983            /**
984            * Returns the type of this journal article.
985            *
986            * @return the type of this journal article
987            */
988            @Override
989            public java.lang.String getType() {
990                    return _journalArticle.getType();
991            }
992    
993            /**
994            * Sets the type of this journal article.
995            *
996            * @param type the type of this journal article
997            */
998            @Override
999            public void setType(java.lang.String type) {
1000                    _journalArticle.setType(type);
1001            }
1002    
1003            /**
1004            * Returns the structure ID of this journal article.
1005            *
1006            * @return the structure ID of this journal article
1007            */
1008            @Override
1009            public java.lang.String getStructureId() {
1010                    return _journalArticle.getStructureId();
1011            }
1012    
1013            /**
1014            * Sets the structure ID of this journal article.
1015            *
1016            * @param structureId the structure ID of this journal article
1017            */
1018            @Override
1019            public void setStructureId(java.lang.String structureId) {
1020                    _journalArticle.setStructureId(structureId);
1021            }
1022    
1023            /**
1024            * Returns the template ID of this journal article.
1025            *
1026            * @return the template ID of this journal article
1027            */
1028            @Override
1029            public java.lang.String getTemplateId() {
1030                    return _journalArticle.getTemplateId();
1031            }
1032    
1033            /**
1034            * Sets the template ID of this journal article.
1035            *
1036            * @param templateId the template ID of this journal article
1037            */
1038            @Override
1039            public void setTemplateId(java.lang.String templateId) {
1040                    _journalArticle.setTemplateId(templateId);
1041            }
1042    
1043            /**
1044            * Returns the layout uuid of this journal article.
1045            *
1046            * @return the layout uuid of this journal article
1047            */
1048            @Override
1049            public java.lang.String getLayoutUuid() {
1050                    return _journalArticle.getLayoutUuid();
1051            }
1052    
1053            /**
1054            * Sets the layout uuid of this journal article.
1055            *
1056            * @param layoutUuid the layout uuid of this journal article
1057            */
1058            @Override
1059            public void setLayoutUuid(java.lang.String layoutUuid) {
1060                    _journalArticle.setLayoutUuid(layoutUuid);
1061            }
1062    
1063            /**
1064            * Returns the display date of this journal article.
1065            *
1066            * @return the display date of this journal article
1067            */
1068            @Override
1069            public java.util.Date getDisplayDate() {
1070                    return _journalArticle.getDisplayDate();
1071            }
1072    
1073            /**
1074            * Sets the display date of this journal article.
1075            *
1076            * @param displayDate the display date of this journal article
1077            */
1078            @Override
1079            public void setDisplayDate(java.util.Date displayDate) {
1080                    _journalArticle.setDisplayDate(displayDate);
1081            }
1082    
1083            /**
1084            * Returns the expiration date of this journal article.
1085            *
1086            * @return the expiration date of this journal article
1087            */
1088            @Override
1089            public java.util.Date getExpirationDate() {
1090                    return _journalArticle.getExpirationDate();
1091            }
1092    
1093            /**
1094            * Sets the expiration date of this journal article.
1095            *
1096            * @param expirationDate the expiration date of this journal article
1097            */
1098            @Override
1099            public void setExpirationDate(java.util.Date expirationDate) {
1100                    _journalArticle.setExpirationDate(expirationDate);
1101            }
1102    
1103            /**
1104            * Returns the review date of this journal article.
1105            *
1106            * @return the review date of this journal article
1107            */
1108            @Override
1109            public java.util.Date getReviewDate() {
1110                    return _journalArticle.getReviewDate();
1111            }
1112    
1113            /**
1114            * Sets the review date of this journal article.
1115            *
1116            * @param reviewDate the review date of this journal article
1117            */
1118            @Override
1119            public void setReviewDate(java.util.Date reviewDate) {
1120                    _journalArticle.setReviewDate(reviewDate);
1121            }
1122    
1123            /**
1124            * Returns the indexable of this journal article.
1125            *
1126            * @return the indexable of this journal article
1127            */
1128            @Override
1129            public boolean getIndexable() {
1130                    return _journalArticle.getIndexable();
1131            }
1132    
1133            /**
1134            * Returns <code>true</code> if this journal article is indexable.
1135            *
1136            * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise
1137            */
1138            @Override
1139            public boolean isIndexable() {
1140                    return _journalArticle.isIndexable();
1141            }
1142    
1143            /**
1144            * Sets whether this journal article is indexable.
1145            *
1146            * @param indexable the indexable of this journal article
1147            */
1148            @Override
1149            public void setIndexable(boolean indexable) {
1150                    _journalArticle.setIndexable(indexable);
1151            }
1152    
1153            /**
1154            * Returns the small image of this journal article.
1155            *
1156            * @return the small image of this journal article
1157            */
1158            @Override
1159            public boolean getSmallImage() {
1160                    return _journalArticle.getSmallImage();
1161            }
1162    
1163            /**
1164            * Returns <code>true</code> if this journal article is small image.
1165            *
1166            * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise
1167            */
1168            @Override
1169            public boolean isSmallImage() {
1170                    return _journalArticle.isSmallImage();
1171            }
1172    
1173            /**
1174            * Sets whether this journal article is small image.
1175            *
1176            * @param smallImage the small image of this journal article
1177            */
1178            @Override
1179            public void setSmallImage(boolean smallImage) {
1180                    _journalArticle.setSmallImage(smallImage);
1181            }
1182    
1183            /**
1184            * Returns the small image ID of this journal article.
1185            *
1186            * @return the small image ID of this journal article
1187            */
1188            @Override
1189            public long getSmallImageId() {
1190                    return _journalArticle.getSmallImageId();
1191            }
1192    
1193            /**
1194            * Sets the small image ID of this journal article.
1195            *
1196            * @param smallImageId the small image ID of this journal article
1197            */
1198            @Override
1199            public void setSmallImageId(long smallImageId) {
1200                    _journalArticle.setSmallImageId(smallImageId);
1201            }
1202    
1203            /**
1204            * Returns the small image u r l of this journal article.
1205            *
1206            * @return the small image u r l of this journal article
1207            */
1208            @Override
1209            public java.lang.String getSmallImageURL() {
1210                    return _journalArticle.getSmallImageURL();
1211            }
1212    
1213            /**
1214            * Sets the small image u r l of this journal article.
1215            *
1216            * @param smallImageURL the small image u r l of this journal article
1217            */
1218            @Override
1219            public void setSmallImageURL(java.lang.String smallImageURL) {
1220                    _journalArticle.setSmallImageURL(smallImageURL);
1221            }
1222    
1223            /**
1224            * Returns the status of this journal article.
1225            *
1226            * @return the status of this journal article
1227            */
1228            @Override
1229            public int getStatus() {
1230                    return _journalArticle.getStatus();
1231            }
1232    
1233            /**
1234            * Sets the status of this journal article.
1235            *
1236            * @param status the status of this journal article
1237            */
1238            @Override
1239            public void setStatus(int status) {
1240                    _journalArticle.setStatus(status);
1241            }
1242    
1243            /**
1244            * Returns the status by user ID of this journal article.
1245            *
1246            * @return the status by user ID of this journal article
1247            */
1248            @Override
1249            public long getStatusByUserId() {
1250                    return _journalArticle.getStatusByUserId();
1251            }
1252    
1253            /**
1254            * Sets the status by user ID of this journal article.
1255            *
1256            * @param statusByUserId the status by user ID of this journal article
1257            */
1258            @Override
1259            public void setStatusByUserId(long statusByUserId) {
1260                    _journalArticle.setStatusByUserId(statusByUserId);
1261            }
1262    
1263            /**
1264            * Returns the status by user uuid of this journal article.
1265            *
1266            * @return the status by user uuid of this journal article
1267            * @throws SystemException if a system exception occurred
1268            */
1269            @Override
1270            public java.lang.String getStatusByUserUuid()
1271                    throws com.liferay.portal.kernel.exception.SystemException {
1272                    return _journalArticle.getStatusByUserUuid();
1273            }
1274    
1275            /**
1276            * Sets the status by user uuid of this journal article.
1277            *
1278            * @param statusByUserUuid the status by user uuid of this journal article
1279            */
1280            @Override
1281            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1282                    _journalArticle.setStatusByUserUuid(statusByUserUuid);
1283            }
1284    
1285            /**
1286            * Returns the status by user name of this journal article.
1287            *
1288            * @return the status by user name of this journal article
1289            */
1290            @Override
1291            public java.lang.String getStatusByUserName() {
1292                    return _journalArticle.getStatusByUserName();
1293            }
1294    
1295            /**
1296            * Sets the status by user name of this journal article.
1297            *
1298            * @param statusByUserName the status by user name of this journal article
1299            */
1300            @Override
1301            public void setStatusByUserName(java.lang.String statusByUserName) {
1302                    _journalArticle.setStatusByUserName(statusByUserName);
1303            }
1304    
1305            /**
1306            * Returns the status date of this journal article.
1307            *
1308            * @return the status date of this journal article
1309            */
1310            @Override
1311            public java.util.Date getStatusDate() {
1312                    return _journalArticle.getStatusDate();
1313            }
1314    
1315            /**
1316            * Sets the status date of this journal article.
1317            *
1318            * @param statusDate the status date of this journal article
1319            */
1320            @Override
1321            public void setStatusDate(java.util.Date statusDate) {
1322                    _journalArticle.setStatusDate(statusDate);
1323            }
1324    
1325            /**
1326            * Returns the trash entry created when this journal article was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal article.
1327            *
1328            * @return the trash entry created when this journal article was moved to the Recycle Bin
1329            * @throws SystemException if a system exception occurred
1330            */
1331            @Override
1332            public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
1333                    throws com.liferay.portal.kernel.exception.PortalException,
1334                            com.liferay.portal.kernel.exception.SystemException {
1335                    return _journalArticle.getTrashEntry();
1336            }
1337    
1338            /**
1339            * Returns the trash handler for this journal article.
1340            *
1341            * @return the trash handler for this journal article
1342            */
1343            @Override
1344            public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
1345                    return _journalArticle.getTrashHandler();
1346            }
1347    
1348            /**
1349            * Returns <code>true</code> if this journal article is in the Recycle Bin.
1350            *
1351            * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise
1352            */
1353            @Override
1354            public boolean isInTrash() {
1355                    return _journalArticle.isInTrash();
1356            }
1357    
1358            /**
1359            * Returns <code>true</code> if the parent of this journal article is in the Recycle Bin.
1360            *
1361            * @return <code>true</code> if the parent of this journal article is in the Recycle Bin; <code>false</code> otherwise
1362            * @throws SystemException if a system exception occurred
1363            */
1364            @Override
1365            public boolean isInTrashContainer() {
1366                    return _journalArticle.isInTrashContainer();
1367            }
1368    
1369            /**
1370            * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
1371            */
1372            @Override
1373            public boolean getApproved() {
1374                    return _journalArticle.getApproved();
1375            }
1376    
1377            /**
1378            * Returns <code>true</code> if this journal article is approved.
1379            *
1380            * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise
1381            */
1382            @Override
1383            public boolean isApproved() {
1384                    return _journalArticle.isApproved();
1385            }
1386    
1387            /**
1388            * Returns <code>true</code> if this journal article is denied.
1389            *
1390            * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise
1391            */
1392            @Override
1393            public boolean isDenied() {
1394                    return _journalArticle.isDenied();
1395            }
1396    
1397            /**
1398            * Returns <code>true</code> if this journal article is a draft.
1399            *
1400            * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise
1401            */
1402            @Override
1403            public boolean isDraft() {
1404                    return _journalArticle.isDraft();
1405            }
1406    
1407            /**
1408            * Returns <code>true</code> if this journal article is expired.
1409            *
1410            * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise
1411            */
1412            @Override
1413            public boolean isExpired() {
1414                    return _journalArticle.isExpired();
1415            }
1416    
1417            /**
1418            * Returns <code>true</code> if this journal article is inactive.
1419            *
1420            * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise
1421            */
1422            @Override
1423            public boolean isInactive() {
1424                    return _journalArticle.isInactive();
1425            }
1426    
1427            /**
1428            * Returns <code>true</code> if this journal article is incomplete.
1429            *
1430            * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise
1431            */
1432            @Override
1433            public boolean isIncomplete() {
1434                    return _journalArticle.isIncomplete();
1435            }
1436    
1437            /**
1438            * Returns <code>true</code> if this journal article is pending.
1439            *
1440            * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise
1441            */
1442            @Override
1443            public boolean isPending() {
1444                    return _journalArticle.isPending();
1445            }
1446    
1447            /**
1448            * Returns <code>true</code> if this journal article is scheduled.
1449            *
1450            * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise
1451            */
1452            @Override
1453            public boolean isScheduled() {
1454                    return _journalArticle.isScheduled();
1455            }
1456    
1457            @Override
1458            public boolean isNew() {
1459                    return _journalArticle.isNew();
1460            }
1461    
1462            @Override
1463            public void setNew(boolean n) {
1464                    _journalArticle.setNew(n);
1465            }
1466    
1467            @Override
1468            public boolean isCachedModel() {
1469                    return _journalArticle.isCachedModel();
1470            }
1471    
1472            @Override
1473            public void setCachedModel(boolean cachedModel) {
1474                    _journalArticle.setCachedModel(cachedModel);
1475            }
1476    
1477            @Override
1478            public boolean isEscapedModel() {
1479                    return _journalArticle.isEscapedModel();
1480            }
1481    
1482            @Override
1483            public java.io.Serializable getPrimaryKeyObj() {
1484                    return _journalArticle.getPrimaryKeyObj();
1485            }
1486    
1487            @Override
1488            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1489                    _journalArticle.setPrimaryKeyObj(primaryKeyObj);
1490            }
1491    
1492            @Override
1493            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1494                    return _journalArticle.getExpandoBridge();
1495            }
1496    
1497            @Override
1498            public void setExpandoBridgeAttributes(
1499                    com.liferay.portal.model.BaseModel<?> baseModel) {
1500                    _journalArticle.setExpandoBridgeAttributes(baseModel);
1501            }
1502    
1503            @Override
1504            public void setExpandoBridgeAttributes(
1505                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1506                    _journalArticle.setExpandoBridgeAttributes(expandoBridge);
1507            }
1508    
1509            @Override
1510            public void setExpandoBridgeAttributes(
1511                    com.liferay.portal.service.ServiceContext serviceContext) {
1512                    _journalArticle.setExpandoBridgeAttributes(serviceContext);
1513            }
1514    
1515            @Override
1516            public java.lang.String[] getAvailableLanguageIds() {
1517                    return _journalArticle.getAvailableLanguageIds();
1518            }
1519    
1520            @Override
1521            public java.lang.String getDefaultLanguageId() {
1522                    return _journalArticle.getDefaultLanguageId();
1523            }
1524    
1525            @Override
1526            public void prepareLocalizedFieldsForImport()
1527                    throws com.liferay.portal.LocaleException {
1528                    _journalArticle.prepareLocalizedFieldsForImport();
1529            }
1530    
1531            @Override
1532            public void prepareLocalizedFieldsForImport(
1533                    java.util.Locale defaultImportLocale)
1534                    throws com.liferay.portal.LocaleException {
1535                    _journalArticle.prepareLocalizedFieldsForImport(defaultImportLocale);
1536            }
1537    
1538            @Override
1539            public java.lang.Object clone() {
1540                    return new JournalArticleWrapper((JournalArticle)_journalArticle.clone());
1541            }
1542    
1543            @Override
1544            public int compareTo(
1545                    com.liferay.portlet.journal.model.JournalArticle journalArticle) {
1546                    return _journalArticle.compareTo(journalArticle);
1547            }
1548    
1549            @Override
1550            public int hashCode() {
1551                    return _journalArticle.hashCode();
1552            }
1553    
1554            @Override
1555            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel() {
1556                    return _journalArticle.toCacheModel();
1557            }
1558    
1559            @Override
1560            public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() {
1561                    return new JournalArticleWrapper(_journalArticle.toEscapedModel());
1562            }
1563    
1564            @Override
1565            public com.liferay.portlet.journal.model.JournalArticle toUnescapedModel() {
1566                    return new JournalArticleWrapper(_journalArticle.toUnescapedModel());
1567            }
1568    
1569            @Override
1570            public java.lang.String toString() {
1571                    return _journalArticle.toString();
1572            }
1573    
1574            @Override
1575            public java.lang.String toXmlString() {
1576                    return _journalArticle.toXmlString();
1577            }
1578    
1579            @Override
1580            public void persist()
1581                    throws com.liferay.portal.kernel.exception.SystemException {
1582                    _journalArticle.persist();
1583            }
1584    
1585            @Override
1586            public java.lang.String buildTreePath()
1587                    throws com.liferay.portal.kernel.exception.PortalException,
1588                            com.liferay.portal.kernel.exception.SystemException {
1589                    return _journalArticle.buildTreePath();
1590            }
1591    
1592            @Override
1593            public java.lang.String getArticleImageURL(
1594                    com.liferay.portal.theme.ThemeDisplay themeDisplay) {
1595                    return _journalArticle.getArticleImageURL(themeDisplay);
1596            }
1597    
1598            @Override
1599            public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
1600                    throws com.liferay.portal.kernel.exception.PortalException,
1601                            com.liferay.portal.kernel.exception.SystemException {
1602                    return _journalArticle.getArticleResource();
1603            }
1604    
1605            @Override
1606            public java.lang.String getArticleResourceUuid()
1607                    throws com.liferay.portal.kernel.exception.PortalException,
1608                            com.liferay.portal.kernel.exception.SystemException {
1609                    return _journalArticle.getArticleResourceUuid();
1610            }
1611    
1612            /**
1613            * @deprecated As of 6.2.0, replaced by {@link #getAvailableLanguageIds}
1614            */
1615            @Override
1616            public java.lang.String[] getAvailableLocales() {
1617                    return _journalArticle.getAvailableLocales();
1618            }
1619    
1620            @Override
1621            public java.lang.String getContentByLocale(java.lang.String languageId) {
1622                    return _journalArticle.getContentByLocale(languageId);
1623            }
1624    
1625            /**
1626            * @deprecated As of 6.2.0, replaced by {@link #getDefaultLanguageId}
1627            */
1628            @Override
1629            public java.lang.String getDefaultLocale() {
1630                    return _journalArticle.getDefaultLocale();
1631            }
1632    
1633            @Override
1634            public com.liferay.portlet.journal.model.JournalFolder getFolder()
1635                    throws com.liferay.portal.kernel.exception.PortalException,
1636                            com.liferay.portal.kernel.exception.SystemException {
1637                    return _journalArticle.getFolder();
1638            }
1639    
1640            @Override
1641            public java.lang.String getSmallImageType()
1642                    throws com.liferay.portal.kernel.exception.PortalException,
1643                            com.liferay.portal.kernel.exception.SystemException {
1644                    return _journalArticle.getSmallImageType();
1645            }
1646    
1647            @Override
1648            public com.liferay.portlet.journal.model.JournalFolder getTrashContainer()
1649                    throws com.liferay.portal.kernel.exception.PortalException,
1650                            com.liferay.portal.kernel.exception.SystemException {
1651                    return _journalArticle.getTrashContainer();
1652            }
1653    
1654            @Override
1655            public boolean hasApprovedVersion()
1656                    throws com.liferay.portal.kernel.exception.SystemException {
1657                    return _journalArticle.hasApprovedVersion();
1658            }
1659    
1660            @Override
1661            public boolean isTemplateDriven() {
1662                    return _journalArticle.isTemplateDriven();
1663            }
1664    
1665            @Override
1666            public void setSmallImageType(java.lang.String smallImageType) {
1667                    _journalArticle.setSmallImageType(smallImageType);
1668            }
1669    
1670            @Override
1671            public boolean equals(Object obj) {
1672                    if (this == obj) {
1673                            return true;
1674                    }
1675    
1676                    if (!(obj instanceof JournalArticleWrapper)) {
1677                            return false;
1678                    }
1679    
1680                    JournalArticleWrapper journalArticleWrapper = (JournalArticleWrapper)obj;
1681    
1682                    if (Validator.equals(_journalArticle,
1683                                            journalArticleWrapper._journalArticle)) {
1684                            return true;
1685                    }
1686    
1687                    return false;
1688            }
1689    
1690            @Override
1691            public StagedModelType getStagedModelType() {
1692                    return _journalArticle.getStagedModelType();
1693            }
1694    
1695            /**
1696             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1697             */
1698            public JournalArticle getWrappedJournalArticle() {
1699                    return _journalArticle;
1700            }
1701    
1702            @Override
1703            public JournalArticle getWrappedModel() {
1704                    return _journalArticle;
1705            }
1706    
1707            @Override
1708            public void resetOriginalValues() {
1709                    _journalArticle.resetOriginalValues();
1710            }
1711    
1712            private JournalArticle _journalArticle;
1713    }