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