001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Region}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Region
024     * @generated
025     */
026    public class RegionWrapper implements Region {
027            public RegionWrapper(Region region) {
028                    _region = region;
029            }
030    
031            public long getPrimaryKey() {
032                    return _region.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _region.setPrimaryKey(pk);
037            }
038    
039            public long getRegionId() {
040                    return _region.getRegionId();
041            }
042    
043            public void setRegionId(long regionId) {
044                    _region.setRegionId(regionId);
045            }
046    
047            public long getCountryId() {
048                    return _region.getCountryId();
049            }
050    
051            public void setCountryId(long countryId) {
052                    _region.setCountryId(countryId);
053            }
054    
055            public java.lang.String getRegionCode() {
056                    return _region.getRegionCode();
057            }
058    
059            public void setRegionCode(java.lang.String regionCode) {
060                    _region.setRegionCode(regionCode);
061            }
062    
063            public java.lang.String getName() {
064                    return _region.getName();
065            }
066    
067            public void setName(java.lang.String name) {
068                    _region.setName(name);
069            }
070    
071            public boolean getActive() {
072                    return _region.getActive();
073            }
074    
075            public boolean isActive() {
076                    return _region.isActive();
077            }
078    
079            public void setActive(boolean active) {
080                    _region.setActive(active);
081            }
082    
083            public com.liferay.portal.model.Region toEscapedModel() {
084                    return _region.toEscapedModel();
085            }
086    
087            public boolean isNew() {
088                    return _region.isNew();
089            }
090    
091            public void setNew(boolean n) {
092                    _region.setNew(n);
093            }
094    
095            public boolean isCachedModel() {
096                    return _region.isCachedModel();
097            }
098    
099            public void setCachedModel(boolean cachedModel) {
100                    _region.setCachedModel(cachedModel);
101            }
102    
103            public boolean isEscapedModel() {
104                    return _region.isEscapedModel();
105            }
106    
107            public void setEscapedModel(boolean escapedModel) {
108                    _region.setEscapedModel(escapedModel);
109            }
110    
111            public java.io.Serializable getPrimaryKeyObj() {
112                    return _region.getPrimaryKeyObj();
113            }
114    
115            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
116                    return _region.getExpandoBridge();
117            }
118    
119            public void setExpandoBridgeAttributes(
120                    com.liferay.portal.service.ServiceContext serviceContext) {
121                    _region.setExpandoBridgeAttributes(serviceContext);
122            }
123    
124            public java.lang.Object clone() {
125                    return _region.clone();
126            }
127    
128            public int compareTo(com.liferay.portal.model.Region region) {
129                    return _region.compareTo(region);
130            }
131    
132            public int hashCode() {
133                    return _region.hashCode();
134            }
135    
136            public java.lang.String toString() {
137                    return _region.toString();
138            }
139    
140            public java.lang.String toXmlString() {
141                    return _region.toXmlString();
142            }
143    
144            public Region getWrappedRegion() {
145                    return _region;
146            }
147    
148            private Region _region;
149    }