1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="RoleSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link Role}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       Role
31   * @generated
32   */
33  public class RoleWrapper implements Role {
34      public RoleWrapper(Role role) {
35          _role = role;
36      }
37  
38      public long getPrimaryKey() {
39          return _role.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _role.setPrimaryKey(pk);
44      }
45  
46      public long getRoleId() {
47          return _role.getRoleId();
48      }
49  
50      public void setRoleId(long roleId) {
51          _role.setRoleId(roleId);
52      }
53  
54      public long getCompanyId() {
55          return _role.getCompanyId();
56      }
57  
58      public void setCompanyId(long companyId) {
59          _role.setCompanyId(companyId);
60      }
61  
62      public java.lang.String getClassName() {
63          return _role.getClassName();
64      }
65  
66      public long getClassNameId() {
67          return _role.getClassNameId();
68      }
69  
70      public void setClassNameId(long classNameId) {
71          _role.setClassNameId(classNameId);
72      }
73  
74      public long getClassPK() {
75          return _role.getClassPK();
76      }
77  
78      public void setClassPK(long classPK) {
79          _role.setClassPK(classPK);
80      }
81  
82      public java.lang.String getName() {
83          return _role.getName();
84      }
85  
86      public void setName(java.lang.String name) {
87          _role.setName(name);
88      }
89  
90      public java.lang.String getTitle() {
91          return _role.getTitle();
92      }
93  
94      public java.lang.String getTitle(java.util.Locale locale) {
95          return _role.getTitle(locale);
96      }
97  
98      public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
99          return _role.getTitle(locale, useDefault);
100     }
101 
102     public java.lang.String getTitle(java.lang.String languageId) {
103         return _role.getTitle(languageId);
104     }
105 
106     public java.lang.String getTitle(java.lang.String languageId,
107         boolean useDefault) {
108         return _role.getTitle(languageId, useDefault);
109     }
110 
111     public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
112         return _role.getTitleMap();
113     }
114 
115     public void setTitle(java.lang.String title) {
116         _role.setTitle(title);
117     }
118 
119     public void setTitle(java.util.Locale locale, java.lang.String title) {
120         _role.setTitle(locale, title);
121     }
122 
123     public void setTitleMap(
124         java.util.Map<java.util.Locale, java.lang.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 boolean isNew() {
153         return _role.isNew();
154     }
155 
156     public boolean setNew(boolean n) {
157         return _role.setNew(n);
158     }
159 
160     public boolean isCachedModel() {
161         return _role.isCachedModel();
162     }
163 
164     public void setCachedModel(boolean cachedModel) {
165         _role.setCachedModel(cachedModel);
166     }
167 
168     public boolean isEscapedModel() {
169         return _role.isEscapedModel();
170     }
171 
172     public void setEscapedModel(boolean escapedModel) {
173         _role.setEscapedModel(escapedModel);
174     }
175 
176     public java.io.Serializable getPrimaryKeyObj() {
177         return _role.getPrimaryKeyObj();
178     }
179 
180     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
181         return _role.getExpandoBridge();
182     }
183 
184     public void setExpandoBridgeAttributes(
185         com.liferay.portal.service.ServiceContext serviceContext) {
186         _role.setExpandoBridgeAttributes(serviceContext);
187     }
188 
189     public java.lang.Object clone() {
190         return _role.clone();
191     }
192 
193     public int compareTo(com.liferay.portal.model.Role role) {
194         return _role.compareTo(role);
195     }
196 
197     public int hashCode() {
198         return _role.hashCode();
199     }
200 
201     public com.liferay.portal.model.Role toEscapedModel() {
202         return _role.toEscapedModel();
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 void setTitle(java.lang.String title, java.util.Locale locale) {
218         _role.setTitle(title, locale);
219     }
220 
221     public Role getWrappedRole() {
222         return _role;
223     }
224 
225     private Role _role;
226 }