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