1
22
23 package com.liferay.portlet.softwarecatalog.model;
24
25 import java.io.Serializable;
26
27 import java.util.ArrayList;
28 import java.util.Date;
29 import java.util.List;
30
31
48 public class SCProductEntrySoap implements Serializable {
49 public static SCProductEntrySoap toSoapModel(SCProductEntry model) {
50 SCProductEntrySoap soapModel = new SCProductEntrySoap();
51 soapModel.setProductEntryId(model.getProductEntryId());
52 soapModel.setGroupId(model.getGroupId());
53 soapModel.setCompanyId(model.getCompanyId());
54 soapModel.setUserId(model.getUserId());
55 soapModel.setUserName(model.getUserName());
56 soapModel.setCreateDate(model.getCreateDate());
57 soapModel.setModifiedDate(model.getModifiedDate());
58 soapModel.setName(model.getName());
59 soapModel.setType(model.getType());
60 soapModel.setTags(model.getTags());
61 soapModel.setShortDescription(model.getShortDescription());
62 soapModel.setLongDescription(model.getLongDescription());
63 soapModel.setPageURL(model.getPageURL());
64 soapModel.setAuthor(model.getAuthor());
65 soapModel.setRepoGroupId(model.getRepoGroupId());
66 soapModel.setRepoArtifactId(model.getRepoArtifactId());
67
68 return soapModel;
69 }
70
71 public static SCProductEntrySoap[] toSoapModels(List models) {
72 List soapModels = new ArrayList(models.size());
73
74 for (int i = 0; i < models.size(); i++) {
75 SCProductEntry model = (SCProductEntry)models.get(i);
76 soapModels.add(toSoapModel(model));
77 }
78
79 return (SCProductEntrySoap[])soapModels.toArray(new SCProductEntrySoap[0]);
80 }
81
82 public SCProductEntrySoap() {
83 }
84
85 public long getPrimaryKey() {
86 return _productEntryId;
87 }
88
89 public void setPrimaryKey(long pk) {
90 setProductEntryId(pk);
91 }
92
93 public long getProductEntryId() {
94 return _productEntryId;
95 }
96
97 public void setProductEntryId(long productEntryId) {
98 _productEntryId = productEntryId;
99 }
100
101 public long getGroupId() {
102 return _groupId;
103 }
104
105 public void setGroupId(long groupId) {
106 _groupId = groupId;
107 }
108
109 public long getCompanyId() {
110 return _companyId;
111 }
112
113 public void setCompanyId(long companyId) {
114 _companyId = companyId;
115 }
116
117 public long getUserId() {
118 return _userId;
119 }
120
121 public void setUserId(long userId) {
122 _userId = userId;
123 }
124
125 public String getUserName() {
126 return _userName;
127 }
128
129 public void setUserName(String userName) {
130 _userName = userName;
131 }
132
133 public Date getCreateDate() {
134 return _createDate;
135 }
136
137 public void setCreateDate(Date createDate) {
138 _createDate = createDate;
139 }
140
141 public Date getModifiedDate() {
142 return _modifiedDate;
143 }
144
145 public void setModifiedDate(Date modifiedDate) {
146 _modifiedDate = modifiedDate;
147 }
148
149 public String getName() {
150 return _name;
151 }
152
153 public void setName(String name) {
154 _name = name;
155 }
156
157 public String getType() {
158 return _type;
159 }
160
161 public void setType(String type) {
162 _type = type;
163 }
164
165 public String getTags() {
166 return _tags;
167 }
168
169 public void setTags(String tags) {
170 _tags = tags;
171 }
172
173 public String getShortDescription() {
174 return _shortDescription;
175 }
176
177 public void setShortDescription(String shortDescription) {
178 _shortDescription = shortDescription;
179 }
180
181 public String getLongDescription() {
182 return _longDescription;
183 }
184
185 public void setLongDescription(String longDescription) {
186 _longDescription = longDescription;
187 }
188
189 public String getPageURL() {
190 return _pageURL;
191 }
192
193 public void setPageURL(String pageURL) {
194 _pageURL = pageURL;
195 }
196
197 public String getAuthor() {
198 return _author;
199 }
200
201 public void setAuthor(String author) {
202 _author = author;
203 }
204
205 public String getRepoGroupId() {
206 return _repoGroupId;
207 }
208
209 public void setRepoGroupId(String repoGroupId) {
210 _repoGroupId = repoGroupId;
211 }
212
213 public String getRepoArtifactId() {
214 return _repoArtifactId;
215 }
216
217 public void setRepoArtifactId(String repoArtifactId) {
218 _repoArtifactId = repoArtifactId;
219 }
220
221 private long _productEntryId;
222 private long _groupId;
223 private long _companyId;
224 private long _userId;
225 private String _userName;
226 private Date _createDate;
227 private Date _modifiedDate;
228 private String _name;
229 private String _type;
230 private String _tags;
231 private String _shortDescription;
232 private String _longDescription;
233 private String _pageURL;
234 private String _author;
235 private String _repoGroupId;
236 private String _repoArtifactId;
237 }