001    /**
002     * Copyright (c) 2000-2011 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 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            public long getPrimaryKey() {
032                    return _resourceAction.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _resourceAction.setPrimaryKey(pk);
037            }
038    
039            public long getResourceActionId() {
040                    return _resourceAction.getResourceActionId();
041            }
042    
043            public void setResourceActionId(long resourceActionId) {
044                    _resourceAction.setResourceActionId(resourceActionId);
045            }
046    
047            public java.lang.String getName() {
048                    return _resourceAction.getName();
049            }
050    
051            public void setName(java.lang.String name) {
052                    _resourceAction.setName(name);
053            }
054    
055            public java.lang.String getActionId() {
056                    return _resourceAction.getActionId();
057            }
058    
059            public void setActionId(java.lang.String actionId) {
060                    _resourceAction.setActionId(actionId);
061            }
062    
063            public long getBitwiseValue() {
064                    return _resourceAction.getBitwiseValue();
065            }
066    
067            public void setBitwiseValue(long bitwiseValue) {
068                    _resourceAction.setBitwiseValue(bitwiseValue);
069            }
070    
071            public com.liferay.portal.model.ResourceAction toEscapedModel() {
072                    return _resourceAction.toEscapedModel();
073            }
074    
075            public boolean isNew() {
076                    return _resourceAction.isNew();
077            }
078    
079            public void setNew(boolean n) {
080                    _resourceAction.setNew(n);
081            }
082    
083            public boolean isCachedModel() {
084                    return _resourceAction.isCachedModel();
085            }
086    
087            public void setCachedModel(boolean cachedModel) {
088                    _resourceAction.setCachedModel(cachedModel);
089            }
090    
091            public boolean isEscapedModel() {
092                    return _resourceAction.isEscapedModel();
093            }
094    
095            public void setEscapedModel(boolean escapedModel) {
096                    _resourceAction.setEscapedModel(escapedModel);
097            }
098    
099            public java.io.Serializable getPrimaryKeyObj() {
100                    return _resourceAction.getPrimaryKeyObj();
101            }
102    
103            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
104                    return _resourceAction.getExpandoBridge();
105            }
106    
107            public void setExpandoBridgeAttributes(
108                    com.liferay.portal.service.ServiceContext serviceContext) {
109                    _resourceAction.setExpandoBridgeAttributes(serviceContext);
110            }
111    
112            public java.lang.Object clone() {
113                    return _resourceAction.clone();
114            }
115    
116            public int compareTo(com.liferay.portal.model.ResourceAction resourceAction) {
117                    return _resourceAction.compareTo(resourceAction);
118            }
119    
120            public int hashCode() {
121                    return _resourceAction.hashCode();
122            }
123    
124            public java.lang.String toString() {
125                    return _resourceAction.toString();
126            }
127    
128            public java.lang.String toXmlString() {
129                    return _resourceAction.toXmlString();
130            }
131    
132            public ResourceAction getWrappedResourceAction() {
133                    return _resourceAction;
134            }
135    
136            private ResourceAction _resourceAction;
137    }