1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.social.model;
16  
17  
18  /**
19   * <a href="SocialRelationSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link SocialRelation}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SocialRelation
32   * @generated
33   */
34  public class SocialRelationWrapper implements SocialRelation {
35      public SocialRelationWrapper(SocialRelation socialRelation) {
36          _socialRelation = socialRelation;
37      }
38  
39      public long getPrimaryKey() {
40          return _socialRelation.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _socialRelation.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getUuid() {
48          return _socialRelation.getUuid();
49      }
50  
51      public void setUuid(java.lang.String uuid) {
52          _socialRelation.setUuid(uuid);
53      }
54  
55      public long getRelationId() {
56          return _socialRelation.getRelationId();
57      }
58  
59      public void setRelationId(long relationId) {
60          _socialRelation.setRelationId(relationId);
61      }
62  
63      public long getCompanyId() {
64          return _socialRelation.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _socialRelation.setCompanyId(companyId);
69      }
70  
71      public long getCreateDate() {
72          return _socialRelation.getCreateDate();
73      }
74  
75      public void setCreateDate(long createDate) {
76          _socialRelation.setCreateDate(createDate);
77      }
78  
79      public long getUserId1() {
80          return _socialRelation.getUserId1();
81      }
82  
83      public void setUserId1(long userId1) {
84          _socialRelation.setUserId1(userId1);
85      }
86  
87      public long getUserId2() {
88          return _socialRelation.getUserId2();
89      }
90  
91      public void setUserId2(long userId2) {
92          _socialRelation.setUserId2(userId2);
93      }
94  
95      public int getType() {
96          return _socialRelation.getType();
97      }
98  
99      public void setType(int type) {
100         _socialRelation.setType(type);
101     }
102 
103     public com.liferay.portlet.social.model.SocialRelation toEscapedModel() {
104         return _socialRelation.toEscapedModel();
105     }
106 
107     public boolean isNew() {
108         return _socialRelation.isNew();
109     }
110 
111     public boolean setNew(boolean n) {
112         return _socialRelation.setNew(n);
113     }
114 
115     public boolean isCachedModel() {
116         return _socialRelation.isCachedModel();
117     }
118 
119     public void setCachedModel(boolean cachedModel) {
120         _socialRelation.setCachedModel(cachedModel);
121     }
122 
123     public boolean isEscapedModel() {
124         return _socialRelation.isEscapedModel();
125     }
126 
127     public void setEscapedModel(boolean escapedModel) {
128         _socialRelation.setEscapedModel(escapedModel);
129     }
130 
131     public java.io.Serializable getPrimaryKeyObj() {
132         return _socialRelation.getPrimaryKeyObj();
133     }
134 
135     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
136         return _socialRelation.getExpandoBridge();
137     }
138 
139     public void setExpandoBridgeAttributes(
140         com.liferay.portal.service.ServiceContext serviceContext) {
141         _socialRelation.setExpandoBridgeAttributes(serviceContext);
142     }
143 
144     public java.lang.Object clone() {
145         return _socialRelation.clone();
146     }
147 
148     public int compareTo(
149         com.liferay.portlet.social.model.SocialRelation socialRelation) {
150         return _socialRelation.compareTo(socialRelation);
151     }
152 
153     public int hashCode() {
154         return _socialRelation.hashCode();
155     }
156 
157     public java.lang.String toString() {
158         return _socialRelation.toString();
159     }
160 
161     public java.lang.String toXmlString() {
162         return _socialRelation.toXmlString();
163     }
164 
165     public SocialRelation getWrappedSocialRelation() {
166         return _socialRelation;
167     }
168 
169     private SocialRelation _socialRelation;
170 }