001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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, ModelWrapper<Account> {
027            public AccountWrapper(Account account) {
028                    _account = account;
029            }
030    
031            public Class<?> getModelClass() {
032                    return Account.class;
033            }
034    
035            public String getModelClassName() {
036                    return Account.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this account.
041            *
042            * @return the primary key of this account
043            */
044            public long getPrimaryKey() {
045                    return _account.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this account.
050            *
051            * @param primaryKey the primary key of this account
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _account.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the account ID of this account.
059            *
060            * @return the account ID of this account
061            */
062            public long getAccountId() {
063                    return _account.getAccountId();
064            }
065    
066            /**
067            * Sets the account ID of this account.
068            *
069            * @param accountId the account ID of this account
070            */
071            public void setAccountId(long accountId) {
072                    _account.setAccountId(accountId);
073            }
074    
075            /**
076            * Returns the company ID of this account.
077            *
078            * @return the company ID of this account
079            */
080            public long getCompanyId() {
081                    return _account.getCompanyId();
082            }
083    
084            /**
085            * Sets the company ID of this account.
086            *
087            * @param companyId the company ID of this account
088            */
089            public void setCompanyId(long companyId) {
090                    _account.setCompanyId(companyId);
091            }
092    
093            /**
094            * Returns the user ID of this account.
095            *
096            * @return the user ID of this account
097            */
098            public long getUserId() {
099                    return _account.getUserId();
100            }
101    
102            /**
103            * Sets the user ID of this account.
104            *
105            * @param userId the user ID of this account
106            */
107            public void setUserId(long userId) {
108                    _account.setUserId(userId);
109            }
110    
111            /**
112            * Returns the user uuid of this account.
113            *
114            * @return the user uuid of this account
115            * @throws SystemException if a system exception occurred
116            */
117            public java.lang.String getUserUuid()
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _account.getUserUuid();
120            }
121    
122            /**
123            * Sets the user uuid of this account.
124            *
125            * @param userUuid the user uuid of this account
126            */
127            public void setUserUuid(java.lang.String userUuid) {
128                    _account.setUserUuid(userUuid);
129            }
130    
131            /**
132            * Returns the user name of this account.
133            *
134            * @return the user name of this account
135            */
136            public java.lang.String getUserName() {
137                    return _account.getUserName();
138            }
139    
140            /**
141            * Sets the user name of this account.
142            *
143            * @param userName the user name of this account
144            */
145            public void setUserName(java.lang.String userName) {
146                    _account.setUserName(userName);
147            }
148    
149            /**
150            * Returns the create date of this account.
151            *
152            * @return the create date of this account
153            */
154            public java.util.Date getCreateDate() {
155                    return _account.getCreateDate();
156            }
157    
158            /**
159            * Sets the create date of this account.
160            *
161            * @param createDate the create date of this account
162            */
163            public void setCreateDate(java.util.Date createDate) {
164                    _account.setCreateDate(createDate);
165            }
166    
167            /**
168            * Returns the modified date of this account.
169            *
170            * @return the modified date of this account
171            */
172            public java.util.Date getModifiedDate() {
173                    return _account.getModifiedDate();
174            }
175    
176            /**
177            * Sets the modified date of this account.
178            *
179            * @param modifiedDate the modified date of this account
180            */
181            public void setModifiedDate(java.util.Date modifiedDate) {
182                    _account.setModifiedDate(modifiedDate);
183            }
184    
185            /**
186            * Returns the parent account ID of this account.
187            *
188            * @return the parent account ID of this account
189            */
190            public long getParentAccountId() {
191                    return _account.getParentAccountId();
192            }
193    
194            /**
195            * Sets the parent account ID of this account.
196            *
197            * @param parentAccountId the parent account ID of this account
198            */
199            public void setParentAccountId(long parentAccountId) {
200                    _account.setParentAccountId(parentAccountId);
201            }
202    
203            /**
204            * Returns the name of this account.
205            *
206            * @return the name of this account
207            */
208            public java.lang.String getName() {
209                    return _account.getName();
210            }
211    
212            /**
213            * Sets the name of this account.
214            *
215            * @param name the name of this account
216            */
217            public void setName(java.lang.String name) {
218                    _account.setName(name);
219            }
220    
221            /**
222            * Returns the legal name of this account.
223            *
224            * @return the legal name of this account
225            */
226            public java.lang.String getLegalName() {
227                    return _account.getLegalName();
228            }
229    
230            /**
231            * Sets the legal name of this account.
232            *
233            * @param legalName the legal name of this account
234            */
235            public void setLegalName(java.lang.String legalName) {
236                    _account.setLegalName(legalName);
237            }
238    
239            /**
240            * Returns the legal ID of this account.
241            *
242            * @return the legal ID of this account
243            */
244            public java.lang.String getLegalId() {
245                    return _account.getLegalId();
246            }
247    
248            /**
249            * Sets the legal ID of this account.
250            *
251            * @param legalId the legal ID of this account
252            */
253            public void setLegalId(java.lang.String legalId) {
254                    _account.setLegalId(legalId);
255            }
256    
257            /**
258            * Returns the legal type of this account.
259            *
260            * @return the legal type of this account
261            */
262            public java.lang.String getLegalType() {
263                    return _account.getLegalType();
264            }
265    
266            /**
267            * Sets the legal type of this account.
268            *
269            * @param legalType the legal type of this account
270            */
271            public void setLegalType(java.lang.String legalType) {
272                    _account.setLegalType(legalType);
273            }
274    
275            /**
276            * Returns the sic code of this account.
277            *
278            * @return the sic code of this account
279            */
280            public java.lang.String getSicCode() {
281                    return _account.getSicCode();
282            }
283    
284            /**
285            * Sets the sic code of this account.
286            *
287            * @param sicCode the sic code of this account
288            */
289            public void setSicCode(java.lang.String sicCode) {
290                    _account.setSicCode(sicCode);
291            }
292    
293            /**
294            * Returns the ticker symbol of this account.
295            *
296            * @return the ticker symbol of this account
297            */
298            public java.lang.String getTickerSymbol() {
299                    return _account.getTickerSymbol();
300            }
301    
302            /**
303            * Sets the ticker symbol of this account.
304            *
305            * @param tickerSymbol the ticker symbol of this account
306            */
307            public void setTickerSymbol(java.lang.String tickerSymbol) {
308                    _account.setTickerSymbol(tickerSymbol);
309            }
310    
311            /**
312            * Returns the industry of this account.
313            *
314            * @return the industry of this account
315            */
316            public java.lang.String getIndustry() {
317                    return _account.getIndustry();
318            }
319    
320            /**
321            * Sets the industry of this account.
322            *
323            * @param industry the industry of this account
324            */
325            public void setIndustry(java.lang.String industry) {
326                    _account.setIndustry(industry);
327            }
328    
329            /**
330            * Returns the type of this account.
331            *
332            * @return the type of this account
333            */
334            public java.lang.String getType() {
335                    return _account.getType();
336            }
337    
338            /**
339            * Sets the type of this account.
340            *
341            * @param type the type of this account
342            */
343            public void setType(java.lang.String type) {
344                    _account.setType(type);
345            }
346    
347            /**
348            * Returns the size of this account.
349            *
350            * @return the size of this account
351            */
352            public java.lang.String getSize() {
353                    return _account.getSize();
354            }
355    
356            /**
357            * Sets the size of this account.
358            *
359            * @param size the size of this account
360            */
361            public void setSize(java.lang.String size) {
362                    _account.setSize(size);
363            }
364    
365            public boolean isNew() {
366                    return _account.isNew();
367            }
368    
369            public void setNew(boolean n) {
370                    _account.setNew(n);
371            }
372    
373            public boolean isCachedModel() {
374                    return _account.isCachedModel();
375            }
376    
377            public void setCachedModel(boolean cachedModel) {
378                    _account.setCachedModel(cachedModel);
379            }
380    
381            public boolean isEscapedModel() {
382                    return _account.isEscapedModel();
383            }
384    
385            public java.io.Serializable getPrimaryKeyObj() {
386                    return _account.getPrimaryKeyObj();
387            }
388    
389            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
390                    _account.setPrimaryKeyObj(primaryKeyObj);
391            }
392    
393            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
394                    return _account.getExpandoBridge();
395            }
396    
397            public void setExpandoBridgeAttributes(
398                    com.liferay.portal.service.ServiceContext serviceContext) {
399                    _account.setExpandoBridgeAttributes(serviceContext);
400            }
401    
402            @Override
403            public java.lang.Object clone() {
404                    return new AccountWrapper((Account)_account.clone());
405            }
406    
407            public int compareTo(com.liferay.portal.model.Account account) {
408                    return _account.compareTo(account);
409            }
410    
411            @Override
412            public int hashCode() {
413                    return _account.hashCode();
414            }
415    
416            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Account> toCacheModel() {
417                    return _account.toCacheModel();
418            }
419    
420            public com.liferay.portal.model.Account toEscapedModel() {
421                    return new AccountWrapper(_account.toEscapedModel());
422            }
423    
424            @Override
425            public java.lang.String toString() {
426                    return _account.toString();
427            }
428    
429            public java.lang.String toXmlString() {
430                    return _account.toXmlString();
431            }
432    
433            public void persist()
434                    throws com.liferay.portal.kernel.exception.SystemException {
435                    _account.persist();
436            }
437    
438            /**
439             * @deprecated Renamed to {@link #getWrappedModel}
440             */
441            public Account getWrappedAccount() {
442                    return _account;
443            }
444    
445            public Account getWrappedModel() {
446                    return _account;
447            }
448    
449            public void resetOriginalValues() {
450                    _account.resetOriginalValues();
451            }
452    
453            private Account _account;
454    }