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