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