1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="CountrySoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Country}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Country
32   * @generated
33   */
34  public class CountryWrapper implements Country {
35      public CountryWrapper(Country country) {
36          _country = country;
37      }
38  
39      public long getPrimaryKey() {
40          return _country.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _country.setPrimaryKey(pk);
45      }
46  
47      public long getCountryId() {
48          return _country.getCountryId();
49      }
50  
51      public void setCountryId(long countryId) {
52          _country.setCountryId(countryId);
53      }
54  
55      public java.lang.String getName() {
56          return _country.getName();
57      }
58  
59      public void setName(java.lang.String name) {
60          _country.setName(name);
61      }
62  
63      public java.lang.String getA2() {
64          return _country.getA2();
65      }
66  
67      public void setA2(java.lang.String a2) {
68          _country.setA2(a2);
69      }
70  
71      public java.lang.String getA3() {
72          return _country.getA3();
73      }
74  
75      public void setA3(java.lang.String a3) {
76          _country.setA3(a3);
77      }
78  
79      public java.lang.String getNumber() {
80          return _country.getNumber();
81      }
82  
83      public void setNumber(java.lang.String number) {
84          _country.setNumber(number);
85      }
86  
87      public java.lang.String getIdd() {
88          return _country.getIdd();
89      }
90  
91      public void setIdd(java.lang.String idd) {
92          _country.setIdd(idd);
93      }
94  
95      public boolean getActive() {
96          return _country.getActive();
97      }
98  
99      public boolean isActive() {
100         return _country.isActive();
101     }
102 
103     public void setActive(boolean active) {
104         _country.setActive(active);
105     }
106 
107     public com.liferay.portal.model.Country toEscapedModel() {
108         return _country.toEscapedModel();
109     }
110 
111     public boolean isNew() {
112         return _country.isNew();
113     }
114 
115     public boolean setNew(boolean n) {
116         return _country.setNew(n);
117     }
118 
119     public boolean isCachedModel() {
120         return _country.isCachedModel();
121     }
122 
123     public void setCachedModel(boolean cachedModel) {
124         _country.setCachedModel(cachedModel);
125     }
126 
127     public boolean isEscapedModel() {
128         return _country.isEscapedModel();
129     }
130 
131     public void setEscapedModel(boolean escapedModel) {
132         _country.setEscapedModel(escapedModel);
133     }
134 
135     public java.io.Serializable getPrimaryKeyObj() {
136         return _country.getPrimaryKeyObj();
137     }
138 
139     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140         return _country.getExpandoBridge();
141     }
142 
143     public void setExpandoBridgeAttributes(
144         com.liferay.portal.service.ServiceContext serviceContext) {
145         _country.setExpandoBridgeAttributes(serviceContext);
146     }
147 
148     public java.lang.Object clone() {
149         return _country.clone();
150     }
151 
152     public int compareTo(com.liferay.portal.model.Country country) {
153         return _country.compareTo(country);
154     }
155 
156     public int hashCode() {
157         return _country.hashCode();
158     }
159 
160     public java.lang.String toString() {
161         return _country.toString();
162     }
163 
164     public java.lang.String toXmlString() {
165         return _country.toXmlString();
166     }
167 
168     public Country getWrappedCountry() {
169         return _country;
170     }
171 
172     private Country _country;
173 }