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