001    /**
002     * Copyright (c) 2000-2010 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    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * <p>
029     * This interface is a model that represents the Account_ table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       Account
035     * @see       com.liferay.portal.model.impl.AccountImpl
036     * @see       com.liferay.portal.model.impl.AccountModelImpl
037     * @generated
038     */
039    public interface AccountModel extends BaseModel<Account> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getAccountId();
045    
046            public void setAccountId(long accountId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public long getUserId();
053    
054            public void setUserId(long userId);
055    
056            public String getUserUuid() throws SystemException;
057    
058            public void setUserUuid(String userUuid);
059    
060            @AutoEscape
061            public String getUserName();
062    
063            public void setUserName(String userName);
064    
065            public Date getCreateDate();
066    
067            public void setCreateDate(Date createDate);
068    
069            public Date getModifiedDate();
070    
071            public void setModifiedDate(Date modifiedDate);
072    
073            public long getParentAccountId();
074    
075            public void setParentAccountId(long parentAccountId);
076    
077            @AutoEscape
078            public String getName();
079    
080            public void setName(String name);
081    
082            @AutoEscape
083            public String getLegalName();
084    
085            public void setLegalName(String legalName);
086    
087            @AutoEscape
088            public String getLegalId();
089    
090            public void setLegalId(String legalId);
091    
092            @AutoEscape
093            public String getLegalType();
094    
095            public void setLegalType(String legalType);
096    
097            @AutoEscape
098            public String getSicCode();
099    
100            public void setSicCode(String sicCode);
101    
102            @AutoEscape
103            public String getTickerSymbol();
104    
105            public void setTickerSymbol(String tickerSymbol);
106    
107            @AutoEscape
108            public String getIndustry();
109    
110            public void setIndustry(String industry);
111    
112            @AutoEscape
113            public String getType();
114    
115            public void setType(String type);
116    
117            @AutoEscape
118            public String getSize();
119    
120            public void setSize(String size);
121    
122            public Account toEscapedModel();
123    
124            public boolean isNew();
125    
126            public void setNew(boolean n);
127    
128            public boolean isCachedModel();
129    
130            public void setCachedModel(boolean cachedModel);
131    
132            public boolean isEscapedModel();
133    
134            public void setEscapedModel(boolean escapedModel);
135    
136            public Serializable getPrimaryKeyObj();
137    
138            public ExpandoBridge getExpandoBridge();
139    
140            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
141    
142            public Object clone();
143    
144            public int compareTo(Account account);
145    
146            public int hashCode();
147    
148            public String toString();
149    
150            public String toXmlString();
151    }