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 ResourceAction}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ResourceAction
024     * @generated
025     */
026    public class ResourceActionWrapper implements ResourceAction {
027            public ResourceActionWrapper(ResourceAction resourceAction) {
028                    _resourceAction = resourceAction;
029            }
030    
031            /**
032            * Gets the primary key of this resource action.
033            *
034            * @return the primary key of this resource action
035            */
036            public long getPrimaryKey() {
037                    return _resourceAction.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this resource action
042            *
043            * @param pk the primary key of this resource action
044            */
045            public void setPrimaryKey(long pk) {
046                    _resourceAction.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the resource action id of this resource action.
051            *
052            * @return the resource action id of this resource action
053            */
054            public long getResourceActionId() {
055                    return _resourceAction.getResourceActionId();
056            }
057    
058            /**
059            * Sets the resource action id of this resource action.
060            *
061            * @param resourceActionId the resource action id of this resource action
062            */
063            public void setResourceActionId(long resourceActionId) {
064                    _resourceAction.setResourceActionId(resourceActionId);
065            }
066    
067            /**
068            * Gets the name of this resource action.
069            *
070            * @return the name of this resource action
071            */
072            public java.lang.String getName() {
073                    return _resourceAction.getName();
074            }
075    
076            /**
077            * Sets the name of this resource action.
078            *
079            * @param name the name of this resource action
080            */
081            public void setName(java.lang.String name) {
082                    _resourceAction.setName(name);
083            }
084    
085            /**
086            * Gets the action id of this resource action.
087            *
088            * @return the action id of this resource action
089            */
090            public java.lang.String getActionId() {
091                    return _resourceAction.getActionId();
092            }
093    
094            /**
095            * Sets the action id of this resource action.
096            *
097            * @param actionId the action id of this resource action
098            */
099            public void setActionId(java.lang.String actionId) {
100                    _resourceAction.setActionId(actionId);
101            }
102    
103            /**
104            * Gets the bitwise value of this resource action.
105            *
106            * @return the bitwise value of this resource action
107            */
108            public long getBitwiseValue() {
109                    return _resourceAction.getBitwiseValue();
110            }
111    
112            /**
113            * Sets the bitwise value of this resource action.
114            *
115            * @param bitwiseValue the bitwise value of this resource action
116            */
117            public void setBitwiseValue(long bitwiseValue) {
118                    _resourceAction.setBitwiseValue(bitwiseValue);
119            }
120    
121            public boolean isNew() {
122                    return _resourceAction.isNew();
123            }
124    
125            public void setNew(boolean n) {
126                    _resourceAction.setNew(n);
127            }
128    
129            public boolean isCachedModel() {
130                    return _resourceAction.isCachedModel();
131            }
132    
133            public void setCachedModel(boolean cachedModel) {
134                    _resourceAction.setCachedModel(cachedModel);
135            }
136    
137            public boolean isEscapedModel() {
138                    return _resourceAction.isEscapedModel();
139            }
140    
141            public void setEscapedModel(boolean escapedModel) {
142                    _resourceAction.setEscapedModel(escapedModel);
143            }
144    
145            public java.io.Serializable getPrimaryKeyObj() {
146                    return _resourceAction.getPrimaryKeyObj();
147            }
148    
149            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
150                    return _resourceAction.getExpandoBridge();
151            }
152    
153            public void setExpandoBridgeAttributes(
154                    com.liferay.portal.service.ServiceContext serviceContext) {
155                    _resourceAction.setExpandoBridgeAttributes(serviceContext);
156            }
157    
158            public java.lang.Object clone() {
159                    return _resourceAction.clone();
160            }
161    
162            public int compareTo(com.liferay.portal.model.ResourceAction resourceAction) {
163                    return _resourceAction.compareTo(resourceAction);
164            }
165    
166            public int hashCode() {
167                    return _resourceAction.hashCode();
168            }
169    
170            public com.liferay.portal.model.ResourceAction toEscapedModel() {
171                    return _resourceAction.toEscapedModel();
172            }
173    
174            public java.lang.String toString() {
175                    return _resourceAction.toString();
176            }
177    
178            public java.lang.String toXmlString() {
179                    return _resourceAction.toXmlString();
180            }
181    
182            public ResourceAction getWrappedResourceAction() {
183                    return _resourceAction;
184            }
185    
186            private ResourceAction _resourceAction;
187    }