001    /**
002     * Copyright (c) 2000-present 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.portal.kernel.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.expando.kernel.model.ExpandoBridge;
020    
021    import com.liferay.exportimport.kernel.lar.StagedModelType;
022    
023    import com.liferay.portal.kernel.service.ServiceContext;
024    import com.liferay.portal.kernel.util.Validator;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    import java.util.HashMap;
030    import java.util.Map;
031    
032    /**
033     * <p>
034     * This class is a wrapper for {@link Role}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see Role
039     * @generated
040     */
041    @ProviderType
042    public class RoleWrapper implements Role, ModelWrapper<Role> {
043            public RoleWrapper(Role role) {
044                    _role = role;
045            }
046    
047            @Override
048            public Class<?> getModelClass() {
049                    return Role.class;
050            }
051    
052            @Override
053            public String getModelClassName() {
054                    return Role.class.getName();
055            }
056    
057            @Override
058            public Map<String, Object> getModelAttributes() {
059                    Map<String, Object> attributes = new HashMap<String, Object>();
060    
061                    attributes.put("mvccVersion", getMvccVersion());
062                    attributes.put("uuid", getUuid());
063                    attributes.put("roleId", getRoleId());
064                    attributes.put("companyId", getCompanyId());
065                    attributes.put("userId", getUserId());
066                    attributes.put("userName", getUserName());
067                    attributes.put("createDate", getCreateDate());
068                    attributes.put("modifiedDate", getModifiedDate());
069                    attributes.put("classNameId", getClassNameId());
070                    attributes.put("classPK", getClassPK());
071                    attributes.put("name", getName());
072                    attributes.put("title", getTitle());
073                    attributes.put("description", getDescription());
074                    attributes.put("type", getType());
075                    attributes.put("subtype", getSubtype());
076    
077                    return attributes;
078            }
079    
080            @Override
081            public void setModelAttributes(Map<String, Object> attributes) {
082                    Long mvccVersion = (Long)attributes.get("mvccVersion");
083    
084                    if (mvccVersion != null) {
085                            setMvccVersion(mvccVersion);
086                    }
087    
088                    String uuid = (String)attributes.get("uuid");
089    
090                    if (uuid != null) {
091                            setUuid(uuid);
092                    }
093    
094                    Long roleId = (Long)attributes.get("roleId");
095    
096                    if (roleId != null) {
097                            setRoleId(roleId);
098                    }
099    
100                    Long companyId = (Long)attributes.get("companyId");
101    
102                    if (companyId != null) {
103                            setCompanyId(companyId);
104                    }
105    
106                    Long userId = (Long)attributes.get("userId");
107    
108                    if (userId != null) {
109                            setUserId(userId);
110                    }
111    
112                    String userName = (String)attributes.get("userName");
113    
114                    if (userName != null) {
115                            setUserName(userName);
116                    }
117    
118                    Date createDate = (Date)attributes.get("createDate");
119    
120                    if (createDate != null) {
121                            setCreateDate(createDate);
122                    }
123    
124                    Date modifiedDate = (Date)attributes.get("modifiedDate");
125    
126                    if (modifiedDate != null) {
127                            setModifiedDate(modifiedDate);
128                    }
129    
130                    Long classNameId = (Long)attributes.get("classNameId");
131    
132                    if (classNameId != null) {
133                            setClassNameId(classNameId);
134                    }
135    
136                    Long classPK = (Long)attributes.get("classPK");
137    
138                    if (classPK != null) {
139                            setClassPK(classPK);
140                    }
141    
142                    String name = (String)attributes.get("name");
143    
144                    if (name != null) {
145                            setName(name);
146                    }
147    
148                    String title = (String)attributes.get("title");
149    
150                    if (title != null) {
151                            setTitle(title);
152                    }
153    
154                    String description = (String)attributes.get("description");
155    
156                    if (description != null) {
157                            setDescription(description);
158                    }
159    
160                    Integer type = (Integer)attributes.get("type");
161    
162                    if (type != null) {
163                            setType(type);
164                    }
165    
166                    String subtype = (String)attributes.get("subtype");
167    
168                    if (subtype != null) {
169                            setSubtype(subtype);
170                    }
171            }
172    
173            @Override
174            public java.lang.Object clone() {
175                    return new RoleWrapper((Role)_role.clone());
176            }
177    
178            @Override
179            public int compareTo(com.liferay.portal.kernel.model.Role role) {
180                    return _role.compareTo(role);
181            }
182    
183            @Override
184            public java.lang.String[] getAvailableLanguageIds() {
185                    return _role.getAvailableLanguageIds();
186            }
187    
188            /**
189            * Returns the fully qualified class name of this role.
190            *
191            * @return the fully qualified class name of this role
192            */
193            @Override
194            public java.lang.String getClassName() {
195                    return _role.getClassName();
196            }
197    
198            /**
199            * Returns the class name ID of this role.
200            *
201            * @return the class name ID of this role
202            */
203            @Override
204            public long getClassNameId() {
205                    return _role.getClassNameId();
206            }
207    
208            /**
209            * Returns the class p k of this role.
210            *
211            * @return the class p k of this role
212            */
213            @Override
214            public long getClassPK() {
215                    return _role.getClassPK();
216            }
217    
218            /**
219            * Returns the company ID of this role.
220            *
221            * @return the company ID of this role
222            */
223            @Override
224            public long getCompanyId() {
225                    return _role.getCompanyId();
226            }
227    
228            /**
229            * Returns the create date of this role.
230            *
231            * @return the create date of this role
232            */
233            @Override
234            public Date getCreateDate() {
235                    return _role.getCreateDate();
236            }
237    
238            @Override
239            public java.lang.String getDefaultLanguageId() {
240                    return _role.getDefaultLanguageId();
241            }
242    
243            /**
244            * Returns the description of this role.
245            *
246            * @return the description of this role
247            */
248            @Override
249            public java.lang.String getDescription() {
250                    return _role.getDescription();
251            }
252    
253            /**
254            * Returns the localized description of this role in the language. Uses the default language if no localization exists for the requested language.
255            *
256            * @param languageId the ID of the language
257            * @return the localized description of this role
258            */
259            @Override
260            public java.lang.String getDescription(java.lang.String languageId) {
261                    return _role.getDescription(languageId);
262            }
263    
264            /**
265            * Returns the localized description of this role in the language, optionally using the default language if no localization exists for the requested language.
266            *
267            * @param languageId the ID of the language
268            * @param useDefault whether to use the default language if no localization exists for the requested language
269            * @return the localized description of this role
270            */
271            @Override
272            public java.lang.String getDescription(java.lang.String languageId,
273                    boolean useDefault) {
274                    return _role.getDescription(languageId, useDefault);
275            }
276    
277            /**
278            * Returns the localized description of this role in the language. Uses the default language if no localization exists for the requested language.
279            *
280            * @param locale the locale of the language
281            * @return the localized description of this role
282            */
283            @Override
284            public java.lang.String getDescription(java.util.Locale locale) {
285                    return _role.getDescription(locale);
286            }
287    
288            /**
289            * Returns the localized description of this role in the language, optionally using the default language if no localization exists for the requested language.
290            *
291            * @param locale the local of the language
292            * @param useDefault whether to use the default language if no localization exists for the requested language
293            * @return the localized description of this role. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
294            */
295            @Override
296            public java.lang.String getDescription(java.util.Locale locale,
297                    boolean useDefault) {
298                    return _role.getDescription(locale, useDefault);
299            }
300    
301            @Override
302            public java.lang.String getDescriptionCurrentLanguageId() {
303                    return _role.getDescriptionCurrentLanguageId();
304            }
305    
306            @Override
307            public java.lang.String getDescriptionCurrentValue() {
308                    return _role.getDescriptionCurrentValue();
309            }
310    
311            /**
312            * Returns a map of the locales and localized descriptions of this role.
313            *
314            * @return the locales and localized descriptions of this role
315            */
316            @Override
317            public Map<java.util.Locale, java.lang.String> getDescriptionMap() {
318                    return _role.getDescriptionMap();
319            }
320    
321            @Override
322            public java.lang.String getDescriptiveName()
323                    throws com.liferay.portal.kernel.exception.PortalException {
324                    return _role.getDescriptiveName();
325            }
326    
327            @Override
328            public ExpandoBridge getExpandoBridge() {
329                    return _role.getExpandoBridge();
330            }
331    
332            /**
333            * Returns the modified date of this role.
334            *
335            * @return the modified date of this role
336            */
337            @Override
338            public Date getModifiedDate() {
339                    return _role.getModifiedDate();
340            }
341    
342            /**
343            * Returns the mvcc version of this role.
344            *
345            * @return the mvcc version of this role
346            */
347            @Override
348            public long getMvccVersion() {
349                    return _role.getMvccVersion();
350            }
351    
352            /**
353            * Returns the name of this role.
354            *
355            * @return the name of this role
356            */
357            @Override
358            public java.lang.String getName() {
359                    return _role.getName();
360            }
361    
362            /**
363            * Returns the primary key of this role.
364            *
365            * @return the primary key of this role
366            */
367            @Override
368            public long getPrimaryKey() {
369                    return _role.getPrimaryKey();
370            }
371    
372            @Override
373            public Serializable getPrimaryKeyObj() {
374                    return _role.getPrimaryKeyObj();
375            }
376    
377            /**
378            * Returns the role ID of this role.
379            *
380            * @return the role ID of this role
381            */
382            @Override
383            public long getRoleId() {
384                    return _role.getRoleId();
385            }
386    
387            /**
388            * Returns the subtype of this role.
389            *
390            * @return the subtype of this role
391            */
392            @Override
393            public java.lang.String getSubtype() {
394                    return _role.getSubtype();
395            }
396    
397            /**
398            * Returns the title of this role.
399            *
400            * @return the title of this role
401            */
402            @Override
403            public java.lang.String getTitle() {
404                    return _role.getTitle();
405            }
406    
407            /**
408            * Returns the localized title of this role in the language. Uses the default language if no localization exists for the requested language.
409            *
410            * @param languageId the ID of the language
411            * @return the localized title of this role
412            */
413            @Override
414            public java.lang.String getTitle(java.lang.String languageId) {
415                    return _role.getTitle(languageId);
416            }
417    
418            /**
419            * Returns the localized title of this role in the language, optionally using the default language if no localization exists for the requested language.
420            *
421            * @param languageId the ID of the language
422            * @param useDefault whether to use the default language if no localization exists for the requested language
423            * @return the localized title of this role
424            */
425            @Override
426            public java.lang.String getTitle(java.lang.String languageId,
427                    boolean useDefault) {
428                    return _role.getTitle(languageId, useDefault);
429            }
430    
431            /**
432            * Returns the localized title of this role in the language. Uses the default language if no localization exists for the requested language.
433            *
434            * @param locale the locale of the language
435            * @return the localized title of this role
436            */
437            @Override
438            public java.lang.String getTitle(java.util.Locale locale) {
439                    return _role.getTitle(locale);
440            }
441    
442            /**
443            * Returns the localized title of this role in the language, optionally using the default language if no localization exists for the requested language.
444            *
445            * @param locale the local of the language
446            * @param useDefault whether to use the default language if no localization exists for the requested language
447            * @return the localized title of this role. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
448            */
449            @Override
450            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
451                    return _role.getTitle(locale, useDefault);
452            }
453    
454            @Override
455            public java.lang.String getTitleCurrentLanguageId() {
456                    return _role.getTitleCurrentLanguageId();
457            }
458    
459            @Override
460            public java.lang.String getTitleCurrentValue() {
461                    return _role.getTitleCurrentValue();
462            }
463    
464            /**
465            * Returns a map of the locales and localized titles of this role.
466            *
467            * @return the locales and localized titles of this role
468            */
469            @Override
470            public Map<java.util.Locale, java.lang.String> getTitleMap() {
471                    return _role.getTitleMap();
472            }
473    
474            /**
475            * Returns the type of this role.
476            *
477            * @return the type of this role
478            */
479            @Override
480            public int getType() {
481                    return _role.getType();
482            }
483    
484            @Override
485            public java.lang.String getTypeLabel() {
486                    return _role.getTypeLabel();
487            }
488    
489            /**
490            * Returns the user ID of this role.
491            *
492            * @return the user ID of this role
493            */
494            @Override
495            public long getUserId() {
496                    return _role.getUserId();
497            }
498    
499            /**
500            * Returns the user name of this role.
501            *
502            * @return the user name of this role
503            */
504            @Override
505            public java.lang.String getUserName() {
506                    return _role.getUserName();
507            }
508    
509            /**
510            * Returns the user uuid of this role.
511            *
512            * @return the user uuid of this role
513            */
514            @Override
515            public java.lang.String getUserUuid() {
516                    return _role.getUserUuid();
517            }
518    
519            /**
520            * Returns the uuid of this role.
521            *
522            * @return the uuid of this role
523            */
524            @Override
525            public java.lang.String getUuid() {
526                    return _role.getUuid();
527            }
528    
529            @Override
530            public int hashCode() {
531                    return _role.hashCode();
532            }
533    
534            @Override
535            public boolean isCachedModel() {
536                    return _role.isCachedModel();
537            }
538    
539            @Override
540            public boolean isEscapedModel() {
541                    return _role.isEscapedModel();
542            }
543    
544            @Override
545            public boolean isNew() {
546                    return _role.isNew();
547            }
548    
549            @Override
550            public boolean isSystem() {
551                    return _role.isSystem();
552            }
553    
554            @Override
555            public boolean isTeam() {
556                    return _role.isTeam();
557            }
558    
559            @Override
560            public void persist() {
561                    _role.persist();
562            }
563    
564            @Override
565            public void prepareLocalizedFieldsForImport()
566                    throws com.liferay.portal.kernel.exception.LocaleException {
567                    _role.prepareLocalizedFieldsForImport();
568            }
569    
570            @Override
571            public void prepareLocalizedFieldsForImport(
572                    java.util.Locale defaultImportLocale)
573                    throws com.liferay.portal.kernel.exception.LocaleException {
574                    _role.prepareLocalizedFieldsForImport(defaultImportLocale);
575            }
576    
577            @Override
578            public void setCachedModel(boolean cachedModel) {
579                    _role.setCachedModel(cachedModel);
580            }
581    
582            @Override
583            public void setClassName(java.lang.String className) {
584                    _role.setClassName(className);
585            }
586    
587            /**
588            * Sets the class name ID of this role.
589            *
590            * @param classNameId the class name ID of this role
591            */
592            @Override
593            public void setClassNameId(long classNameId) {
594                    _role.setClassNameId(classNameId);
595            }
596    
597            /**
598            * Sets the class p k of this role.
599            *
600            * @param classPK the class p k of this role
601            */
602            @Override
603            public void setClassPK(long classPK) {
604                    _role.setClassPK(classPK);
605            }
606    
607            /**
608            * Sets the company ID of this role.
609            *
610            * @param companyId the company ID of this role
611            */
612            @Override
613            public void setCompanyId(long companyId) {
614                    _role.setCompanyId(companyId);
615            }
616    
617            /**
618            * Sets the create date of this role.
619            *
620            * @param createDate the create date of this role
621            */
622            @Override
623            public void setCreateDate(Date createDate) {
624                    _role.setCreateDate(createDate);
625            }
626    
627            /**
628            * Sets the description of this role.
629            *
630            * @param description the description of this role
631            */
632            @Override
633            public void setDescription(java.lang.String description) {
634                    _role.setDescription(description);
635            }
636    
637            /**
638            * Sets the localized description of this role in the language.
639            *
640            * @param description the localized description of this role
641            * @param locale the locale of the language
642            */
643            @Override
644            public void setDescription(java.lang.String description,
645                    java.util.Locale locale) {
646                    _role.setDescription(description, locale);
647            }
648    
649            /**
650            * Sets the localized description of this role in the language, and sets the default locale.
651            *
652            * @param description the localized description of this role
653            * @param locale the locale of the language
654            * @param defaultLocale the default locale
655            */
656            @Override
657            public void setDescription(java.lang.String description,
658                    java.util.Locale locale, java.util.Locale defaultLocale) {
659                    _role.setDescription(description, locale, defaultLocale);
660            }
661    
662            @Override
663            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
664                    _role.setDescriptionCurrentLanguageId(languageId);
665            }
666    
667            /**
668            * Sets the localized descriptions of this role from the map of locales and localized descriptions.
669            *
670            * @param descriptionMap the locales and localized descriptions of this role
671            */
672            @Override
673            public void setDescriptionMap(
674                    Map<java.util.Locale, java.lang.String> descriptionMap) {
675                    _role.setDescriptionMap(descriptionMap);
676            }
677    
678            /**
679            * Sets the localized descriptions of this role from the map of locales and localized descriptions, and sets the default locale.
680            *
681            * @param descriptionMap the locales and localized descriptions of this role
682            * @param defaultLocale the default locale
683            */
684            @Override
685            public void setDescriptionMap(
686                    Map<java.util.Locale, java.lang.String> descriptionMap,
687                    java.util.Locale defaultLocale) {
688                    _role.setDescriptionMap(descriptionMap, defaultLocale);
689            }
690    
691            @Override
692            public void setExpandoBridgeAttributes(BaseModel<?> baseModel) {
693                    _role.setExpandoBridgeAttributes(baseModel);
694            }
695    
696            @Override
697            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
698                    _role.setExpandoBridgeAttributes(expandoBridge);
699            }
700    
701            @Override
702            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
703                    _role.setExpandoBridgeAttributes(serviceContext);
704            }
705    
706            /**
707            * Sets the modified date of this role.
708            *
709            * @param modifiedDate the modified date of this role
710            */
711            @Override
712            public void setModifiedDate(Date modifiedDate) {
713                    _role.setModifiedDate(modifiedDate);
714            }
715    
716            /**
717            * Sets the mvcc version of this role.
718            *
719            * @param mvccVersion the mvcc version of this role
720            */
721            @Override
722            public void setMvccVersion(long mvccVersion) {
723                    _role.setMvccVersion(mvccVersion);
724            }
725    
726            /**
727            * Sets the name of this role.
728            *
729            * @param name the name of this role
730            */
731            @Override
732            public void setName(java.lang.String name) {
733                    _role.setName(name);
734            }
735    
736            @Override
737            public void setNew(boolean n) {
738                    _role.setNew(n);
739            }
740    
741            /**
742            * Sets the primary key of this role.
743            *
744            * @param primaryKey the primary key of this role
745            */
746            @Override
747            public void setPrimaryKey(long primaryKey) {
748                    _role.setPrimaryKey(primaryKey);
749            }
750    
751            @Override
752            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
753                    _role.setPrimaryKeyObj(primaryKeyObj);
754            }
755    
756            /**
757            * Sets the role ID of this role.
758            *
759            * @param roleId the role ID of this role
760            */
761            @Override
762            public void setRoleId(long roleId) {
763                    _role.setRoleId(roleId);
764            }
765    
766            /**
767            * Sets the subtype of this role.
768            *
769            * @param subtype the subtype of this role
770            */
771            @Override
772            public void setSubtype(java.lang.String subtype) {
773                    _role.setSubtype(subtype);
774            }
775    
776            /**
777            * Sets the title of this role.
778            *
779            * @param title the title of this role
780            */
781            @Override
782            public void setTitle(java.lang.String title) {
783                    _role.setTitle(title);
784            }
785    
786            /**
787            * Sets the localized title of this role in the language.
788            *
789            * @param title the localized title of this role
790            * @param locale the locale of the language
791            */
792            @Override
793            public void setTitle(java.lang.String title, java.util.Locale locale) {
794                    _role.setTitle(title, locale);
795            }
796    
797            /**
798            * Sets the localized title of this role in the language, and sets the default locale.
799            *
800            * @param title the localized title of this role
801            * @param locale the locale of the language
802            * @param defaultLocale the default locale
803            */
804            @Override
805            public void setTitle(java.lang.String title, java.util.Locale locale,
806                    java.util.Locale defaultLocale) {
807                    _role.setTitle(title, locale, defaultLocale);
808            }
809    
810            @Override
811            public void setTitleCurrentLanguageId(java.lang.String languageId) {
812                    _role.setTitleCurrentLanguageId(languageId);
813            }
814    
815            /**
816            * Sets the localized titles of this role from the map of locales and localized titles.
817            *
818            * @param titleMap the locales and localized titles of this role
819            */
820            @Override
821            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap) {
822                    _role.setTitleMap(titleMap);
823            }
824    
825            /**
826            * Sets the localized titles of this role from the map of locales and localized titles, and sets the default locale.
827            *
828            * @param titleMap the locales and localized titles of this role
829            * @param defaultLocale the default locale
830            */
831            @Override
832            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap,
833                    java.util.Locale defaultLocale) {
834                    _role.setTitleMap(titleMap, defaultLocale);
835            }
836    
837            /**
838            * Sets the type of this role.
839            *
840            * @param type the type of this role
841            */
842            @Override
843            public void setType(int type) {
844                    _role.setType(type);
845            }
846    
847            /**
848            * Sets the user ID of this role.
849            *
850            * @param userId the user ID of this role
851            */
852            @Override
853            public void setUserId(long userId) {
854                    _role.setUserId(userId);
855            }
856    
857            /**
858            * Sets the user name of this role.
859            *
860            * @param userName the user name of this role
861            */
862            @Override
863            public void setUserName(java.lang.String userName) {
864                    _role.setUserName(userName);
865            }
866    
867            /**
868            * Sets the user uuid of this role.
869            *
870            * @param userUuid the user uuid of this role
871            */
872            @Override
873            public void setUserUuid(java.lang.String userUuid) {
874                    _role.setUserUuid(userUuid);
875            }
876    
877            /**
878            * Sets the uuid of this role.
879            *
880            * @param uuid the uuid of this role
881            */
882            @Override
883            public void setUuid(java.lang.String uuid) {
884                    _role.setUuid(uuid);
885            }
886    
887            @Override
888            public CacheModel<com.liferay.portal.kernel.model.Role> toCacheModel() {
889                    return _role.toCacheModel();
890            }
891    
892            @Override
893            public com.liferay.portal.kernel.model.Role toEscapedModel() {
894                    return new RoleWrapper(_role.toEscapedModel());
895            }
896    
897            @Override
898            public java.lang.String toString() {
899                    return _role.toString();
900            }
901    
902            @Override
903            public com.liferay.portal.kernel.model.Role toUnescapedModel() {
904                    return new RoleWrapper(_role.toUnescapedModel());
905            }
906    
907            @Override
908            public java.lang.String toXmlString() {
909                    return _role.toXmlString();
910            }
911    
912            @Override
913            public boolean equals(Object obj) {
914                    if (this == obj) {
915                            return true;
916                    }
917    
918                    if (!(obj instanceof RoleWrapper)) {
919                            return false;
920                    }
921    
922                    RoleWrapper roleWrapper = (RoleWrapper)obj;
923    
924                    if (Validator.equals(_role, roleWrapper._role)) {
925                            return true;
926                    }
927    
928                    return false;
929            }
930    
931            @Override
932            public StagedModelType getStagedModelType() {
933                    return _role.getStagedModelType();
934            }
935    
936            @Override
937            public Role getWrappedModel() {
938                    return _role;
939            }
940    
941            @Override
942            public boolean isEntityCacheEnabled() {
943                    return _role.isEntityCacheEnabled();
944            }
945    
946            @Override
947            public boolean isFinderCacheEnabled() {
948                    return _role.isFinderCacheEnabled();
949            }
950    
951            @Override
952            public void resetOriginalValues() {
953                    _role.resetOriginalValues();
954            }
955    
956            private final Role _role;
957    }