001    /**
002     * Copyright (c) 2000-2010 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.model;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link Role}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Role
025     * @generated
026     */
027    public class RoleWrapper implements Role {
028            public RoleWrapper(Role role) {
029                    _role = role;
030            }
031    
032            public long getPrimaryKey() {
033                    return _role.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _role.setPrimaryKey(pk);
038            }
039    
040            public long getRoleId() {
041                    return _role.getRoleId();
042            }
043    
044            public void setRoleId(long roleId) {
045                    _role.setRoleId(roleId);
046            }
047    
048            public long getCompanyId() {
049                    return _role.getCompanyId();
050            }
051    
052            public void setCompanyId(long companyId) {
053                    _role.setCompanyId(companyId);
054            }
055    
056            public java.lang.String getClassName() {
057                    return _role.getClassName();
058            }
059    
060            public long getClassNameId() {
061                    return _role.getClassNameId();
062            }
063    
064            public void setClassNameId(long classNameId) {
065                    _role.setClassNameId(classNameId);
066            }
067    
068            public long getClassPK() {
069                    return _role.getClassPK();
070            }
071    
072            public void setClassPK(long classPK) {
073                    _role.setClassPK(classPK);
074            }
075    
076            public java.lang.String getName() {
077                    return _role.getName();
078            }
079    
080            public void setName(java.lang.String name) {
081                    _role.setName(name);
082            }
083    
084            public java.lang.String getTitle() {
085                    return _role.getTitle();
086            }
087    
088            public java.lang.String getTitle(java.util.Locale locale) {
089                    return _role.getTitle(locale);
090            }
091    
092            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
093                    return _role.getTitle(locale, useDefault);
094            }
095    
096            public java.lang.String getTitle(java.lang.String languageId) {
097                    return _role.getTitle(languageId);
098            }
099    
100            public java.lang.String getTitle(java.lang.String languageId,
101                    boolean useDefault) {
102                    return _role.getTitle(languageId, useDefault);
103            }
104    
105            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
106                    return _role.getTitleMap();
107            }
108    
109            public void setTitle(java.lang.String title) {
110                    _role.setTitle(title);
111            }
112    
113            public void setTitle(java.util.Locale locale, java.lang.String title) {
114                    _role.setTitle(locale, title);
115            }
116    
117            public void setTitleMap(
118                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
119                    _role.setTitleMap(titleMap);
120            }
121    
122            public java.lang.String getDescription() {
123                    return _role.getDescription();
124            }
125    
126            public void setDescription(java.lang.String description) {
127                    _role.setDescription(description);
128            }
129    
130            public int getType() {
131                    return _role.getType();
132            }
133    
134            public void setType(int type) {
135                    _role.setType(type);
136            }
137    
138            public java.lang.String getSubtype() {
139                    return _role.getSubtype();
140            }
141    
142            public void setSubtype(java.lang.String subtype) {
143                    _role.setSubtype(subtype);
144            }
145    
146            public com.liferay.portal.model.Role toEscapedModel() {
147                    return _role.toEscapedModel();
148            }
149    
150            public boolean isNew() {
151                    return _role.isNew();
152            }
153    
154            public void setNew(boolean n) {
155                    _role.setNew(n);
156            }
157    
158            public boolean isCachedModel() {
159                    return _role.isCachedModel();
160            }
161    
162            public void setCachedModel(boolean cachedModel) {
163                    _role.setCachedModel(cachedModel);
164            }
165    
166            public boolean isEscapedModel() {
167                    return _role.isEscapedModel();
168            }
169    
170            public void setEscapedModel(boolean escapedModel) {
171                    _role.setEscapedModel(escapedModel);
172            }
173    
174            public java.io.Serializable getPrimaryKeyObj() {
175                    return _role.getPrimaryKeyObj();
176            }
177    
178            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
179                    return _role.getExpandoBridge();
180            }
181    
182            public void setExpandoBridgeAttributes(
183                    com.liferay.portal.service.ServiceContext serviceContext) {
184                    _role.setExpandoBridgeAttributes(serviceContext);
185            }
186    
187            public java.lang.Object clone() {
188                    return _role.clone();
189            }
190    
191            public int compareTo(com.liferay.portal.model.Role role) {
192                    return _role.compareTo(role);
193            }
194    
195            public int hashCode() {
196                    return _role.hashCode();
197            }
198    
199            public java.lang.String toString() {
200                    return _role.toString();
201            }
202    
203            public java.lang.String toXmlString() {
204                    return _role.toXmlString();
205            }
206    
207            public java.lang.String getDescriptiveName()
208                    throws com.liferay.portal.kernel.exception.PortalException,
209                            com.liferay.portal.kernel.exception.SystemException {
210                    return _role.getDescriptiveName();
211            }
212    
213            public java.lang.String getTypeLabel() {
214                    return _role.getTypeLabel();
215            }
216    
217            public boolean isTeam() {
218                    return _role.isTeam();
219            }
220    
221            public Role getWrappedRole() {
222                    return _role;
223            }
224    
225            private Role _role;
226    }