001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link UserGroupRole}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupRole
024     * @generated
025     */
026    public class UserGroupRoleWrapper implements UserGroupRole {
027            public UserGroupRoleWrapper(UserGroupRole userGroupRole) {
028                    _userGroupRole = userGroupRole;
029            }
030    
031            public com.liferay.portal.service.persistence.UserGroupRolePK getPrimaryKey() {
032                    return _userGroupRole.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(
036                    com.liferay.portal.service.persistence.UserGroupRolePK pk) {
037                    _userGroupRole.setPrimaryKey(pk);
038            }
039    
040            public long getUserId() {
041                    return _userGroupRole.getUserId();
042            }
043    
044            public void setUserId(long userId) {
045                    _userGroupRole.setUserId(userId);
046            }
047    
048            public java.lang.String getUserUuid()
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    return _userGroupRole.getUserUuid();
051            }
052    
053            public void setUserUuid(java.lang.String userUuid) {
054                    _userGroupRole.setUserUuid(userUuid);
055            }
056    
057            public long getGroupId() {
058                    return _userGroupRole.getGroupId();
059            }
060    
061            public void setGroupId(long groupId) {
062                    _userGroupRole.setGroupId(groupId);
063            }
064    
065            public long getRoleId() {
066                    return _userGroupRole.getRoleId();
067            }
068    
069            public void setRoleId(long roleId) {
070                    _userGroupRole.setRoleId(roleId);
071            }
072    
073            public com.liferay.portal.model.UserGroupRole toEscapedModel() {
074                    return _userGroupRole.toEscapedModel();
075            }
076    
077            public boolean isNew() {
078                    return _userGroupRole.isNew();
079            }
080    
081            public void setNew(boolean n) {
082                    _userGroupRole.setNew(n);
083            }
084    
085            public boolean isCachedModel() {
086                    return _userGroupRole.isCachedModel();
087            }
088    
089            public void setCachedModel(boolean cachedModel) {
090                    _userGroupRole.setCachedModel(cachedModel);
091            }
092    
093            public boolean isEscapedModel() {
094                    return _userGroupRole.isEscapedModel();
095            }
096    
097            public void setEscapedModel(boolean escapedModel) {
098                    _userGroupRole.setEscapedModel(escapedModel);
099            }
100    
101            public java.io.Serializable getPrimaryKeyObj() {
102                    return _userGroupRole.getPrimaryKeyObj();
103            }
104    
105            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
106                    return _userGroupRole.getExpandoBridge();
107            }
108    
109            public void setExpandoBridgeAttributes(
110                    com.liferay.portal.service.ServiceContext serviceContext) {
111                    _userGroupRole.setExpandoBridgeAttributes(serviceContext);
112            }
113    
114            public java.lang.Object clone() {
115                    return _userGroupRole.clone();
116            }
117    
118            public int compareTo(com.liferay.portal.model.UserGroupRole userGroupRole) {
119                    return _userGroupRole.compareTo(userGroupRole);
120            }
121    
122            public int hashCode() {
123                    return _userGroupRole.hashCode();
124            }
125    
126            public java.lang.String toString() {
127                    return _userGroupRole.toString();
128            }
129    
130            public java.lang.String toXmlString() {
131                    return _userGroupRole.toXmlString();
132            }
133    
134            public com.liferay.portal.model.Group getGroup()
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    return _userGroupRole.getGroup();
138            }
139    
140            public com.liferay.portal.model.Role getRole()
141                    throws com.liferay.portal.kernel.exception.PortalException,
142                            com.liferay.portal.kernel.exception.SystemException {
143                    return _userGroupRole.getRole();
144            }
145    
146            public com.liferay.portal.model.User getUser()
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    return _userGroupRole.getUser();
150            }
151    
152            public UserGroupRole getWrappedUserGroupRole() {
153                    return _userGroupRole;
154            }
155    
156            private UserGroupRole _userGroupRole;
157    }