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="RegionSoap.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 Region}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       Region
31   * @generated
32   */
33  public class RegionWrapper implements Region {
34      public RegionWrapper(Region region) {
35          _region = region;
36      }
37  
38      public long getPrimaryKey() {
39          return _region.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _region.setPrimaryKey(pk);
44      }
45  
46      public long getRegionId() {
47          return _region.getRegionId();
48      }
49  
50      public void setRegionId(long regionId) {
51          _region.setRegionId(regionId);
52      }
53  
54      public long getCountryId() {
55          return _region.getCountryId();
56      }
57  
58      public void setCountryId(long countryId) {
59          _region.setCountryId(countryId);
60      }
61  
62      public java.lang.String getRegionCode() {
63          return _region.getRegionCode();
64      }
65  
66      public void setRegionCode(java.lang.String regionCode) {
67          _region.setRegionCode(regionCode);
68      }
69  
70      public java.lang.String getName() {
71          return _region.getName();
72      }
73  
74      public void setName(java.lang.String name) {
75          _region.setName(name);
76      }
77  
78      public boolean getActive() {
79          return _region.getActive();
80      }
81  
82      public boolean isActive() {
83          return _region.isActive();
84      }
85  
86      public void setActive(boolean active) {
87          _region.setActive(active);
88      }
89  
90      public boolean isNew() {
91          return _region.isNew();
92      }
93  
94      public boolean setNew(boolean n) {
95          return _region.setNew(n);
96      }
97  
98      public boolean isCachedModel() {
99          return _region.isCachedModel();
100     }
101 
102     public void setCachedModel(boolean cachedModel) {
103         _region.setCachedModel(cachedModel);
104     }
105 
106     public boolean isEscapedModel() {
107         return _region.isEscapedModel();
108     }
109 
110     public void setEscapedModel(boolean escapedModel) {
111         _region.setEscapedModel(escapedModel);
112     }
113 
114     public java.io.Serializable getPrimaryKeyObj() {
115         return _region.getPrimaryKeyObj();
116     }
117 
118     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
119         return _region.getExpandoBridge();
120     }
121 
122     public void setExpandoBridgeAttributes(
123         com.liferay.portal.service.ServiceContext serviceContext) {
124         _region.setExpandoBridgeAttributes(serviceContext);
125     }
126 
127     public java.lang.Object clone() {
128         return _region.clone();
129     }
130 
131     public int compareTo(com.liferay.portal.model.Region region) {
132         return _region.compareTo(region);
133     }
134 
135     public int hashCode() {
136         return _region.hashCode();
137     }
138 
139     public com.liferay.portal.model.Region toEscapedModel() {
140         return _region.toEscapedModel();
141     }
142 
143     public java.lang.String toString() {
144         return _region.toString();
145     }
146 
147     public java.lang.String toXmlString() {
148         return _region.toXmlString();
149     }
150 
151     public Region getWrappedRegion() {
152         return _region;
153     }
154 
155     private Region _region;
156 }