001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this announcements flag.
033            *
034            * @return the primary key of this announcements flag
035            */
036            public long getPrimaryKey() {
037                    return _announcementsFlag.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this announcements flag
042            *
043            * @param pk the primary key of this announcements flag
044            */
045            public void setPrimaryKey(long pk) {
046                    _announcementsFlag.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the flag id of this announcements flag.
051            *
052            * @return the flag id of this announcements flag
053            */
054            public long getFlagId() {
055                    return _announcementsFlag.getFlagId();
056            }
057    
058            /**
059            * Sets the flag id of this announcements flag.
060            *
061            * @param flagId the flag id of this announcements flag
062            */
063            public void setFlagId(long flagId) {
064                    _announcementsFlag.setFlagId(flagId);
065            }
066    
067            /**
068            * Gets the user id of this announcements flag.
069            *
070            * @return the user id of this announcements flag
071            */
072            public long getUserId() {
073                    return _announcementsFlag.getUserId();
074            }
075    
076            /**
077            * Sets the user id of this announcements flag.
078            *
079            * @param userId the user id of this announcements flag
080            */
081            public void setUserId(long userId) {
082                    _announcementsFlag.setUserId(userId);
083            }
084    
085            /**
086            * Gets the user uuid of this announcements flag.
087            *
088            * @return the user uuid of this announcements flag
089            * @throws SystemException if a system exception occurred
090            */
091            public java.lang.String getUserUuid()
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _announcementsFlag.getUserUuid();
094            }
095    
096            /**
097            * Sets the user uuid of this announcements flag.
098            *
099            * @param userUuid the user uuid of this announcements flag
100            */
101            public void setUserUuid(java.lang.String userUuid) {
102                    _announcementsFlag.setUserUuid(userUuid);
103            }
104    
105            /**
106            * Gets the create date of this announcements flag.
107            *
108            * @return the create date of this announcements flag
109            */
110            public java.util.Date getCreateDate() {
111                    return _announcementsFlag.getCreateDate();
112            }
113    
114            /**
115            * Sets the create date of this announcements flag.
116            *
117            * @param createDate the create date of this announcements flag
118            */
119            public void setCreateDate(java.util.Date createDate) {
120                    _announcementsFlag.setCreateDate(createDate);
121            }
122    
123            /**
124            * Gets the entry id of this announcements flag.
125            *
126            * @return the entry id of this announcements flag
127            */
128            public long getEntryId() {
129                    return _announcementsFlag.getEntryId();
130            }
131    
132            /**
133            * Sets the entry id of this announcements flag.
134            *
135            * @param entryId the entry id of this announcements flag
136            */
137            public void setEntryId(long entryId) {
138                    _announcementsFlag.setEntryId(entryId);
139            }
140    
141            /**
142            * Gets the value of this announcements flag.
143            *
144            * @return the value of this announcements flag
145            */
146            public int getValue() {
147                    return _announcementsFlag.getValue();
148            }
149    
150            /**
151            * Sets the value of this announcements flag.
152            *
153            * @param value the value of this announcements flag
154            */
155            public void setValue(int value) {
156                    _announcementsFlag.setValue(value);
157            }
158    
159            public boolean isNew() {
160                    return _announcementsFlag.isNew();
161            }
162    
163            public void setNew(boolean n) {
164                    _announcementsFlag.setNew(n);
165            }
166    
167            public boolean isCachedModel() {
168                    return _announcementsFlag.isCachedModel();
169            }
170    
171            public void setCachedModel(boolean cachedModel) {
172                    _announcementsFlag.setCachedModel(cachedModel);
173            }
174    
175            public boolean isEscapedModel() {
176                    return _announcementsFlag.isEscapedModel();
177            }
178    
179            public void setEscapedModel(boolean escapedModel) {
180                    _announcementsFlag.setEscapedModel(escapedModel);
181            }
182    
183            public java.io.Serializable getPrimaryKeyObj() {
184                    return _announcementsFlag.getPrimaryKeyObj();
185            }
186    
187            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
188                    return _announcementsFlag.getExpandoBridge();
189            }
190    
191            public void setExpandoBridgeAttributes(
192                    com.liferay.portal.service.ServiceContext serviceContext) {
193                    _announcementsFlag.setExpandoBridgeAttributes(serviceContext);
194            }
195    
196            public java.lang.Object clone() {
197                    return _announcementsFlag.clone();
198            }
199    
200            public int compareTo(
201                    com.liferay.portlet.announcements.model.AnnouncementsFlag announcementsFlag) {
202                    return _announcementsFlag.compareTo(announcementsFlag);
203            }
204    
205            public int hashCode() {
206                    return _announcementsFlag.hashCode();
207            }
208    
209            public com.liferay.portlet.announcements.model.AnnouncementsFlag toEscapedModel() {
210                    return _announcementsFlag.toEscapedModel();
211            }
212    
213            public java.lang.String toString() {
214                    return _announcementsFlag.toString();
215            }
216    
217            public java.lang.String toXmlString() {
218                    return _announcementsFlag.toXmlString();
219            }
220    
221            public AnnouncementsFlag getWrappedAnnouncementsFlag() {
222                    return _announcementsFlag;
223            }
224    
225            private AnnouncementsFlag _announcementsFlag;
226    }