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="UserGroupGroupRoleSoap.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 UserGroupGroupRole}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       UserGroupGroupRole
32   * @generated
33   */
34  public class UserGroupGroupRoleWrapper implements UserGroupGroupRole {
35      public UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole) {
36          _userGroupGroupRole = userGroupGroupRole;
37      }
38  
39      public com.liferay.portal.service.persistence.UserGroupGroupRolePK getPrimaryKey() {
40          return _userGroupGroupRole.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(
44          com.liferay.portal.service.persistence.UserGroupGroupRolePK pk) {
45          _userGroupGroupRole.setPrimaryKey(pk);
46      }
47  
48      public long getUserGroupId() {
49          return _userGroupGroupRole.getUserGroupId();
50      }
51  
52      public void setUserGroupId(long userGroupId) {
53          _userGroupGroupRole.setUserGroupId(userGroupId);
54      }
55  
56      public long getGroupId() {
57          return _userGroupGroupRole.getGroupId();
58      }
59  
60      public void setGroupId(long groupId) {
61          _userGroupGroupRole.setGroupId(groupId);
62      }
63  
64      public long getRoleId() {
65          return _userGroupGroupRole.getRoleId();
66      }
67  
68      public void setRoleId(long roleId) {
69          _userGroupGroupRole.setRoleId(roleId);
70      }
71  
72      public com.liferay.portal.model.UserGroupGroupRole toEscapedModel() {
73          return _userGroupGroupRole.toEscapedModel();
74      }
75  
76      public boolean isNew() {
77          return _userGroupGroupRole.isNew();
78      }
79  
80      public boolean setNew(boolean n) {
81          return _userGroupGroupRole.setNew(n);
82      }
83  
84      public boolean isCachedModel() {
85          return _userGroupGroupRole.isCachedModel();
86      }
87  
88      public void setCachedModel(boolean cachedModel) {
89          _userGroupGroupRole.setCachedModel(cachedModel);
90      }
91  
92      public boolean isEscapedModel() {
93          return _userGroupGroupRole.isEscapedModel();
94      }
95  
96      public void setEscapedModel(boolean escapedModel) {
97          _userGroupGroupRole.setEscapedModel(escapedModel);
98      }
99  
100     public java.io.Serializable getPrimaryKeyObj() {
101         return _userGroupGroupRole.getPrimaryKeyObj();
102     }
103 
104     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
105         return _userGroupGroupRole.getExpandoBridge();
106     }
107 
108     public void setExpandoBridgeAttributes(
109         com.liferay.portal.service.ServiceContext serviceContext) {
110         _userGroupGroupRole.setExpandoBridgeAttributes(serviceContext);
111     }
112 
113     public java.lang.Object clone() {
114         return _userGroupGroupRole.clone();
115     }
116 
117     public int compareTo(
118         com.liferay.portal.model.UserGroupGroupRole userGroupGroupRole) {
119         return _userGroupGroupRole.compareTo(userGroupGroupRole);
120     }
121 
122     public int hashCode() {
123         return _userGroupGroupRole.hashCode();
124     }
125 
126     public java.lang.String toString() {
127         return _userGroupGroupRole.toString();
128     }
129 
130     public java.lang.String toXmlString() {
131         return _userGroupGroupRole.toXmlString();
132     }
133 
134     public UserGroupGroupRole getWrappedUserGroupGroupRole() {
135         return _userGroupGroupRole;
136     }
137 
138     private UserGroupGroupRole _userGroupGroupRole;
139 }