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