001
014
015 package com.liferay.portlet.journal.model;
016
017 import com.liferay.portal.kernel.util.Validator;
018 import com.liferay.portal.model.ModelWrapper;
019
020 import java.util.Date;
021 import java.util.HashMap;
022 import java.util.Map;
023
024
033 public class JournalArticleWrapper implements JournalArticle,
034 ModelWrapper<JournalArticle> {
035 public JournalArticleWrapper(JournalArticle journalArticle) {
036 _journalArticle = journalArticle;
037 }
038
039 public Class<?> getModelClass() {
040 return JournalArticle.class;
041 }
042
043 public String getModelClassName() {
044 return JournalArticle.class.getName();
045 }
046
047 public Map<String, Object> getModelAttributes() {
048 Map<String, Object> attributes = new HashMap<String, Object>();
049
050 attributes.put("uuid", getUuid());
051 attributes.put("id", getId());
052 attributes.put("resourcePrimKey", getResourcePrimKey());
053 attributes.put("groupId", getGroupId());
054 attributes.put("companyId", getCompanyId());
055 attributes.put("userId", getUserId());
056 attributes.put("userName", getUserName());
057 attributes.put("createDate", getCreateDate());
058 attributes.put("modifiedDate", getModifiedDate());
059 attributes.put("classNameId", getClassNameId());
060 attributes.put("classPK", getClassPK());
061 attributes.put("articleId", getArticleId());
062 attributes.put("version", getVersion());
063 attributes.put("title", getTitle());
064 attributes.put("urlTitle", getUrlTitle());
065 attributes.put("description", getDescription());
066 attributes.put("content", getContent());
067 attributes.put("type", getType());
068 attributes.put("structureId", getStructureId());
069 attributes.put("templateId", getTemplateId());
070 attributes.put("layoutUuid", getLayoutUuid());
071 attributes.put("displayDate", getDisplayDate());
072 attributes.put("expirationDate", getExpirationDate());
073 attributes.put("reviewDate", getReviewDate());
074 attributes.put("indexable", getIndexable());
075 attributes.put("smallImage", getSmallImage());
076 attributes.put("smallImageId", getSmallImageId());
077 attributes.put("smallImageURL", getSmallImageURL());
078 attributes.put("status", getStatus());
079 attributes.put("statusByUserId", getStatusByUserId());
080 attributes.put("statusByUserName", getStatusByUserName());
081 attributes.put("statusDate", getStatusDate());
082
083 return attributes;
084 }
085
086 public void setModelAttributes(Map<String, Object> attributes) {
087 String uuid = (String)attributes.get("uuid");
088
089 if (uuid != null) {
090 setUuid(uuid);
091 }
092
093 Long id = (Long)attributes.get("id");
094
095 if (id != null) {
096 setId(id);
097 }
098
099 Long resourcePrimKey = (Long)attributes.get("resourcePrimKey");
100
101 if (resourcePrimKey != null) {
102 setResourcePrimKey(resourcePrimKey);
103 }
104
105 Long groupId = (Long)attributes.get("groupId");
106
107 if (groupId != null) {
108 setGroupId(groupId);
109 }
110
111 Long companyId = (Long)attributes.get("companyId");
112
113 if (companyId != null) {
114 setCompanyId(companyId);
115 }
116
117 Long userId = (Long)attributes.get("userId");
118
119 if (userId != null) {
120 setUserId(userId);
121 }
122
123 String userName = (String)attributes.get("userName");
124
125 if (userName != null) {
126 setUserName(userName);
127 }
128
129 Date createDate = (Date)attributes.get("createDate");
130
131 if (createDate != null) {
132 setCreateDate(createDate);
133 }
134
135 Date modifiedDate = (Date)attributes.get("modifiedDate");
136
137 if (modifiedDate != null) {
138 setModifiedDate(modifiedDate);
139 }
140
141 Long classNameId = (Long)attributes.get("classNameId");
142
143 if (classNameId != null) {
144 setClassNameId(classNameId);
145 }
146
147 Long classPK = (Long)attributes.get("classPK");
148
149 if (classPK != null) {
150 setClassPK(classPK);
151 }
152
153 String articleId = (String)attributes.get("articleId");
154
155 if (articleId != null) {
156 setArticleId(articleId);
157 }
158
159 Double version = (Double)attributes.get("version");
160
161 if (version != null) {
162 setVersion(version);
163 }
164
165 String title = (String)attributes.get("title");
166
167 if (title != null) {
168 setTitle(title);
169 }
170
171 String urlTitle = (String)attributes.get("urlTitle");
172
173 if (urlTitle != null) {
174 setUrlTitle(urlTitle);
175 }
176
177 String description = (String)attributes.get("description");
178
179 if (description != null) {
180 setDescription(description);
181 }
182
183 String content = (String)attributes.get("content");
184
185 if (content != null) {
186 setContent(content);
187 }
188
189 String type = (String)attributes.get("type");
190
191 if (type != null) {
192 setType(type);
193 }
194
195 String structureId = (String)attributes.get("structureId");
196
197 if (structureId != null) {
198 setStructureId(structureId);
199 }
200
201 String templateId = (String)attributes.get("templateId");
202
203 if (templateId != null) {
204 setTemplateId(templateId);
205 }
206
207 String layoutUuid = (String)attributes.get("layoutUuid");
208
209 if (layoutUuid != null) {
210 setLayoutUuid(layoutUuid);
211 }
212
213 Date displayDate = (Date)attributes.get("displayDate");
214
215 if (displayDate != null) {
216 setDisplayDate(displayDate);
217 }
218
219 Date expirationDate = (Date)attributes.get("expirationDate");
220
221 if (expirationDate != null) {
222 setExpirationDate(expirationDate);
223 }
224
225 Date reviewDate = (Date)attributes.get("reviewDate");
226
227 if (reviewDate != null) {
228 setReviewDate(reviewDate);
229 }
230
231 Boolean indexable = (Boolean)attributes.get("indexable");
232
233 if (indexable != null) {
234 setIndexable(indexable);
235 }
236
237 Boolean smallImage = (Boolean)attributes.get("smallImage");
238
239 if (smallImage != null) {
240 setSmallImage(smallImage);
241 }
242
243 Long smallImageId = (Long)attributes.get("smallImageId");
244
245 if (smallImageId != null) {
246 setSmallImageId(smallImageId);
247 }
248
249 String smallImageURL = (String)attributes.get("smallImageURL");
250
251 if (smallImageURL != null) {
252 setSmallImageURL(smallImageURL);
253 }
254
255 Integer status = (Integer)attributes.get("status");
256
257 if (status != null) {
258 setStatus(status);
259 }
260
261 Long statusByUserId = (Long)attributes.get("statusByUserId");
262
263 if (statusByUserId != null) {
264 setStatusByUserId(statusByUserId);
265 }
266
267 String statusByUserName = (String)attributes.get("statusByUserName");
268
269 if (statusByUserName != null) {
270 setStatusByUserName(statusByUserName);
271 }
272
273 Date statusDate = (Date)attributes.get("statusDate");
274
275 if (statusDate != null) {
276 setStatusDate(statusDate);
277 }
278 }
279
280
285 public long getPrimaryKey() {
286 return _journalArticle.getPrimaryKey();
287 }
288
289
294 public void setPrimaryKey(long primaryKey) {
295 _journalArticle.setPrimaryKey(primaryKey);
296 }
297
298
303 public java.lang.String getUuid() {
304 return _journalArticle.getUuid();
305 }
306
307
312 public void setUuid(java.lang.String uuid) {
313 _journalArticle.setUuid(uuid);
314 }
315
316
321 public long getId() {
322 return _journalArticle.getId();
323 }
324
325
330 public void setId(long id) {
331 _journalArticle.setId(id);
332 }
333
334
339 public long getResourcePrimKey() {
340 return _journalArticle.getResourcePrimKey();
341 }
342
343
348 public void setResourcePrimKey(long resourcePrimKey) {
349 _journalArticle.setResourcePrimKey(resourcePrimKey);
350 }
351
352 public boolean isResourceMain() {
353 return _journalArticle.isResourceMain();
354 }
355
356
361 public long getGroupId() {
362 return _journalArticle.getGroupId();
363 }
364
365
370 public void setGroupId(long groupId) {
371 _journalArticle.setGroupId(groupId);
372 }
373
374
379 public long getCompanyId() {
380 return _journalArticle.getCompanyId();
381 }
382
383
388 public void setCompanyId(long companyId) {
389 _journalArticle.setCompanyId(companyId);
390 }
391
392
397 public long getUserId() {
398 return _journalArticle.getUserId();
399 }
400
401
406 public void setUserId(long userId) {
407 _journalArticle.setUserId(userId);
408 }
409
410
416 public java.lang.String getUserUuid()
417 throws com.liferay.portal.kernel.exception.SystemException {
418 return _journalArticle.getUserUuid();
419 }
420
421
426 public void setUserUuid(java.lang.String userUuid) {
427 _journalArticle.setUserUuid(userUuid);
428 }
429
430
435 public java.lang.String getUserName() {
436 return _journalArticle.getUserName();
437 }
438
439
444 public void setUserName(java.lang.String userName) {
445 _journalArticle.setUserName(userName);
446 }
447
448
453 public java.util.Date getCreateDate() {
454 return _journalArticle.getCreateDate();
455 }
456
457
462 public void setCreateDate(java.util.Date createDate) {
463 _journalArticle.setCreateDate(createDate);
464 }
465
466
471 public java.util.Date getModifiedDate() {
472 return _journalArticle.getModifiedDate();
473 }
474
475
480 public void setModifiedDate(java.util.Date modifiedDate) {
481 _journalArticle.setModifiedDate(modifiedDate);
482 }
483
484
489 public java.lang.String getClassName() {
490 return _journalArticle.getClassName();
491 }
492
493 public void setClassName(java.lang.String className) {
494 _journalArticle.setClassName(className);
495 }
496
497
502 public long getClassNameId() {
503 return _journalArticle.getClassNameId();
504 }
505
506
511 public void setClassNameId(long classNameId) {
512 _journalArticle.setClassNameId(classNameId);
513 }
514
515
520 public long getClassPK() {
521 return _journalArticle.getClassPK();
522 }
523
524
529 public void setClassPK(long classPK) {
530 _journalArticle.setClassPK(classPK);
531 }
532
533
538 public java.lang.String getArticleId() {
539 return _journalArticle.getArticleId();
540 }
541
542
547 public void setArticleId(java.lang.String articleId) {
548 _journalArticle.setArticleId(articleId);
549 }
550
551
556 public double getVersion() {
557 return _journalArticle.getVersion();
558 }
559
560
565 public void setVersion(double version) {
566 _journalArticle.setVersion(version);
567 }
568
569
574 public java.lang.String getTitle() {
575 return _journalArticle.getTitle();
576 }
577
578
584 public java.lang.String getTitle(java.util.Locale locale) {
585 return _journalArticle.getTitle(locale);
586 }
587
588
595 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
596 return _journalArticle.getTitle(locale, useDefault);
597 }
598
599
605 public java.lang.String getTitle(java.lang.String languageId) {
606 return _journalArticle.getTitle(languageId);
607 }
608
609
616 public java.lang.String getTitle(java.lang.String languageId,
617 boolean useDefault) {
618 return _journalArticle.getTitle(languageId, useDefault);
619 }
620
621 public java.lang.String getTitleCurrentLanguageId() {
622 return _journalArticle.getTitleCurrentLanguageId();
623 }
624
625 public java.lang.String getTitleCurrentValue() {
626 return _journalArticle.getTitleCurrentValue();
627 }
628
629
634 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
635 return _journalArticle.getTitleMap();
636 }
637
638
643 public void setTitle(java.lang.String title) {
644 _journalArticle.setTitle(title);
645 }
646
647
653 public void setTitle(java.lang.String title, java.util.Locale locale) {
654 _journalArticle.setTitle(title, locale);
655 }
656
657
664 public void setTitle(java.lang.String title, java.util.Locale locale,
665 java.util.Locale defaultLocale) {
666 _journalArticle.setTitle(title, locale, defaultLocale);
667 }
668
669 public void setTitleCurrentLanguageId(java.lang.String languageId) {
670 _journalArticle.setTitleCurrentLanguageId(languageId);
671 }
672
673
678 public void setTitleMap(
679 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
680 _journalArticle.setTitleMap(titleMap);
681 }
682
683
689 public void setTitleMap(
690 java.util.Map<java.util.Locale, java.lang.String> titleMap,
691 java.util.Locale defaultLocale) {
692 _journalArticle.setTitleMap(titleMap, defaultLocale);
693 }
694
695
700 public java.lang.String getUrlTitle() {
701 return _journalArticle.getUrlTitle();
702 }
703
704
709 public void setUrlTitle(java.lang.String urlTitle) {
710 _journalArticle.setUrlTitle(urlTitle);
711 }
712
713
718 public java.lang.String getDescription() {
719 return _journalArticle.getDescription();
720 }
721
722
728 public java.lang.String getDescription(java.util.Locale locale) {
729 return _journalArticle.getDescription(locale);
730 }
731
732
739 public java.lang.String getDescription(java.util.Locale locale,
740 boolean useDefault) {
741 return _journalArticle.getDescription(locale, useDefault);
742 }
743
744
750 public java.lang.String getDescription(java.lang.String languageId) {
751 return _journalArticle.getDescription(languageId);
752 }
753
754
761 public java.lang.String getDescription(java.lang.String languageId,
762 boolean useDefault) {
763 return _journalArticle.getDescription(languageId, useDefault);
764 }
765
766 public java.lang.String getDescriptionCurrentLanguageId() {
767 return _journalArticle.getDescriptionCurrentLanguageId();
768 }
769
770 public java.lang.String getDescriptionCurrentValue() {
771 return _journalArticle.getDescriptionCurrentValue();
772 }
773
774
779 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
780 return _journalArticle.getDescriptionMap();
781 }
782
783
788 public void setDescription(java.lang.String description) {
789 _journalArticle.setDescription(description);
790 }
791
792
798 public void setDescription(java.lang.String description,
799 java.util.Locale locale) {
800 _journalArticle.setDescription(description, locale);
801 }
802
803
810 public void setDescription(java.lang.String description,
811 java.util.Locale locale, java.util.Locale defaultLocale) {
812 _journalArticle.setDescription(description, locale, defaultLocale);
813 }
814
815 public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
816 _journalArticle.setDescriptionCurrentLanguageId(languageId);
817 }
818
819
824 public void setDescriptionMap(
825 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
826 _journalArticle.setDescriptionMap(descriptionMap);
827 }
828
829
835 public void setDescriptionMap(
836 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
837 java.util.Locale defaultLocale) {
838 _journalArticle.setDescriptionMap(descriptionMap, defaultLocale);
839 }
840
841
846 public java.lang.String getContent() {
847 return _journalArticle.getContent();
848 }
849
850
855 public void setContent(java.lang.String content) {
856 _journalArticle.setContent(content);
857 }
858
859
864 public java.lang.String getType() {
865 return _journalArticle.getType();
866 }
867
868
873 public void setType(java.lang.String type) {
874 _journalArticle.setType(type);
875 }
876
877
882 public java.lang.String getStructureId() {
883 return _journalArticle.getStructureId();
884 }
885
886
891 public void setStructureId(java.lang.String structureId) {
892 _journalArticle.setStructureId(structureId);
893 }
894
895
900 public java.lang.String getTemplateId() {
901 return _journalArticle.getTemplateId();
902 }
903
904
909 public void setTemplateId(java.lang.String templateId) {
910 _journalArticle.setTemplateId(templateId);
911 }
912
913
918 public java.lang.String getLayoutUuid() {
919 return _journalArticle.getLayoutUuid();
920 }
921
922
927 public void setLayoutUuid(java.lang.String layoutUuid) {
928 _journalArticle.setLayoutUuid(layoutUuid);
929 }
930
931
936 public java.util.Date getDisplayDate() {
937 return _journalArticle.getDisplayDate();
938 }
939
940
945 public void setDisplayDate(java.util.Date displayDate) {
946 _journalArticle.setDisplayDate(displayDate);
947 }
948
949
954 public java.util.Date getExpirationDate() {
955 return _journalArticle.getExpirationDate();
956 }
957
958
963 public void setExpirationDate(java.util.Date expirationDate) {
964 _journalArticle.setExpirationDate(expirationDate);
965 }
966
967
972 public java.util.Date getReviewDate() {
973 return _journalArticle.getReviewDate();
974 }
975
976
981 public void setReviewDate(java.util.Date reviewDate) {
982 _journalArticle.setReviewDate(reviewDate);
983 }
984
985
990 public boolean getIndexable() {
991 return _journalArticle.getIndexable();
992 }
993
994
999 public boolean isIndexable() {
1000 return _journalArticle.isIndexable();
1001 }
1002
1003
1008 public void setIndexable(boolean indexable) {
1009 _journalArticle.setIndexable(indexable);
1010 }
1011
1012
1017 public boolean getSmallImage() {
1018 return _journalArticle.getSmallImage();
1019 }
1020
1021
1026 public boolean isSmallImage() {
1027 return _journalArticle.isSmallImage();
1028 }
1029
1030
1035 public void setSmallImage(boolean smallImage) {
1036 _journalArticle.setSmallImage(smallImage);
1037 }
1038
1039
1044 public long getSmallImageId() {
1045 return _journalArticle.getSmallImageId();
1046 }
1047
1048
1053 public void setSmallImageId(long smallImageId) {
1054 _journalArticle.setSmallImageId(smallImageId);
1055 }
1056
1057
1062 public java.lang.String getSmallImageURL() {
1063 return _journalArticle.getSmallImageURL();
1064 }
1065
1066
1071 public void setSmallImageURL(java.lang.String smallImageURL) {
1072 _journalArticle.setSmallImageURL(smallImageURL);
1073 }
1074
1075
1080 public int getStatus() {
1081 return _journalArticle.getStatus();
1082 }
1083
1084
1089 public void setStatus(int status) {
1090 _journalArticle.setStatus(status);
1091 }
1092
1093
1098 public long getStatusByUserId() {
1099 return _journalArticle.getStatusByUserId();
1100 }
1101
1102
1107 public void setStatusByUserId(long statusByUserId) {
1108 _journalArticle.setStatusByUserId(statusByUserId);
1109 }
1110
1111
1117 public java.lang.String getStatusByUserUuid()
1118 throws com.liferay.portal.kernel.exception.SystemException {
1119 return _journalArticle.getStatusByUserUuid();
1120 }
1121
1122
1127 public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1128 _journalArticle.setStatusByUserUuid(statusByUserUuid);
1129 }
1130
1131
1136 public java.lang.String getStatusByUserName() {
1137 return _journalArticle.getStatusByUserName();
1138 }
1139
1140
1145 public void setStatusByUserName(java.lang.String statusByUserName) {
1146 _journalArticle.setStatusByUserName(statusByUserName);
1147 }
1148
1149
1154 public java.util.Date getStatusDate() {
1155 return _journalArticle.getStatusDate();
1156 }
1157
1158
1163 public void setStatusDate(java.util.Date statusDate) {
1164 _journalArticle.setStatusDate(statusDate);
1165 }
1166
1167
1170 public boolean getApproved() {
1171 return _journalArticle.getApproved();
1172 }
1173
1174
1179 public boolean isApproved() {
1180 return _journalArticle.isApproved();
1181 }
1182
1183
1188 public boolean isDenied() {
1189 return _journalArticle.isDenied();
1190 }
1191
1192
1197 public boolean isDraft() {
1198 return _journalArticle.isDraft();
1199 }
1200
1201
1206 public boolean isExpired() {
1207 return _journalArticle.isExpired();
1208 }
1209
1210
1215 public boolean isInactive() {
1216 return _journalArticle.isInactive();
1217 }
1218
1219
1224 public boolean isIncomplete() {
1225 return _journalArticle.isIncomplete();
1226 }
1227
1228
1233 public boolean isPending() {
1234 return _journalArticle.isPending();
1235 }
1236
1237
1242 public boolean isScheduled() {
1243 return _journalArticle.isScheduled();
1244 }
1245
1246 public boolean isNew() {
1247 return _journalArticle.isNew();
1248 }
1249
1250 public void setNew(boolean n) {
1251 _journalArticle.setNew(n);
1252 }
1253
1254 public boolean isCachedModel() {
1255 return _journalArticle.isCachedModel();
1256 }
1257
1258 public void setCachedModel(boolean cachedModel) {
1259 _journalArticle.setCachedModel(cachedModel);
1260 }
1261
1262 public boolean isEscapedModel() {
1263 return _journalArticle.isEscapedModel();
1264 }
1265
1266 public java.io.Serializable getPrimaryKeyObj() {
1267 return _journalArticle.getPrimaryKeyObj();
1268 }
1269
1270 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1271 _journalArticle.setPrimaryKeyObj(primaryKeyObj);
1272 }
1273
1274 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1275 return _journalArticle.getExpandoBridge();
1276 }
1277
1278 public void setExpandoBridgeAttributes(
1279 com.liferay.portal.service.ServiceContext serviceContext) {
1280 _journalArticle.setExpandoBridgeAttributes(serviceContext);
1281 }
1282
1283 public void prepareLocalizedFieldsForImport(
1284 java.util.Locale defaultImportLocale)
1285 throws com.liferay.portal.LocaleException {
1286 _journalArticle.prepareLocalizedFieldsForImport(defaultImportLocale);
1287 }
1288
1289 @Override
1290 public java.lang.Object clone() {
1291 return new JournalArticleWrapper((JournalArticle)_journalArticle.clone());
1292 }
1293
1294 public int compareTo(
1295 com.liferay.portlet.journal.model.JournalArticle journalArticle) {
1296 return _journalArticle.compareTo(journalArticle);
1297 }
1298
1299 @Override
1300 public int hashCode() {
1301 return _journalArticle.hashCode();
1302 }
1303
1304 public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel() {
1305 return _journalArticle.toCacheModel();
1306 }
1307
1308 public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() {
1309 return new JournalArticleWrapper(_journalArticle.toEscapedModel());
1310 }
1311
1312 public com.liferay.portlet.journal.model.JournalArticle toUnescapedModel() {
1313 return new JournalArticleWrapper(_journalArticle.toUnescapedModel());
1314 }
1315
1316 @Override
1317 public java.lang.String toString() {
1318 return _journalArticle.toString();
1319 }
1320
1321 public java.lang.String toXmlString() {
1322 return _journalArticle.toXmlString();
1323 }
1324
1325 public void persist()
1326 throws com.liferay.portal.kernel.exception.SystemException {
1327 _journalArticle.persist();
1328 }
1329
1330 public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource()
1331 throws com.liferay.portal.kernel.exception.PortalException,
1332 com.liferay.portal.kernel.exception.SystemException {
1333 return _journalArticle.getArticleResource();
1334 }
1335
1336 public java.lang.String getArticleResourceUuid()
1337 throws com.liferay.portal.kernel.exception.PortalException,
1338 com.liferay.portal.kernel.exception.SystemException {
1339 return _journalArticle.getArticleResourceUuid();
1340 }
1341
1342 public java.lang.String[] getAvailableLocales() {
1343 return _journalArticle.getAvailableLocales();
1344 }
1345
1346 public java.lang.String getContentByLocale(java.lang.String languageId) {
1347 return _journalArticle.getContentByLocale(languageId);
1348 }
1349
1350 public java.lang.String getDefaultLocale() {
1351 return _journalArticle.getDefaultLocale();
1352 }
1353
1354 public java.lang.String getSmallImageType()
1355 throws com.liferay.portal.kernel.exception.PortalException,
1356 com.liferay.portal.kernel.exception.SystemException {
1357 return _journalArticle.getSmallImageType();
1358 }
1359
1360 public boolean isTemplateDriven() {
1361 return _journalArticle.isTemplateDriven();
1362 }
1363
1364 public void setSmallImageType(java.lang.String smallImageType) {
1365 _journalArticle.setSmallImageType(smallImageType);
1366 }
1367
1368 @Override
1369 public boolean equals(Object obj) {
1370 if (this == obj) {
1371 return true;
1372 }
1373
1374 if (!(obj instanceof JournalArticleWrapper)) {
1375 return false;
1376 }
1377
1378 JournalArticleWrapper journalArticleWrapper = (JournalArticleWrapper)obj;
1379
1380 if (Validator.equals(_journalArticle,
1381 journalArticleWrapper._journalArticle)) {
1382 return true;
1383 }
1384
1385 return false;
1386 }
1387
1388
1391 public JournalArticle getWrappedJournalArticle() {
1392 return _journalArticle;
1393 }
1394
1395 public JournalArticle getWrappedModel() {
1396 return _journalArticle;
1397 }
1398
1399 public void resetOriginalValues() {
1400 _journalArticle.resetOriginalValues();
1401 }
1402
1403 private JournalArticle _journalArticle;
1404 }