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, 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(java.util.Map<java.util.Locale, String> titleMap) {
125         _role.setTitleMap(titleMap);
126     }
127 
128     public java.lang.String getDescription() {
129         return _role.getDescription();
130     }
131 
132     public void setDescription(java.lang.String description) {
133         _role.setDescription(description);
134     }
135 
136     public int getType() {
137         return _role.getType();
138     }
139 
140     public void setType(int type) {
141         _role.setType(type);
142     }
143 
144     public java.lang.String getSubtype() {
145         return _role.getSubtype();
146     }
147 
148     public void setSubtype(java.lang.String subtype) {
149         _role.setSubtype(subtype);
150     }
151 
152     public com.liferay.portal.model.Role toEscapedModel() {
153         return _role.toEscapedModel();
154     }
155 
156     public boolean isNew() {
157         return _role.isNew();
158     }
159 
160     public boolean setNew(boolean n) {
161         return _role.setNew(n);
162     }
163 
164     public boolean isCachedModel() {
165         return _role.isCachedModel();
166     }
167 
168     public void setCachedModel(boolean cachedModel) {
169         _role.setCachedModel(cachedModel);
170     }
171 
172     public boolean isEscapedModel() {
173         return _role.isEscapedModel();
174     }
175 
176     public void setEscapedModel(boolean escapedModel) {
177         _role.setEscapedModel(escapedModel);
178     }
179 
180     public java.io.Serializable getPrimaryKeyObj() {
181         return _role.getPrimaryKeyObj();
182     }
183 
184     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
185         return _role.getExpandoBridge();
186     }
187 
188     public void setExpandoBridgeAttributes(
189         com.liferay.portal.service.ServiceContext serviceContext) {
190         _role.setExpandoBridgeAttributes(serviceContext);
191     }
192 
193     public java.lang.Object clone() {
194         return _role.clone();
195     }
196 
197     public int compareTo(com.liferay.portal.model.Role role) {
198         return _role.compareTo(role);
199     }
200 
201     public int hashCode() {
202         return _role.hashCode();
203     }
204 
205     public java.lang.String toString() {
206         return _role.toString();
207     }
208 
209     public java.lang.String toXmlString() {
210         return _role.toXmlString();
211     }
212 
213     public java.lang.String getTypeLabel() {
214         return _role.getTypeLabel();
215     }
216 
217     public Role getWrappedRole() {
218         return _role;
219     }
220 
221     private Role _role;
222 }