001
014
015 package com.liferay.portlet.social.model;
016
017
026 public class SocialRelationWrapper implements SocialRelation {
027 public SocialRelationWrapper(SocialRelation socialRelation) {
028 _socialRelation = socialRelation;
029 }
030
031
036 public long getPrimaryKey() {
037 return _socialRelation.getPrimaryKey();
038 }
039
040
045 public void setPrimaryKey(long pk) {
046 _socialRelation.setPrimaryKey(pk);
047 }
048
049
054 public java.lang.String getUuid() {
055 return _socialRelation.getUuid();
056 }
057
058
063 public void setUuid(java.lang.String uuid) {
064 _socialRelation.setUuid(uuid);
065 }
066
067
072 public long getRelationId() {
073 return _socialRelation.getRelationId();
074 }
075
076
081 public void setRelationId(long relationId) {
082 _socialRelation.setRelationId(relationId);
083 }
084
085
090 public long getCompanyId() {
091 return _socialRelation.getCompanyId();
092 }
093
094
099 public void setCompanyId(long companyId) {
100 _socialRelation.setCompanyId(companyId);
101 }
102
103
108 public long getCreateDate() {
109 return _socialRelation.getCreateDate();
110 }
111
112
117 public void setCreateDate(long createDate) {
118 _socialRelation.setCreateDate(createDate);
119 }
120
121
126 public long getUserId1() {
127 return _socialRelation.getUserId1();
128 }
129
130
135 public void setUserId1(long userId1) {
136 _socialRelation.setUserId1(userId1);
137 }
138
139
144 public long getUserId2() {
145 return _socialRelation.getUserId2();
146 }
147
148
153 public void setUserId2(long userId2) {
154 _socialRelation.setUserId2(userId2);
155 }
156
157
162 public int getType() {
163 return _socialRelation.getType();
164 }
165
166
171 public void setType(int type) {
172 _socialRelation.setType(type);
173 }
174
175 public boolean isNew() {
176 return _socialRelation.isNew();
177 }
178
179 public void setNew(boolean n) {
180 _socialRelation.setNew(n);
181 }
182
183 public boolean isCachedModel() {
184 return _socialRelation.isCachedModel();
185 }
186
187 public void setCachedModel(boolean cachedModel) {
188 _socialRelation.setCachedModel(cachedModel);
189 }
190
191 public boolean isEscapedModel() {
192 return _socialRelation.isEscapedModel();
193 }
194
195 public void setEscapedModel(boolean escapedModel) {
196 _socialRelation.setEscapedModel(escapedModel);
197 }
198
199 public java.io.Serializable getPrimaryKeyObj() {
200 return _socialRelation.getPrimaryKeyObj();
201 }
202
203 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
204 return _socialRelation.getExpandoBridge();
205 }
206
207 public void setExpandoBridgeAttributes(
208 com.liferay.portal.service.ServiceContext serviceContext) {
209 _socialRelation.setExpandoBridgeAttributes(serviceContext);
210 }
211
212 public java.lang.Object clone() {
213 return _socialRelation.clone();
214 }
215
216 public int compareTo(
217 com.liferay.portlet.social.model.SocialRelation socialRelation) {
218 return _socialRelation.compareTo(socialRelation);
219 }
220
221 public int hashCode() {
222 return _socialRelation.hashCode();
223 }
224
225 public com.liferay.portlet.social.model.SocialRelation toEscapedModel() {
226 return _socialRelation.toEscapedModel();
227 }
228
229 public java.lang.String toString() {
230 return _socialRelation.toString();
231 }
232
233 public java.lang.String toXmlString() {
234 return _socialRelation.toXmlString();
235 }
236
237 public SocialRelation getWrappedSocialRelation() {
238 return _socialRelation;
239 }
240
241 private SocialRelation _socialRelation;
242 }