001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this user group group role.
033            *
034            * @return the primary key of this user group group role
035            */
036            public com.liferay.portal.service.persistence.UserGroupGroupRolePK getPrimaryKey() {
037                    return _userGroupGroupRole.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this user group group role
042            *
043            * @param pk the primary key of this user group group role
044            */
045            public void setPrimaryKey(
046                    com.liferay.portal.service.persistence.UserGroupGroupRolePK pk) {
047                    _userGroupGroupRole.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the user group id of this user group group role.
052            *
053            * @return the user group id of this user group group role
054            */
055            public long getUserGroupId() {
056                    return _userGroupGroupRole.getUserGroupId();
057            }
058    
059            /**
060            * Sets the user group id of this user group group role.
061            *
062            * @param userGroupId the user group id of this user group group role
063            */
064            public void setUserGroupId(long userGroupId) {
065                    _userGroupGroupRole.setUserGroupId(userGroupId);
066            }
067    
068            /**
069            * Gets the group id of this user group group role.
070            *
071            * @return the group id of this user group group role
072            */
073            public long getGroupId() {
074                    return _userGroupGroupRole.getGroupId();
075            }
076    
077            /**
078            * Sets the group id of this user group group role.
079            *
080            * @param groupId the group id of this user group group role
081            */
082            public void setGroupId(long groupId) {
083                    _userGroupGroupRole.setGroupId(groupId);
084            }
085    
086            /**
087            * Gets the role id of this user group group role.
088            *
089            * @return the role id of this user group group role
090            */
091            public long getRoleId() {
092                    return _userGroupGroupRole.getRoleId();
093            }
094    
095            /**
096            * Sets the role id of this user group group role.
097            *
098            * @param roleId the role id of this user group group role
099            */
100            public void setRoleId(long roleId) {
101                    _userGroupGroupRole.setRoleId(roleId);
102            }
103    
104            public boolean isNew() {
105                    return _userGroupGroupRole.isNew();
106            }
107    
108            public void setNew(boolean n) {
109                    _userGroupGroupRole.setNew(n);
110            }
111    
112            public boolean isCachedModel() {
113                    return _userGroupGroupRole.isCachedModel();
114            }
115    
116            public void setCachedModel(boolean cachedModel) {
117                    _userGroupGroupRole.setCachedModel(cachedModel);
118            }
119    
120            public boolean isEscapedModel() {
121                    return _userGroupGroupRole.isEscapedModel();
122            }
123    
124            public void setEscapedModel(boolean escapedModel) {
125                    _userGroupGroupRole.setEscapedModel(escapedModel);
126            }
127    
128            public java.io.Serializable getPrimaryKeyObj() {
129                    return _userGroupGroupRole.getPrimaryKeyObj();
130            }
131    
132            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
133                    return _userGroupGroupRole.getExpandoBridge();
134            }
135    
136            public void setExpandoBridgeAttributes(
137                    com.liferay.portal.service.ServiceContext serviceContext) {
138                    _userGroupGroupRole.setExpandoBridgeAttributes(serviceContext);
139            }
140    
141            public java.lang.Object clone() {
142                    return _userGroupGroupRole.clone();
143            }
144    
145            public int compareTo(
146                    com.liferay.portal.model.UserGroupGroupRole userGroupGroupRole) {
147                    return _userGroupGroupRole.compareTo(userGroupGroupRole);
148            }
149    
150            public int hashCode() {
151                    return _userGroupGroupRole.hashCode();
152            }
153    
154            public com.liferay.portal.model.UserGroupGroupRole toEscapedModel() {
155                    return _userGroupGroupRole.toEscapedModel();
156            }
157    
158            public java.lang.String toString() {
159                    return _userGroupGroupRole.toString();
160            }
161    
162            public java.lang.String toXmlString() {
163                    return _userGroupGroupRole.toXmlString();
164            }
165    
166            public UserGroupGroupRole getWrappedUserGroupGroupRole() {
167                    return _userGroupGroupRole;
168            }
169    
170            private UserGroupGroupRole _userGroupGroupRole;
171    }