PageRenderTime 26ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/portlets/so-portlet/docroot/WEB-INF/service/com/liferay/so/model/ProjectsEntryWrapper.java

https://github.com/stevenjiancao/liferay-plugins
Java | 361 lines | 157 code | 51 blank | 153 comment | 0 complexity | dbe2131fceea1ad8bb8f1e88ba01c7d5 MD5 | raw file
  1. /**
  2. * Copyright (c) 2000-2011 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. package com.liferay.so.model;
  15. /**
  16. * <p>
  17. * This class is a wrapper for {@link ProjectsEntry}.
  18. * </p>
  19. *
  20. * @author Brian Wing Shun Chan
  21. * @see ProjectsEntry
  22. * @generated
  23. */
  24. public class ProjectsEntryWrapper implements ProjectsEntry {
  25. public ProjectsEntryWrapper(ProjectsEntry projectsEntry) {
  26. _projectsEntry = projectsEntry;
  27. }
  28. public Class<?> getModelClass() {
  29. return ProjectsEntry.class;
  30. }
  31. public String getModelClassName() {
  32. return ProjectsEntry.class.getName();
  33. }
  34. /**
  35. * Returns the primary key of this projects entry.
  36. *
  37. * @return the primary key of this projects entry
  38. */
  39. public long getPrimaryKey() {
  40. return _projectsEntry.getPrimaryKey();
  41. }
  42. /**
  43. * Sets the primary key of this projects entry.
  44. *
  45. * @param primaryKey the primary key of this projects entry
  46. */
  47. public void setPrimaryKey(long primaryKey) {
  48. _projectsEntry.setPrimaryKey(primaryKey);
  49. }
  50. /**
  51. * Returns the projects entry ID of this projects entry.
  52. *
  53. * @return the projects entry ID of this projects entry
  54. */
  55. public long getProjectsEntryId() {
  56. return _projectsEntry.getProjectsEntryId();
  57. }
  58. /**
  59. * Sets the projects entry ID of this projects entry.
  60. *
  61. * @param projectsEntryId the projects entry ID of this projects entry
  62. */
  63. public void setProjectsEntryId(long projectsEntryId) {
  64. _projectsEntry.setProjectsEntryId(projectsEntryId);
  65. }
  66. /**
  67. * Returns the company ID of this projects entry.
  68. *
  69. * @return the company ID of this projects entry
  70. */
  71. public long getCompanyId() {
  72. return _projectsEntry.getCompanyId();
  73. }
  74. /**
  75. * Sets the company ID of this projects entry.
  76. *
  77. * @param companyId the company ID of this projects entry
  78. */
  79. public void setCompanyId(long companyId) {
  80. _projectsEntry.setCompanyId(companyId);
  81. }
  82. /**
  83. * Returns the user ID of this projects entry.
  84. *
  85. * @return the user ID of this projects entry
  86. */
  87. public long getUserId() {
  88. return _projectsEntry.getUserId();
  89. }
  90. /**
  91. * Sets the user ID of this projects entry.
  92. *
  93. * @param userId the user ID of this projects entry
  94. */
  95. public void setUserId(long userId) {
  96. _projectsEntry.setUserId(userId);
  97. }
  98. /**
  99. * Returns the user uuid of this projects entry.
  100. *
  101. * @return the user uuid of this projects entry
  102. * @throws SystemException if a system exception occurred
  103. */
  104. public java.lang.String getUserUuid()
  105. throws com.liferay.portal.kernel.exception.SystemException {
  106. return _projectsEntry.getUserUuid();
  107. }
  108. /**
  109. * Sets the user uuid of this projects entry.
  110. *
  111. * @param userUuid the user uuid of this projects entry
  112. */
  113. public void setUserUuid(java.lang.String userUuid) {
  114. _projectsEntry.setUserUuid(userUuid);
  115. }
  116. /**
  117. * Returns the user name of this projects entry.
  118. *
  119. * @return the user name of this projects entry
  120. */
  121. public java.lang.String getUserName() {
  122. return _projectsEntry.getUserName();
  123. }
  124. /**
  125. * Sets the user name of this projects entry.
  126. *
  127. * @param userName the user name of this projects entry
  128. */
  129. public void setUserName(java.lang.String userName) {
  130. _projectsEntry.setUserName(userName);
  131. }
  132. /**
  133. * Returns the create date of this projects entry.
  134. *
  135. * @return the create date of this projects entry
  136. */
  137. public java.util.Date getCreateDate() {
  138. return _projectsEntry.getCreateDate();
  139. }
  140. /**
  141. * Sets the create date of this projects entry.
  142. *
  143. * @param createDate the create date of this projects entry
  144. */
  145. public void setCreateDate(java.util.Date createDate) {
  146. _projectsEntry.setCreateDate(createDate);
  147. }
  148. /**
  149. * Returns the modified date of this projects entry.
  150. *
  151. * @return the modified date of this projects entry
  152. */
  153. public java.util.Date getModifiedDate() {
  154. return _projectsEntry.getModifiedDate();
  155. }
  156. /**
  157. * Sets the modified date of this projects entry.
  158. *
  159. * @param modifiedDate the modified date of this projects entry
  160. */
  161. public void setModifiedDate(java.util.Date modifiedDate) {
  162. _projectsEntry.setModifiedDate(modifiedDate);
  163. }
  164. /**
  165. * Returns the title of this projects entry.
  166. *
  167. * @return the title of this projects entry
  168. */
  169. public java.lang.String getTitle() {
  170. return _projectsEntry.getTitle();
  171. }
  172. /**
  173. * Sets the title of this projects entry.
  174. *
  175. * @param title the title of this projects entry
  176. */
  177. public void setTitle(java.lang.String title) {
  178. _projectsEntry.setTitle(title);
  179. }
  180. /**
  181. * Returns the description of this projects entry.
  182. *
  183. * @return the description of this projects entry
  184. */
  185. public java.lang.String getDescription() {
  186. return _projectsEntry.getDescription();
  187. }
  188. /**
  189. * Sets the description of this projects entry.
  190. *
  191. * @param description the description of this projects entry
  192. */
  193. public void setDescription(java.lang.String description) {
  194. _projectsEntry.setDescription(description);
  195. }
  196. /**
  197. * Returns the start date of this projects entry.
  198. *
  199. * @return the start date of this projects entry
  200. */
  201. public java.util.Date getStartDate() {
  202. return _projectsEntry.getStartDate();
  203. }
  204. /**
  205. * Sets the start date of this projects entry.
  206. *
  207. * @param startDate the start date of this projects entry
  208. */
  209. public void setStartDate(java.util.Date startDate) {
  210. _projectsEntry.setStartDate(startDate);
  211. }
  212. /**
  213. * Returns the end date of this projects entry.
  214. *
  215. * @return the end date of this projects entry
  216. */
  217. public java.util.Date getEndDate() {
  218. return _projectsEntry.getEndDate();
  219. }
  220. /**
  221. * Sets the end date of this projects entry.
  222. *
  223. * @param endDate the end date of this projects entry
  224. */
  225. public void setEndDate(java.util.Date endDate) {
  226. _projectsEntry.setEndDate(endDate);
  227. }
  228. /**
  229. * Returns the data of this projects entry.
  230. *
  231. * @return the data of this projects entry
  232. */
  233. public java.lang.String getData() {
  234. return _projectsEntry.getData();
  235. }
  236. /**
  237. * Sets the data of this projects entry.
  238. *
  239. * @param data the data of this projects entry
  240. */
  241. public void setData(java.lang.String data) {
  242. _projectsEntry.setData(data);
  243. }
  244. public boolean isNew() {
  245. return _projectsEntry.isNew();
  246. }
  247. public void setNew(boolean n) {
  248. _projectsEntry.setNew(n);
  249. }
  250. public boolean isCachedModel() {
  251. return _projectsEntry.isCachedModel();
  252. }
  253. public void setCachedModel(boolean cachedModel) {
  254. _projectsEntry.setCachedModel(cachedModel);
  255. }
  256. public boolean isEscapedModel() {
  257. return _projectsEntry.isEscapedModel();
  258. }
  259. public void setEscapedModel(boolean escapedModel) {
  260. _projectsEntry.setEscapedModel(escapedModel);
  261. }
  262. public java.io.Serializable getPrimaryKeyObj() {
  263. return _projectsEntry.getPrimaryKeyObj();
  264. }
  265. public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
  266. _projectsEntry.setPrimaryKeyObj(primaryKeyObj);
  267. }
  268. public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
  269. return _projectsEntry.getExpandoBridge();
  270. }
  271. public void setExpandoBridgeAttributes(
  272. com.liferay.portal.service.ServiceContext serviceContext) {
  273. _projectsEntry.setExpandoBridgeAttributes(serviceContext);
  274. }
  275. @Override
  276. public java.lang.Object clone() {
  277. return new ProjectsEntryWrapper((ProjectsEntry)_projectsEntry.clone());
  278. }
  279. public int compareTo(com.liferay.so.model.ProjectsEntry projectsEntry) {
  280. return _projectsEntry.compareTo(projectsEntry);
  281. }
  282. @Override
  283. public int hashCode() {
  284. return _projectsEntry.hashCode();
  285. }
  286. public com.liferay.portal.model.CacheModel<com.liferay.so.model.ProjectsEntry> toCacheModel() {
  287. return _projectsEntry.toCacheModel();
  288. }
  289. public com.liferay.so.model.ProjectsEntry toEscapedModel() {
  290. return new ProjectsEntryWrapper(_projectsEntry.toEscapedModel());
  291. }
  292. @Override
  293. public java.lang.String toString() {
  294. return _projectsEntry.toString();
  295. }
  296. public java.lang.String toXmlString() {
  297. return _projectsEntry.toXmlString();
  298. }
  299. public void persist()
  300. throws com.liferay.portal.kernel.exception.SystemException {
  301. _projectsEntry.persist();
  302. }
  303. public ProjectsEntry getWrappedProjectsEntry() {
  304. return _projectsEntry;
  305. }
  306. public void resetOriginalValues() {
  307. _projectsEntry.resetOriginalValues();
  308. }
  309. private ProjectsEntry _projectsEntry;
  310. }