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.portlet.journal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalArticleResource}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalArticleResource
024     * @generated
025     */
026    public class JournalArticleResourceWrapper implements JournalArticleResource {
027            public JournalArticleResourceWrapper(
028                    JournalArticleResource journalArticleResource) {
029                    _journalArticleResource = journalArticleResource;
030            }
031    
032            public long getPrimaryKey() {
033                    return _journalArticleResource.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _journalArticleResource.setPrimaryKey(pk);
038            }
039    
040            public long getResourcePrimKey() {
041                    return _journalArticleResource.getResourcePrimKey();
042            }
043    
044            public void setResourcePrimKey(long resourcePrimKey) {
045                    _journalArticleResource.setResourcePrimKey(resourcePrimKey);
046            }
047    
048            public long getGroupId() {
049                    return _journalArticleResource.getGroupId();
050            }
051    
052            public void setGroupId(long groupId) {
053                    _journalArticleResource.setGroupId(groupId);
054            }
055    
056            public java.lang.String getArticleId() {
057                    return _journalArticleResource.getArticleId();
058            }
059    
060            public void setArticleId(java.lang.String articleId) {
061                    _journalArticleResource.setArticleId(articleId);
062            }
063    
064            public com.liferay.portlet.journal.model.JournalArticleResource toEscapedModel() {
065                    return _journalArticleResource.toEscapedModel();
066            }
067    
068            public boolean isNew() {
069                    return _journalArticleResource.isNew();
070            }
071    
072            public void setNew(boolean n) {
073                    _journalArticleResource.setNew(n);
074            }
075    
076            public boolean isCachedModel() {
077                    return _journalArticleResource.isCachedModel();
078            }
079    
080            public void setCachedModel(boolean cachedModel) {
081                    _journalArticleResource.setCachedModel(cachedModel);
082            }
083    
084            public boolean isEscapedModel() {
085                    return _journalArticleResource.isEscapedModel();
086            }
087    
088            public void setEscapedModel(boolean escapedModel) {
089                    _journalArticleResource.setEscapedModel(escapedModel);
090            }
091    
092            public java.io.Serializable getPrimaryKeyObj() {
093                    return _journalArticleResource.getPrimaryKeyObj();
094            }
095    
096            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
097                    return _journalArticleResource.getExpandoBridge();
098            }
099    
100            public void setExpandoBridgeAttributes(
101                    com.liferay.portal.service.ServiceContext serviceContext) {
102                    _journalArticleResource.setExpandoBridgeAttributes(serviceContext);
103            }
104    
105            public java.lang.Object clone() {
106                    return _journalArticleResource.clone();
107            }
108    
109            public int compareTo(
110                    com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource) {
111                    return _journalArticleResource.compareTo(journalArticleResource);
112            }
113    
114            public int hashCode() {
115                    return _journalArticleResource.hashCode();
116            }
117    
118            public java.lang.String toString() {
119                    return _journalArticleResource.toString();
120            }
121    
122            public java.lang.String toXmlString() {
123                    return _journalArticleResource.toXmlString();
124            }
125    
126            public JournalArticleResource getWrappedJournalArticleResource() {
127                    return _journalArticleResource;
128            }
129    
130            private JournalArticleResource _journalArticleResource;
131    }