1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="CountrySoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link Country}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Country
40   * @generated
41   */
42  public class CountryWrapper implements Country {
43      public CountryWrapper(Country country) {
44          _country = country;
45      }
46  
47      public long getPrimaryKey() {
48          return _country.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _country.setPrimaryKey(pk);
53      }
54  
55      public long getCountryId() {
56          return _country.getCountryId();
57      }
58  
59      public void setCountryId(long countryId) {
60          _country.setCountryId(countryId);
61      }
62  
63      public java.lang.String getName() {
64          return _country.getName();
65      }
66  
67      public void setName(java.lang.String name) {
68          _country.setName(name);
69      }
70  
71      public java.lang.String getA2() {
72          return _country.getA2();
73      }
74  
75      public void setA2(java.lang.String a2) {
76          _country.setA2(a2);
77      }
78  
79      public java.lang.String getA3() {
80          return _country.getA3();
81      }
82  
83      public void setA3(java.lang.String a3) {
84          _country.setA3(a3);
85      }
86  
87      public java.lang.String getNumber() {
88          return _country.getNumber();
89      }
90  
91      public void setNumber(java.lang.String number) {
92          _country.setNumber(number);
93      }
94  
95      public java.lang.String getIdd() {
96          return _country.getIdd();
97      }
98  
99      public void setIdd(java.lang.String idd) {
100         _country.setIdd(idd);
101     }
102 
103     public boolean getActive() {
104         return _country.getActive();
105     }
106 
107     public boolean isActive() {
108         return _country.isActive();
109     }
110 
111     public void setActive(boolean active) {
112         _country.setActive(active);
113     }
114 
115     public com.liferay.portal.model.Country toEscapedModel() {
116         return _country.toEscapedModel();
117     }
118 
119     public boolean isNew() {
120         return _country.isNew();
121     }
122 
123     public boolean setNew(boolean n) {
124         return _country.setNew(n);
125     }
126 
127     public boolean isCachedModel() {
128         return _country.isCachedModel();
129     }
130 
131     public void setCachedModel(boolean cachedModel) {
132         _country.setCachedModel(cachedModel);
133     }
134 
135     public boolean isEscapedModel() {
136         return _country.isEscapedModel();
137     }
138 
139     public void setEscapedModel(boolean escapedModel) {
140         _country.setEscapedModel(escapedModel);
141     }
142 
143     public java.io.Serializable getPrimaryKeyObj() {
144         return _country.getPrimaryKeyObj();
145     }
146 
147     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
148         return _country.getExpandoBridge();
149     }
150 
151     public void setExpandoBridgeAttributes(
152         com.liferay.portal.service.ServiceContext serviceContext) {
153         _country.setExpandoBridgeAttributes(serviceContext);
154     }
155 
156     public java.lang.Object clone() {
157         return _country.clone();
158     }
159 
160     public int compareTo(com.liferay.portal.model.Country country) {
161         return _country.compareTo(country);
162     }
163 
164     public int hashCode() {
165         return _country.hashCode();
166     }
167 
168     public java.lang.String toString() {
169         return _country.toString();
170     }
171 
172     public java.lang.String toXmlString() {
173         return _country.toXmlString();
174     }
175 
176     public Country getWrappedCountry() {
177         return _country;
178     }
179 
180     private Country _country;
181 }