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