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