001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this country.
033            *
034            * @return the primary key of this country
035            */
036            public long getPrimaryKey() {
037                    return _country.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this country
042            *
043            * @param pk the primary key of this country
044            */
045            public void setPrimaryKey(long pk) {
046                    _country.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the country id of this country.
051            *
052            * @return the country id of this country
053            */
054            public long getCountryId() {
055                    return _country.getCountryId();
056            }
057    
058            /**
059            * Sets the country id of this country.
060            *
061            * @param countryId the country id of this country
062            */
063            public void setCountryId(long countryId) {
064                    _country.setCountryId(countryId);
065            }
066    
067            /**
068            * Gets the name of this country.
069            *
070            * @return the name of this country
071            */
072            public java.lang.String getName() {
073                    return _country.getName();
074            }
075    
076            /**
077            * Sets the name of this country.
078            *
079            * @param name the name of this country
080            */
081            public void setName(java.lang.String name) {
082                    _country.setName(name);
083            }
084    
085            /**
086            * Gets the a2 of this country.
087            *
088            * @return the a2 of this country
089            */
090            public java.lang.String getA2() {
091                    return _country.getA2();
092            }
093    
094            /**
095            * Sets the a2 of this country.
096            *
097            * @param a2 the a2 of this country
098            */
099            public void setA2(java.lang.String a2) {
100                    _country.setA2(a2);
101            }
102    
103            /**
104            * Gets the a3 of this country.
105            *
106            * @return the a3 of this country
107            */
108            public java.lang.String getA3() {
109                    return _country.getA3();
110            }
111    
112            /**
113            * Sets the a3 of this country.
114            *
115            * @param a3 the a3 of this country
116            */
117            public void setA3(java.lang.String a3) {
118                    _country.setA3(a3);
119            }
120    
121            /**
122            * Gets the number of this country.
123            *
124            * @return the number of this country
125            */
126            public java.lang.String getNumber() {
127                    return _country.getNumber();
128            }
129    
130            /**
131            * Sets the number of this country.
132            *
133            * @param number the number of this country
134            */
135            public void setNumber(java.lang.String number) {
136                    _country.setNumber(number);
137            }
138    
139            /**
140            * Gets the idd of this country.
141            *
142            * @return the idd of this country
143            */
144            public java.lang.String getIdd() {
145                    return _country.getIdd();
146            }
147    
148            /**
149            * Sets the idd of this country.
150            *
151            * @param idd the idd of this country
152            */
153            public void setIdd(java.lang.String idd) {
154                    _country.setIdd(idd);
155            }
156    
157            /**
158            * Gets the active of this country.
159            *
160            * @return the active of this country
161            */
162            public boolean getActive() {
163                    return _country.getActive();
164            }
165    
166            /**
167            * Determines whether this country is active.
168            *
169            * @return whether this country is active
170            */
171            public boolean isActive() {
172                    return _country.isActive();
173            }
174    
175            /**
176            * Sets whether this {$entity.humanName} is active.
177            *
178            * @param active the active of this country
179            */
180            public void setActive(boolean active) {
181                    _country.setActive(active);
182            }
183    
184            public boolean isNew() {
185                    return _country.isNew();
186            }
187    
188            public void setNew(boolean n) {
189                    _country.setNew(n);
190            }
191    
192            public boolean isCachedModel() {
193                    return _country.isCachedModel();
194            }
195    
196            public void setCachedModel(boolean cachedModel) {
197                    _country.setCachedModel(cachedModel);
198            }
199    
200            public boolean isEscapedModel() {
201                    return _country.isEscapedModel();
202            }
203    
204            public void setEscapedModel(boolean escapedModel) {
205                    _country.setEscapedModel(escapedModel);
206            }
207    
208            public java.io.Serializable getPrimaryKeyObj() {
209                    return _country.getPrimaryKeyObj();
210            }
211    
212            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
213                    return _country.getExpandoBridge();
214            }
215    
216            public void setExpandoBridgeAttributes(
217                    com.liferay.portal.service.ServiceContext serviceContext) {
218                    _country.setExpandoBridgeAttributes(serviceContext);
219            }
220    
221            public java.lang.Object clone() {
222                    return _country.clone();
223            }
224    
225            public int compareTo(com.liferay.portal.model.Country country) {
226                    return _country.compareTo(country);
227            }
228    
229            public int hashCode() {
230                    return _country.hashCode();
231            }
232    
233            public com.liferay.portal.model.Country toEscapedModel() {
234                    return _country.toEscapedModel();
235            }
236    
237            public java.lang.String toString() {
238                    return _country.toString();
239            }
240    
241            public java.lang.String toXmlString() {
242                    return _country.toXmlString();
243            }
244    
245            public Country getWrappedCountry() {
246                    return _country;
247            }
248    
249            private Country _country;
250    }