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="UserGroupRoleSoap.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 UserGroupRole}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       UserGroupRole
31   * @generated
32   */
33  public class UserGroupRoleWrapper implements UserGroupRole {
34      public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
35          _userGroupRole = userGroupRole;
36      }
37  
38      public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
39          return _userGroupRole.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(
43          com.liferay.portal.service.persistence.UserGroupRolePK pk) {
44          _userGroupRole.setPrimaryKey(pk);
45      }
46  
47      public long getUserId() {
48          return _userGroupRole.getUserId();
49      }
50  
51      public void setUserId(long userId) {
52          _userGroupRole.setUserId(userId);
53      }
54  
55      public java.lang.String getUserUuid()
56          throws com.liferay.portal.SystemException {
57          return _userGroupRole.getUserUuid();
58      }
59  
60      public void setUserUuid(java.lang.String userUuid) {
61          _userGroupRole.setUserUuid(userUuid);
62      }
63  
64      public long getGroupId() {
65          return _userGroupRole.getGroupId();
66      }
67  
68      public void setGroupId(long groupId) {
69          _userGroupRole.setGroupId(groupId);
70      }
71  
72      public long getRoleId() {
73          return _userGroupRole.getRoleId();
74      }
75  
76      public void setRoleId(long roleId) {
77          _userGroupRole.setRoleId(roleId);
78      }
79  
80      public boolean isNew() {
81          return _userGroupRole.isNew();
82      }
83  
84      public boolean setNew(boolean n) {
85          return _userGroupRole.setNew(n);
86      }
87  
88      public boolean isCachedModel() {
89          return _userGroupRole.isCachedModel();
90      }
91  
92      public void setCachedModel(boolean cachedModel) {
93          _userGroupRole.setCachedModel(cachedModel);
94      }
95  
96      public boolean isEscapedModel() {
97          return _userGroupRole.isEscapedModel();
98      }
99  
100     public void setEscapedModel(boolean escapedModel) {
101         _userGroupRole.setEscapedModel(escapedModel);
102     }
103 
104     public java.io.Serializable getPrimaryKeyObj() {
105         return _userGroupRole.getPrimaryKeyObj();
106     }
107 
108     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
109         return _userGroupRole.getExpandoBridge();
110     }
111 
112     public void setExpandoBridgeAttributes(
113         com.liferay.portal.service.ServiceContext serviceContext) {
114         _userGroupRole.setExpandoBridgeAttributes(serviceContext);
115     }
116 
117     public java.lang.Object clone() {
118         return _userGroupRole.clone();
119     }
120 
121     public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
122         return _userGroupRole.compareTo(userGroupRole);
123     }
124 
125     public int hashCode() {
126         return _userGroupRole.hashCode();
127     }
128 
129     public com.liferay.portal.model.UserGroupRole toEscapedModel() {
130         return _userGroupRole.toEscapedModel();
131     }
132 
133     public java.lang.String toString() {
134         return _userGroupRole.toString();
135     }
136 
137     public java.lang.String toXmlString() {
138         return _userGroupRole.toXmlString();
139     }
140 
141     public com.liferay.portal.model.Group getGroup()
142         throws com.liferay.portal.PortalException,
143             com.liferay.portal.SystemException {
144         return _userGroupRole.getGroup();
145     }
146 
147     public com.liferay.portal.model.Role getRole()
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         return _userGroupRole.getRole();
151     }
152 
153     public com.liferay.portal.model.User getUser()
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         return _userGroupRole.getUser();
157     }
158 
159     public UserGroupRole getWrappedUserGroupRole() {
160         return _userGroupRole;
161     }
162 
163     private UserGroupRole _userGroupRole;
164 }