1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.model;
16  
17  import java.io.Serializable;
18  
19  /**
20   * <a href="CompanyModel.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * <p>
28   * This interface is a model that represents the Company table in the
29   * database.
30   * </p>
31   *
32   * @author    Brian Wing Shun Chan
33   * @see       Company
34   * @see       com.liferay.portal.model.impl.CompanyImpl
35   * @see       com.liferay.portal.model.impl.CompanyModelImpl
36   * @generated
37   */
38  public interface CompanyModel extends BaseModel<Company> {
39      public long getPrimaryKey();
40  
41      public void setPrimaryKey(long pk);
42  
43      public long getCompanyId();
44  
45      public void setCompanyId(long companyId);
46  
47      public long getAccountId();
48  
49      public void setAccountId(long accountId);
50  
51      public String getWebId();
52  
53      public void setWebId(String webId);
54  
55      public String getKey();
56  
57      public void setKey(String key);
58  
59      public String getVirtualHost();
60  
61      public void setVirtualHost(String virtualHost);
62  
63      public String getMx();
64  
65      public void setMx(String mx);
66  
67      public long getLogoId();
68  
69      public void setLogoId(long logoId);
70  
71      public boolean getSystem();
72  
73      public boolean isSystem();
74  
75      public void setSystem(boolean system);
76  
77      public Company toEscapedModel();
78  
79      public boolean isNew();
80  
81      public boolean setNew(boolean n);
82  
83      public boolean isCachedModel();
84  
85      public void setCachedModel(boolean cachedModel);
86  
87      public boolean isEscapedModel();
88  
89      public void setEscapedModel(boolean escapedModel);
90  
91      public Serializable getPrimaryKeyObj();
92  
93      public Object clone();
94  
95      public int compareTo(Company company);
96  
97      public int hashCode();
98  
99      public String toString();
100 
101     public String toXmlString();
102 }