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