1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="RoleSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Role}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Role
32   * @generated
33   */
34  public class RoleWrapper implements Role {
35      public RoleWrapper(Role role) {
36          _role = role;
37      }
38  
39      public long getPrimaryKey() {
40          return _role.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _role.setPrimaryKey(pk);
45      }
46  
47      public long getRoleId() {
48          return _role.getRoleId();
49      }
50  
51      public void setRoleId(long roleId) {
52          _role.setRoleId(roleId);
53      }
54  
55      public long getCompanyId() {
56          return _role.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _role.setCompanyId(companyId);
61      }
62  
63      public java.lang.String getClassName() {
64          return _role.getClassName();
65      }
66  
67      public long getClassNameId() {
68          return _role.getClassNameId();
69      }
70  
71      public void setClassNameId(long classNameId) {
72          _role.setClassNameId(classNameId);
73      }
74  
75      public long getClassPK() {
76          return _role.getClassPK();
77      }
78  
79      public void setClassPK(long classPK) {
80          _role.setClassPK(classPK);
81      }
82  
83      public java.lang.String getName() {
84          return _role.getName();
85      }
86  
87      public void setName(java.lang.String name) {
88          _role.setName(name);
89      }
90  
91      public java.lang.String getTitle() {
92          return _role.getTitle();
93      }
94  
95      public java.lang.String getTitle(java.util.Locale locale) {
96          return _role.getTitle(locale);
97      }
98  
99      public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
100         return _role.getTitle(locale, useDefault);
101     }
102 
103     public java.lang.String getTitle(java.lang.String languageId) {
104         return _role.getTitle(languageId);
105     }
106 
107     public java.lang.String getTitle(java.lang.String languageId,
108         boolean useDefault) {
109         return _role.getTitle(languageId, useDefault);
110     }
111 
112     public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
113         return _role.getTitleMap();
114     }
115 
116     public void setTitle(java.lang.String title) {
117         _role.setTitle(title);
118     }
119 
120     public void setTitle(java.util.Locale locale, java.lang.String title) {
121         _role.setTitle(locale, title);
122     }
123 
124     public void setTitleMap(
125         java.util.Map<java.util.Locale, java.lang.String> titleMap) {
126         _role.setTitleMap(titleMap);
127     }
128 
129     public java.lang.String getDescription() {
130         return _role.getDescription();
131     }
132 
133     public void setDescription(java.lang.String description) {
134         _role.setDescription(description);
135     }
136 
137     public int getType() {
138         return _role.getType();
139     }
140 
141     public void setType(int type) {
142         _role.setType(type);
143     }
144 
145     public java.lang.String getSubtype() {
146         return _role.getSubtype();
147     }
148 
149     public void setSubtype(java.lang.String subtype) {
150         _role.setSubtype(subtype);
151     }
152 
153     public com.liferay.portal.model.Role toEscapedModel() {
154         return _role.toEscapedModel();
155     }
156 
157     public boolean isNew() {
158         return _role.isNew();
159     }
160 
161     public boolean setNew(boolean n) {
162         return _role.setNew(n);
163     }
164 
165     public boolean isCachedModel() {
166         return _role.isCachedModel();
167     }
168 
169     public void setCachedModel(boolean cachedModel) {
170         _role.setCachedModel(cachedModel);
171     }
172 
173     public boolean isEscapedModel() {
174         return _role.isEscapedModel();
175     }
176 
177     public void setEscapedModel(boolean escapedModel) {
178         _role.setEscapedModel(escapedModel);
179     }
180 
181     public java.io.Serializable getPrimaryKeyObj() {
182         return _role.getPrimaryKeyObj();
183     }
184 
185     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
186         return _role.getExpandoBridge();
187     }
188 
189     public void setExpandoBridgeAttributes(
190         com.liferay.portal.service.ServiceContext serviceContext) {
191         _role.setExpandoBridgeAttributes(serviceContext);
192     }
193 
194     public java.lang.Object clone() {
195         return _role.clone();
196     }
197 
198     public int compareTo(com.liferay.portal.model.Role role) {
199         return _role.compareTo(role);
200     }
201 
202     public int hashCode() {
203         return _role.hashCode();
204     }
205 
206     public java.lang.String toString() {
207         return _role.toString();
208     }
209 
210     public java.lang.String toXmlString() {
211         return _role.toXmlString();
212     }
213 
214     public java.lang.String getDescriptiveName()
215         throws com.liferay.portal.kernel.exception.PortalException,
216             com.liferay.portal.kernel.exception.SystemException {
217         return _role.getDescriptiveName();
218     }
219 
220     public java.lang.String getTypeLabel() {
221         return _role.getTypeLabel();
222     }
223 
224     public boolean isTeam() {
225         return _role.isTeam();
226     }
227 
228     public Role getWrappedRole() {
229         return _role;
230     }
231 
232     private Role _role;
233 }