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 com.liferay.portal.SystemException;
18  
19  import java.io.Serializable;
20  
21  import java.util.Date;
22  
23  /**
24   * <a href="AddressModel.java.html"><b><i>View Source</i></b></a>
25   *
26   * <p>
27   * ServiceBuilder generated this class. Modifications in this class will be
28   * overwritten the next time is generated.
29   * </p>
30   *
31   * <p>
32   * This interface is a model that represents the Address table in the
33   * database.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       Address
38   * @see       com.liferay.portal.model.impl.AddressImpl
39   * @see       com.liferay.portal.model.impl.AddressModelImpl
40   * @generated
41   */
42  public interface AddressModel extends BaseModel<Address> {
43      public long getPrimaryKey();
44  
45      public void setPrimaryKey(long pk);
46  
47      public long getAddressId();
48  
49      public void setAddressId(long addressId);
50  
51      public long getCompanyId();
52  
53      public void setCompanyId(long companyId);
54  
55      public long getUserId();
56  
57      public void setUserId(long userId);
58  
59      public String getUserUuid() throws SystemException;
60  
61      public void setUserUuid(String userUuid);
62  
63      public String getUserName();
64  
65      public void setUserName(String userName);
66  
67      public Date getCreateDate();
68  
69      public void setCreateDate(Date createDate);
70  
71      public Date getModifiedDate();
72  
73      public void setModifiedDate(Date modifiedDate);
74  
75      public String getClassName();
76  
77      public long getClassNameId();
78  
79      public void setClassNameId(long classNameId);
80  
81      public long getClassPK();
82  
83      public void setClassPK(long classPK);
84  
85      public String getStreet1();
86  
87      public void setStreet1(String street1);
88  
89      public String getStreet2();
90  
91      public void setStreet2(String street2);
92  
93      public String getStreet3();
94  
95      public void setStreet3(String street3);
96  
97      public String getCity();
98  
99      public void setCity(String city);
100 
101     public String getZip();
102 
103     public void setZip(String zip);
104 
105     public long getRegionId();
106 
107     public void setRegionId(long regionId);
108 
109     public long getCountryId();
110 
111     public void setCountryId(long countryId);
112 
113     public int getTypeId();
114 
115     public void setTypeId(int typeId);
116 
117     public boolean getMailing();
118 
119     public boolean isMailing();
120 
121     public void setMailing(boolean mailing);
122 
123     public boolean getPrimary();
124 
125     public boolean isPrimary();
126 
127     public void setPrimary(boolean primary);
128 
129     public Address toEscapedModel();
130 
131     public boolean isNew();
132 
133     public boolean setNew(boolean n);
134 
135     public boolean isCachedModel();
136 
137     public void setCachedModel(boolean cachedModel);
138 
139     public boolean isEscapedModel();
140 
141     public void setEscapedModel(boolean escapedModel);
142 
143     public Serializable getPrimaryKeyObj();
144 
145     public Object clone();
146 
147     public int compareTo(Address address);
148 
149     public int hashCode();
150 
151     public String toString();
152 
153     public String toXmlString();
154 }