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.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * <p>
026     * This interface is a model that represents the Country table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       Country
032     * @see       com.liferay.portal.model.impl.CountryImpl
033     * @see       com.liferay.portal.model.impl.CountryModelImpl
034     * @generated
035     */
036    public interface CountryModel extends BaseModel<Country> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            public long getCountryId();
042    
043            public void setCountryId(long countryId);
044    
045            @AutoEscape
046            public String getName();
047    
048            public void setName(String name);
049    
050            @AutoEscape
051            public String getA2();
052    
053            public void setA2(String a2);
054    
055            @AutoEscape
056            public String getA3();
057    
058            public void setA3(String a3);
059    
060            @AutoEscape
061            public String getNumber();
062    
063            public void setNumber(String number);
064    
065            @AutoEscape
066            public String getIdd();
067    
068            public void setIdd(String idd);
069    
070            public boolean getActive();
071    
072            public boolean isActive();
073    
074            public void setActive(boolean active);
075    
076            public Country toEscapedModel();
077    
078            public boolean isNew();
079    
080            public void setNew(boolean n);
081    
082            public boolean isCachedModel();
083    
084            public void setCachedModel(boolean cachedModel);
085    
086            public boolean isEscapedModel();
087    
088            public void setEscapedModel(boolean escapedModel);
089    
090            public Serializable getPrimaryKeyObj();
091    
092            public ExpandoBridge getExpandoBridge();
093    
094            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
095    
096            public Object clone();
097    
098            public int compareTo(Country country);
099    
100            public int hashCode();
101    
102            public String toString();
103    
104            public String toXmlString();
105    }