001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link Country}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Country
024     * @generated
025     */
026    public class CountryWrapper implements Country {
027            public CountryWrapper(Country country) {
028                    _country = country;
029            }
030    
031            public long getPrimaryKey() {
032                    return _country.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _country.setPrimaryKey(pk);
037            }
038    
039            public long getCountryId() {
040                    return _country.getCountryId();
041            }
042    
043            public void setCountryId(long countryId) {
044                    _country.setCountryId(countryId);
045            }
046    
047            public java.lang.String getName() {
048                    return _country.getName();
049            }
050    
051            public void setName(java.lang.String name) {
052                    _country.setName(name);
053            }
054    
055            public java.lang.String getA2() {
056                    return _country.getA2();
057            }
058    
059            public void setA2(java.lang.String a2) {
060                    _country.setA2(a2);
061            }
062    
063            public java.lang.String getA3() {
064                    return _country.getA3();
065            }
066    
067            public void setA3(java.lang.String a3) {
068                    _country.setA3(a3);
069            }
070    
071            public java.lang.String getNumber() {
072                    return _country.getNumber();
073            }
074    
075            public void setNumber(java.lang.String number) {
076                    _country.setNumber(number);
077            }
078    
079            public java.lang.String getIdd() {
080                    return _country.getIdd();
081            }
082    
083            public void setIdd(java.lang.String idd) {
084                    _country.setIdd(idd);
085            }
086    
087            public boolean getActive() {
088                    return _country.getActive();
089            }
090    
091            public boolean isActive() {
092                    return _country.isActive();
093            }
094    
095            public void setActive(boolean active) {
096                    _country.setActive(active);
097            }
098    
099            public com.liferay.portal.model.Country toEscapedModel() {
100                    return _country.toEscapedModel();
101            }
102    
103            public boolean isNew() {
104                    return _country.isNew();
105            }
106    
107            public void setNew(boolean n) {
108                    _country.setNew(n);
109            }
110    
111            public boolean isCachedModel() {
112                    return _country.isCachedModel();
113            }
114    
115            public void setCachedModel(boolean cachedModel) {
116                    _country.setCachedModel(cachedModel);
117            }
118    
119            public boolean isEscapedModel() {
120                    return _country.isEscapedModel();
121            }
122    
123            public void setEscapedModel(boolean escapedModel) {
124                    _country.setEscapedModel(escapedModel);
125            }
126    
127            public java.io.Serializable getPrimaryKeyObj() {
128                    return _country.getPrimaryKeyObj();
129            }
130    
131            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
132                    return _country.getExpandoBridge();
133            }
134    
135            public void setExpandoBridgeAttributes(
136                    com.liferay.portal.service.ServiceContext serviceContext) {
137                    _country.setExpandoBridgeAttributes(serviceContext);
138            }
139    
140            public java.lang.Object clone() {
141                    return _country.clone();
142            }
143    
144            public int compareTo(com.liferay.portal.model.Country country) {
145                    return _country.compareTo(country);
146            }
147    
148            public int hashCode() {
149                    return _country.hashCode();
150            }
151    
152            public java.lang.String toString() {
153                    return _country.toString();
154            }
155    
156            public java.lang.String toXmlString() {
157                    return _country.toXmlString();
158            }
159    
160            public Country getWrappedCountry() {
161                    return _country;
162            }
163    
164            private Country _country;
165    }