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