1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  import com.liferay.portal.kernel.exception.SystemException;
18  import com.liferay.portal.service.ServiceContext;
19  
20  import com.liferay.portlet.expando.model.ExpandoBridge;
21  
22  import java.io.Serializable;
23  
24  import java.util.Date;
25  
26  /**
27   * <a href="AddressModel.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface is a model that represents the Address table in the
36   * database.
37   * </p>
38   *
39   * @author    Brian Wing Shun Chan
40   * @see       Address
41   * @see       com.liferay.portal.model.impl.AddressImpl
42   * @see       com.liferay.portal.model.impl.AddressModelImpl
43   * @generated
44   */
45  public interface AddressModel extends BaseModel<Address> {
46      public long getPrimaryKey();
47  
48      public void setPrimaryKey(long pk);
49  
50      public long getAddressId();
51  
52      public void setAddressId(long addressId);
53  
54      public long getCompanyId();
55  
56      public void setCompanyId(long companyId);
57  
58      public long getUserId();
59  
60      public void setUserId(long userId);
61  
62      public String getUserUuid() throws SystemException;
63  
64      public void setUserUuid(String userUuid);
65  
66      public String getUserName();
67  
68      public void setUserName(String userName);
69  
70      public Date getCreateDate();
71  
72      public void setCreateDate(Date createDate);
73  
74      public Date getModifiedDate();
75  
76      public void setModifiedDate(Date modifiedDate);
77  
78      public String getClassName();
79  
80      public long getClassNameId();
81  
82      public void setClassNameId(long classNameId);
83  
84      public long getClassPK();
85  
86      public void setClassPK(long classPK);
87  
88      public String getStreet1();
89  
90      public void setStreet1(String street1);
91  
92      public String getStreet2();
93  
94      public void setStreet2(String street2);
95  
96      public String getStreet3();
97  
98      public void setStreet3(String street3);
99  
100     public String getCity();
101 
102     public void setCity(String city);
103 
104     public String getZip();
105 
106     public void setZip(String zip);
107 
108     public long getRegionId();
109 
110     public void setRegionId(long regionId);
111 
112     public long getCountryId();
113 
114     public void setCountryId(long countryId);
115 
116     public int getTypeId();
117 
118     public void setTypeId(int typeId);
119 
120     public boolean getMailing();
121 
122     public boolean isMailing();
123 
124     public void setMailing(boolean mailing);
125 
126     public boolean getPrimary();
127 
128     public boolean isPrimary();
129 
130     public void setPrimary(boolean primary);
131 
132     public Address toEscapedModel();
133 
134     public boolean isNew();
135 
136     public boolean setNew(boolean n);
137 
138     public boolean isCachedModel();
139 
140     public void setCachedModel(boolean cachedModel);
141 
142     public boolean isEscapedModel();
143 
144     public void setEscapedModel(boolean escapedModel);
145 
146     public Serializable getPrimaryKeyObj();
147 
148     public ExpandoBridge getExpandoBridge();
149 
150     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
151 
152     public Object clone();
153 
154     public int compareTo(Address address);
155 
156     public int hashCode();
157 
158     public String toString();
159 
160     public String toXmlString();
161 }