001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Account}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Account
024     * @generated
025     */
026    public class AccountWrapper implements Account {
027            public AccountWrapper(Account account) {
028                    _account = account;
029            }
030    
031            /**
032            * Gets the primary key of this account.
033            *
034            * @return the primary key of this account
035            */
036            public long getPrimaryKey() {
037                    return _account.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this account
042            *
043            * @param pk the primary key of this account
044            */
045            public void setPrimaryKey(long pk) {
046                    _account.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the account id of this account.
051            *
052            * @return the account id of this account
053            */
054            public long getAccountId() {
055                    return _account.getAccountId();
056            }
057    
058            /**
059            * Sets the account id of this account.
060            *
061            * @param accountId the account id of this account
062            */
063            public void setAccountId(long accountId) {
064                    _account.setAccountId(accountId);
065            }
066    
067            /**
068            * Gets the company id of this account.
069            *
070            * @return the company id of this account
071            */
072            public long getCompanyId() {
073                    return _account.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this account.
078            *
079            * @param companyId the company id of this account
080            */
081            public void setCompanyId(long companyId) {
082                    _account.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this account.
087            *
088            * @return the user id of this account
089            */
090            public long getUserId() {
091                    return _account.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this account.
096            *
097            * @param userId the user id of this account
098            */
099            public void setUserId(long userId) {
100                    _account.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this account.
105            *
106            * @return the user uuid of this account
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _account.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this account.
116            *
117            * @param userUuid the user uuid of this account
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _account.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this account.
125            *
126            * @return the user name of this account
127            */
128            public java.lang.String getUserName() {
129                    return _account.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this account.
134            *
135            * @param userName the user name of this account
136            */
137            public void setUserName(java.lang.String userName) {
138                    _account.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this account.
143            *
144            * @return the create date of this account
145            */
146            public java.util.Date getCreateDate() {
147                    return _account.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this account.
152            *
153            * @param createDate the create date of this account
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _account.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this account.
161            *
162            * @return the modified date of this account
163            */
164            public java.util.Date getModifiedDate() {
165                    return _account.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this account.
170            *
171            * @param modifiedDate the modified date of this account
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _account.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the parent account id of this account.
179            *
180            * @return the parent account id of this account
181            */
182            public long getParentAccountId() {
183                    return _account.getParentAccountId();
184            }
185    
186            /**
187            * Sets the parent account id of this account.
188            *
189            * @param parentAccountId the parent account id of this account
190            */
191            public void setParentAccountId(long parentAccountId) {
192                    _account.setParentAccountId(parentAccountId);
193            }
194    
195            /**
196            * Gets the name of this account.
197            *
198            * @return the name of this account
199            */
200            public java.lang.String getName() {
201                    return _account.getName();
202            }
203    
204            /**
205            * Sets the name of this account.
206            *
207            * @param name the name of this account
208            */
209            public void setName(java.lang.String name) {
210                    _account.setName(name);
211            }
212    
213            /**
214            * Gets the legal name of this account.
215            *
216            * @return the legal name of this account
217            */
218            public java.lang.String getLegalName() {
219                    return _account.getLegalName();
220            }
221    
222            /**
223            * Sets the legal name of this account.
224            *
225            * @param legalName the legal name of this account
226            */
227            public void setLegalName(java.lang.String legalName) {
228                    _account.setLegalName(legalName);
229            }
230    
231            /**
232            * Gets the legal id of this account.
233            *
234            * @return the legal id of this account
235            */
236            public java.lang.String getLegalId() {
237                    return _account.getLegalId();
238            }
239    
240            /**
241            * Sets the legal id of this account.
242            *
243            * @param legalId the legal id of this account
244            */
245            public void setLegalId(java.lang.String legalId) {
246                    _account.setLegalId(legalId);
247            }
248    
249            /**
250            * Gets the legal type of this account.
251            *
252            * @return the legal type of this account
253            */
254            public java.lang.String getLegalType() {
255                    return _account.getLegalType();
256            }
257    
258            /**
259            * Sets the legal type of this account.
260            *
261            * @param legalType the legal type of this account
262            */
263            public void setLegalType(java.lang.String legalType) {
264                    _account.setLegalType(legalType);
265            }
266    
267            /**
268            * Gets the sic code of this account.
269            *
270            * @return the sic code of this account
271            */
272            public java.lang.String getSicCode() {
273                    return _account.getSicCode();
274            }
275    
276            /**
277            * Sets the sic code of this account.
278            *
279            * @param sicCode the sic code of this account
280            */
281            public void setSicCode(java.lang.String sicCode) {
282                    _account.setSicCode(sicCode);
283            }
284    
285            /**
286            * Gets the ticker symbol of this account.
287            *
288            * @return the ticker symbol of this account
289            */
290            public java.lang.String getTickerSymbol() {
291                    return _account.getTickerSymbol();
292            }
293    
294            /**
295            * Sets the ticker symbol of this account.
296            *
297            * @param tickerSymbol the ticker symbol of this account
298            */
299            public void setTickerSymbol(java.lang.String tickerSymbol) {
300                    _account.setTickerSymbol(tickerSymbol);
301            }
302    
303            /**
304            * Gets the industry of this account.
305            *
306            * @return the industry of this account
307            */
308            public java.lang.String getIndustry() {
309                    return _account.getIndustry();
310            }
311    
312            /**
313            * Sets the industry of this account.
314            *
315            * @param industry the industry of this account
316            */
317            public void setIndustry(java.lang.String industry) {
318                    _account.setIndustry(industry);
319            }
320    
321            /**
322            * Gets the type of this account.
323            *
324            * @return the type of this account
325            */
326            public java.lang.String getType() {
327                    return _account.getType();
328            }
329    
330            /**
331            * Sets the type of this account.
332            *
333            * @param type the type of this account
334            */
335            public void setType(java.lang.String type) {
336                    _account.setType(type);
337            }
338    
339            /**
340            * Gets the size of this account.
341            *
342            * @return the size of this account
343            */
344            public java.lang.String getSize() {
345                    return _account.getSize();
346            }
347    
348            /**
349            * Sets the size of this account.
350            *
351            * @param size the size of this account
352            */
353            public void setSize(java.lang.String size) {
354                    _account.setSize(size);
355            }
356    
357            public boolean isNew() {
358                    return _account.isNew();
359            }
360    
361            public void setNew(boolean n) {
362                    _account.setNew(n);
363            }
364    
365            public boolean isCachedModel() {
366                    return _account.isCachedModel();
367            }
368    
369            public void setCachedModel(boolean cachedModel) {
370                    _account.setCachedModel(cachedModel);
371            }
372    
373            public boolean isEscapedModel() {
374                    return _account.isEscapedModel();
375            }
376    
377            public void setEscapedModel(boolean escapedModel) {
378                    _account.setEscapedModel(escapedModel);
379            }
380    
381            public java.io.Serializable getPrimaryKeyObj() {
382                    return _account.getPrimaryKeyObj();
383            }
384    
385            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
386                    return _account.getExpandoBridge();
387            }
388    
389            public void setExpandoBridgeAttributes(
390                    com.liferay.portal.service.ServiceContext serviceContext) {
391                    _account.setExpandoBridgeAttributes(serviceContext);
392            }
393    
394            public java.lang.Object clone() {
395                    return _account.clone();
396            }
397    
398            public int compareTo(com.liferay.portal.model.Account account) {
399                    return _account.compareTo(account);
400            }
401    
402            public int hashCode() {
403                    return _account.hashCode();
404            }
405    
406            public com.liferay.portal.model.Account toEscapedModel() {
407                    return _account.toEscapedModel();
408            }
409    
410            public java.lang.String toString() {
411                    return _account.toString();
412            }
413    
414            public java.lang.String toXmlString() {
415                    return _account.toXmlString();
416            }
417    
418            public Account getWrappedAccount() {
419                    return _account;
420            }
421    
422            private Account _account;
423    }