001
014
015 package com.liferay.portlet.social.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class SocialRelationWrapper implements SocialRelation,
029 ModelWrapper<SocialRelation> {
030 public SocialRelationWrapper(SocialRelation socialRelation) {
031 _socialRelation = socialRelation;
032 }
033
034 public Class<?> getModelClass() {
035 return SocialRelation.class;
036 }
037
038 public String getModelClassName() {
039 return SocialRelation.class.getName();
040 }
041
042
047 public long getPrimaryKey() {
048 return _socialRelation.getPrimaryKey();
049 }
050
051
056 public void setPrimaryKey(long primaryKey) {
057 _socialRelation.setPrimaryKey(primaryKey);
058 }
059
060
065 public java.lang.String getUuid() {
066 return _socialRelation.getUuid();
067 }
068
069
074 public void setUuid(java.lang.String uuid) {
075 _socialRelation.setUuid(uuid);
076 }
077
078
083 public long getRelationId() {
084 return _socialRelation.getRelationId();
085 }
086
087
092 public void setRelationId(long relationId) {
093 _socialRelation.setRelationId(relationId);
094 }
095
096
101 public long getCompanyId() {
102 return _socialRelation.getCompanyId();
103 }
104
105
110 public void setCompanyId(long companyId) {
111 _socialRelation.setCompanyId(companyId);
112 }
113
114
119 public long getCreateDate() {
120 return _socialRelation.getCreateDate();
121 }
122
123
128 public void setCreateDate(long createDate) {
129 _socialRelation.setCreateDate(createDate);
130 }
131
132
137 public long getUserId1() {
138 return _socialRelation.getUserId1();
139 }
140
141
146 public void setUserId1(long userId1) {
147 _socialRelation.setUserId1(userId1);
148 }
149
150
155 public long getUserId2() {
156 return _socialRelation.getUserId2();
157 }
158
159
164 public void setUserId2(long userId2) {
165 _socialRelation.setUserId2(userId2);
166 }
167
168
173 public int getType() {
174 return _socialRelation.getType();
175 }
176
177
182 public void setType(int type) {
183 _socialRelation.setType(type);
184 }
185
186 public boolean isNew() {
187 return _socialRelation.isNew();
188 }
189
190 public void setNew(boolean n) {
191 _socialRelation.setNew(n);
192 }
193
194 public boolean isCachedModel() {
195 return _socialRelation.isCachedModel();
196 }
197
198 public void setCachedModel(boolean cachedModel) {
199 _socialRelation.setCachedModel(cachedModel);
200 }
201
202 public boolean isEscapedModel() {
203 return _socialRelation.isEscapedModel();
204 }
205
206 public java.io.Serializable getPrimaryKeyObj() {
207 return _socialRelation.getPrimaryKeyObj();
208 }
209
210 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
211 _socialRelation.setPrimaryKeyObj(primaryKeyObj);
212 }
213
214 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
215 return _socialRelation.getExpandoBridge();
216 }
217
218 public void setExpandoBridgeAttributes(
219 com.liferay.portal.service.ServiceContext serviceContext) {
220 _socialRelation.setExpandoBridgeAttributes(serviceContext);
221 }
222
223 @Override
224 public java.lang.Object clone() {
225 return new SocialRelationWrapper((SocialRelation)_socialRelation.clone());
226 }
227
228 public int compareTo(
229 com.liferay.portlet.social.model.SocialRelation socialRelation) {
230 return _socialRelation.compareTo(socialRelation);
231 }
232
233 @Override
234 public int hashCode() {
235 return _socialRelation.hashCode();
236 }
237
238 public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation> toCacheModel() {
239 return _socialRelation.toCacheModel();
240 }
241
242 public com.liferay.portlet.social.model.SocialRelation toEscapedModel() {
243 return new SocialRelationWrapper(_socialRelation.toEscapedModel());
244 }
245
246 @Override
247 public java.lang.String toString() {
248 return _socialRelation.toString();
249 }
250
251 public java.lang.String toXmlString() {
252 return _socialRelation.toXmlString();
253 }
254
255 public void persist()
256 throws com.liferay.portal.kernel.exception.SystemException {
257 _socialRelation.persist();
258 }
259
260
263 public SocialRelation getWrappedSocialRelation() {
264 return _socialRelation;
265 }
266
267 public SocialRelation getWrappedModel() {
268 return _socialRelation;
269 }
270
271 public void resetOriginalValues() {
272 _socialRelation.resetOriginalValues();
273 }
274
275 private SocialRelation _socialRelation;
276 }