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 Address table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       Address
035     * @see       com.liferay.portal.model.impl.AddressImpl
036     * @see       com.liferay.portal.model.impl.AddressModelImpl
037     * @generated
038     */
039    public interface AddressModel extends BaseModel<Address> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getAddressId();
045    
046            public void setAddressId(long addressId);
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 String getClassName();
074    
075            public long getClassNameId();
076    
077            public void setClassNameId(long classNameId);
078    
079            public long getClassPK();
080    
081            public void setClassPK(long classPK);
082    
083            @AutoEscape
084            public String getStreet1();
085    
086            public void setStreet1(String street1);
087    
088            @AutoEscape
089            public String getStreet2();
090    
091            public void setStreet2(String street2);
092    
093            @AutoEscape
094            public String getStreet3();
095    
096            public void setStreet3(String street3);
097    
098            @AutoEscape
099            public String getCity();
100    
101            public void setCity(String city);
102    
103            @AutoEscape
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 void 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    }