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 public Class<?> getModelClass() {
032 return SocialRelation.class;
033 }
034
035 public String getModelClassName() {
036 return SocialRelation.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _socialRelation.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _socialRelation.setPrimaryKey(primaryKey);
055 }
056
057
062 public java.lang.String getUuid() {
063 return _socialRelation.getUuid();
064 }
065
066
071 public void setUuid(java.lang.String uuid) {
072 _socialRelation.setUuid(uuid);
073 }
074
075
080 public long getRelationId() {
081 return _socialRelation.getRelationId();
082 }
083
084
089 public void setRelationId(long relationId) {
090 _socialRelation.setRelationId(relationId);
091 }
092
093
098 public long getCompanyId() {
099 return _socialRelation.getCompanyId();
100 }
101
102
107 public void setCompanyId(long companyId) {
108 _socialRelation.setCompanyId(companyId);
109 }
110
111
116 public long getCreateDate() {
117 return _socialRelation.getCreateDate();
118 }
119
120
125 public void setCreateDate(long createDate) {
126 _socialRelation.setCreateDate(createDate);
127 }
128
129
134 public long getUserId1() {
135 return _socialRelation.getUserId1();
136 }
137
138
143 public void setUserId1(long userId1) {
144 _socialRelation.setUserId1(userId1);
145 }
146
147
152 public long getUserId2() {
153 return _socialRelation.getUserId2();
154 }
155
156
161 public void setUserId2(long userId2) {
162 _socialRelation.setUserId2(userId2);
163 }
164
165
170 public int getType() {
171 return _socialRelation.getType();
172 }
173
174
179 public void setType(int type) {
180 _socialRelation.setType(type);
181 }
182
183 public boolean isNew() {
184 return _socialRelation.isNew();
185 }
186
187 public void setNew(boolean n) {
188 _socialRelation.setNew(n);
189 }
190
191 public boolean isCachedModel() {
192 return _socialRelation.isCachedModel();
193 }
194
195 public void setCachedModel(boolean cachedModel) {
196 _socialRelation.setCachedModel(cachedModel);
197 }
198
199 public boolean isEscapedModel() {
200 return _socialRelation.isEscapedModel();
201 }
202
203 public java.io.Serializable getPrimaryKeyObj() {
204 return _socialRelation.getPrimaryKeyObj();
205 }
206
207 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
208 _socialRelation.setPrimaryKeyObj(primaryKeyObj);
209 }
210
211 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
212 return _socialRelation.getExpandoBridge();
213 }
214
215 public void setExpandoBridgeAttributes(
216 com.liferay.portal.service.ServiceContext serviceContext) {
217 _socialRelation.setExpandoBridgeAttributes(serviceContext);
218 }
219
220 @Override
221 public java.lang.Object clone() {
222 return new SocialRelationWrapper((SocialRelation)_socialRelation.clone());
223 }
224
225 public int compareTo(
226 com.liferay.portlet.social.model.SocialRelation socialRelation) {
227 return _socialRelation.compareTo(socialRelation);
228 }
229
230 @Override
231 public int hashCode() {
232 return _socialRelation.hashCode();
233 }
234
235 public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation> toCacheModel() {
236 return _socialRelation.toCacheModel();
237 }
238
239 public com.liferay.portlet.social.model.SocialRelation toEscapedModel() {
240 return new SocialRelationWrapper(_socialRelation.toEscapedModel());
241 }
242
243 @Override
244 public java.lang.String toString() {
245 return _socialRelation.toString();
246 }
247
248 public java.lang.String toXmlString() {
249 return _socialRelation.toXmlString();
250 }
251
252 public void persist()
253 throws com.liferay.portal.kernel.exception.SystemException {
254 _socialRelation.persist();
255 }
256
257 public SocialRelation getWrappedSocialRelation() {
258 return _socialRelation;
259 }
260
261 public void resetOriginalValues() {
262 _socialRelation.resetOriginalValues();
263 }
264
265 private SocialRelation _socialRelation;
266 }