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.social.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SocialRelation}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialRelation
024     * @generated
025     */
026    public class SocialRelationWrapper implements SocialRelation {
027            public SocialRelationWrapper(SocialRelation socialRelation) {
028                    _socialRelation = socialRelation;
029            }
030    
031            public long getPrimaryKey() {
032                    return _socialRelation.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _socialRelation.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getUuid() {
040                    return _socialRelation.getUuid();
041            }
042    
043            public void setUuid(java.lang.String uuid) {
044                    _socialRelation.setUuid(uuid);
045            }
046    
047            public long getRelationId() {
048                    return _socialRelation.getRelationId();
049            }
050    
051            public void setRelationId(long relationId) {
052                    _socialRelation.setRelationId(relationId);
053            }
054    
055            public long getCompanyId() {
056                    return _socialRelation.getCompanyId();
057            }
058    
059            public void setCompanyId(long companyId) {
060                    _socialRelation.setCompanyId(companyId);
061            }
062    
063            public long getCreateDate() {
064                    return _socialRelation.getCreateDate();
065            }
066    
067            public void setCreateDate(long createDate) {
068                    _socialRelation.setCreateDate(createDate);
069            }
070    
071            public long getUserId1() {
072                    return _socialRelation.getUserId1();
073            }
074    
075            public void setUserId1(long userId1) {
076                    _socialRelation.setUserId1(userId1);
077            }
078    
079            public long getUserId2() {
080                    return _socialRelation.getUserId2();
081            }
082    
083            public void setUserId2(long userId2) {
084                    _socialRelation.setUserId2(userId2);
085            }
086    
087            public int getType() {
088                    return _socialRelation.getType();
089            }
090    
091            public void setType(int type) {
092                    _socialRelation.setType(type);
093            }
094    
095            public com.liferay.portlet.social.model.SocialRelation toEscapedModel() {
096                    return _socialRelation.toEscapedModel();
097            }
098    
099            public boolean isNew() {
100                    return _socialRelation.isNew();
101            }
102    
103            public void setNew(boolean n) {
104                    _socialRelation.setNew(n);
105            }
106    
107            public boolean isCachedModel() {
108                    return _socialRelation.isCachedModel();
109            }
110    
111            public void setCachedModel(boolean cachedModel) {
112                    _socialRelation.setCachedModel(cachedModel);
113            }
114    
115            public boolean isEscapedModel() {
116                    return _socialRelation.isEscapedModel();
117            }
118    
119            public void setEscapedModel(boolean escapedModel) {
120                    _socialRelation.setEscapedModel(escapedModel);
121            }
122    
123            public java.io.Serializable getPrimaryKeyObj() {
124                    return _socialRelation.getPrimaryKeyObj();
125            }
126    
127            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
128                    return _socialRelation.getExpandoBridge();
129            }
130    
131            public void setExpandoBridgeAttributes(
132                    com.liferay.portal.service.ServiceContext serviceContext) {
133                    _socialRelation.setExpandoBridgeAttributes(serviceContext);
134            }
135    
136            public java.lang.Object clone() {
137                    return _socialRelation.clone();
138            }
139    
140            public int compareTo(
141                    com.liferay.portlet.social.model.SocialRelation socialRelation) {
142                    return _socialRelation.compareTo(socialRelation);
143            }
144    
145            public int hashCode() {
146                    return _socialRelation.hashCode();
147            }
148    
149            public java.lang.String toString() {
150                    return _socialRelation.toString();
151            }
152    
153            public java.lang.String toXmlString() {
154                    return _socialRelation.toXmlString();
155            }
156    
157            public SocialRelation getWrappedSocialRelation() {
158                    return _socialRelation;
159            }
160    
161            private SocialRelation _socialRelation;
162    }