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.announcements.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AnnouncementsFlag}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AnnouncementsFlag
024     * @generated
025     */
026    public class AnnouncementsFlagWrapper implements AnnouncementsFlag {
027            public AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag) {
028                    _announcementsFlag = announcementsFlag;
029            }
030    
031            public long getPrimaryKey() {
032                    return _announcementsFlag.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _announcementsFlag.setPrimaryKey(pk);
037            }
038    
039            public long getFlagId() {
040                    return _announcementsFlag.getFlagId();
041            }
042    
043            public void setFlagId(long flagId) {
044                    _announcementsFlag.setFlagId(flagId);
045            }
046    
047            public long getUserId() {
048                    return _announcementsFlag.getUserId();
049            }
050    
051            public void setUserId(long userId) {
052                    _announcementsFlag.setUserId(userId);
053            }
054    
055            public java.lang.String getUserUuid()
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _announcementsFlag.getUserUuid();
058            }
059    
060            public void setUserUuid(java.lang.String userUuid) {
061                    _announcementsFlag.setUserUuid(userUuid);
062            }
063    
064            public java.util.Date getCreateDate() {
065                    return _announcementsFlag.getCreateDate();
066            }
067    
068            public void setCreateDate(java.util.Date createDate) {
069                    _announcementsFlag.setCreateDate(createDate);
070            }
071    
072            public long getEntryId() {
073                    return _announcementsFlag.getEntryId();
074            }
075    
076            public void setEntryId(long entryId) {
077                    _announcementsFlag.setEntryId(entryId);
078            }
079    
080            public int getValue() {
081                    return _announcementsFlag.getValue();
082            }
083    
084            public void setValue(int value) {
085                    _announcementsFlag.setValue(value);
086            }
087    
088            public com.liferay.portlet.announcements.model.AnnouncementsFlag toEscapedModel() {
089                    return _announcementsFlag.toEscapedModel();
090            }
091    
092            public boolean isNew() {
093                    return _announcementsFlag.isNew();
094            }
095    
096            public void setNew(boolean n) {
097                    _announcementsFlag.setNew(n);
098            }
099    
100            public boolean isCachedModel() {
101                    return _announcementsFlag.isCachedModel();
102            }
103    
104            public void setCachedModel(boolean cachedModel) {
105                    _announcementsFlag.setCachedModel(cachedModel);
106            }
107    
108            public boolean isEscapedModel() {
109                    return _announcementsFlag.isEscapedModel();
110            }
111    
112            public void setEscapedModel(boolean escapedModel) {
113                    _announcementsFlag.setEscapedModel(escapedModel);
114            }
115    
116            public java.io.Serializable getPrimaryKeyObj() {
117                    return _announcementsFlag.getPrimaryKeyObj();
118            }
119    
120            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
121                    return _announcementsFlag.getExpandoBridge();
122            }
123    
124            public void setExpandoBridgeAttributes(
125                    com.liferay.portal.service.ServiceContext serviceContext) {
126                    _announcementsFlag.setExpandoBridgeAttributes(serviceContext);
127            }
128    
129            public java.lang.Object clone() {
130                    return _announcementsFlag.clone();
131            }
132    
133            public int compareTo(
134                    com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag) {
135                    return _announcementsFlag.compareTo(announcementsFlag);
136            }
137    
138            public int hashCode() {
139                    return _announcementsFlag.hashCode();
140            }
141    
142            public java.lang.String toString() {
143                    return _announcementsFlag.toString();
144            }
145    
146            public java.lang.String toXmlString() {
147                    return _announcementsFlag.toXmlString();
148            }
149    
150            public AnnouncementsFlag getWrappedAnnouncementsFlag() {
151                    return _announcementsFlag;
152            }
153    
154            private AnnouncementsFlag _announcementsFlag;
155    }