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 UserGroupGroupRole}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupGroupRole
024     * @generated
025     */
026    public class UserGroupGroupRoleWrapper implements UserGroupGroupRole {
027            public UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole) {
028                    _userGroupGroupRole = userGroupGroupRole;
029            }
030    
031            public com.liferay.portal.service.persistence.UserGroupGroupRolePK getPrimaryKey() {
032                    return _userGroupGroupRole.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(
036                    com.liferay.portal.service.persistence.UserGroupGroupRolePK pk) {
037                    _userGroupGroupRole.setPrimaryKey(pk);
038            }
039    
040            public long getUserGroupId() {
041                    return _userGroupGroupRole.getUserGroupId();
042            }
043    
044            public void setUserGroupId(long userGroupId) {
045                    _userGroupGroupRole.setUserGroupId(userGroupId);
046            }
047    
048            public long getGroupId() {
049                    return _userGroupGroupRole.getGroupId();
050            }
051    
052            public void setGroupId(long groupId) {
053                    _userGroupGroupRole.setGroupId(groupId);
054            }
055    
056            public long getRoleId() {
057                    return _userGroupGroupRole.getRoleId();
058            }
059    
060            public void setRoleId(long roleId) {
061                    _userGroupGroupRole.setRoleId(roleId);
062            }
063    
064            public com.liferay.portal.model.UserGroupGroupRole toEscapedModel() {
065                    return _userGroupGroupRole.toEscapedModel();
066            }
067    
068            public boolean isNew() {
069                    return _userGroupGroupRole.isNew();
070            }
071    
072            public void setNew(boolean n) {
073                    _userGroupGroupRole.setNew(n);
074            }
075    
076            public boolean isCachedModel() {
077                    return _userGroupGroupRole.isCachedModel();
078            }
079    
080            public void setCachedModel(boolean cachedModel) {
081                    _userGroupGroupRole.setCachedModel(cachedModel);
082            }
083    
084            public boolean isEscapedModel() {
085                    return _userGroupGroupRole.isEscapedModel();
086            }
087    
088            public void setEscapedModel(boolean escapedModel) {
089                    _userGroupGroupRole.setEscapedModel(escapedModel);
090            }
091    
092            public java.io.Serializable getPrimaryKeyObj() {
093                    return _userGroupGroupRole.getPrimaryKeyObj();
094            }
095    
096            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
097                    return _userGroupGroupRole.getExpandoBridge();
098            }
099    
100            public void setExpandoBridgeAttributes(
101                    com.liferay.portal.service.ServiceContext serviceContext) {
102                    _userGroupGroupRole.setExpandoBridgeAttributes(serviceContext);
103            }
104    
105            public java.lang.Object clone() {
106                    return _userGroupGroupRole.clone();
107            }
108    
109            public int compareTo(
110                    com.liferay.portal.model.UserGroupGroupRole userGroupGroupRole) {
111                    return _userGroupGroupRole.compareTo(userGroupGroupRole);
112            }
113    
114            public int hashCode() {
115                    return _userGroupGroupRole.hashCode();
116            }
117    
118            public java.lang.String toString() {
119                    return _userGroupGroupRole.toString();
120            }
121    
122            public java.lang.String toXmlString() {
123                    return _userGroupGroupRole.toXmlString();
124            }
125    
126            public UserGroupGroupRole getWrappedUserGroupGroupRole() {
127                    return _userGroupGroupRole;
128            }
129    
130            private UserGroupGroupRole _userGroupGroupRole;
131    }