001    /**
002     * Copyright (c) 2000-2010 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    /**
019     * <p>
020     * This class is a wrapper for {@link Region}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Region
025     * @generated
026     */
027    public class RegionWrapper implements Region {
028            public RegionWrapper(Region region) {
029                    _region = region;
030            }
031    
032            public long getPrimaryKey() {
033                    return _region.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _region.setPrimaryKey(pk);
038            }
039    
040            public long getRegionId() {
041                    return _region.getRegionId();
042            }
043    
044            public void setRegionId(long regionId) {
045                    _region.setRegionId(regionId);
046            }
047    
048            public long getCountryId() {
049                    return _region.getCountryId();
050            }
051    
052            public void setCountryId(long countryId) {
053                    _region.setCountryId(countryId);
054            }
055    
056            public java.lang.String getRegionCode() {
057                    return _region.getRegionCode();
058            }
059    
060            public void setRegionCode(java.lang.String regionCode) {
061                    _region.setRegionCode(regionCode);
062            }
063    
064            public java.lang.String getName() {
065                    return _region.getName();
066            }
067    
068            public void setName(java.lang.String name) {
069                    _region.setName(name);
070            }
071    
072            public boolean getActive() {
073                    return _region.getActive();
074            }
075    
076            public boolean isActive() {
077                    return _region.isActive();
078            }
079    
080            public void setActive(boolean active) {
081                    _region.setActive(active);
082            }
083    
084            public com.liferay.portal.model.Region toEscapedModel() {
085                    return _region.toEscapedModel();
086            }
087    
088            public boolean isNew() {
089                    return _region.isNew();
090            }
091    
092            public void setNew(boolean n) {
093                    _region.setNew(n);
094            }
095    
096            public boolean isCachedModel() {
097                    return _region.isCachedModel();
098            }
099    
100            public void setCachedModel(boolean cachedModel) {
101                    _region.setCachedModel(cachedModel);
102            }
103    
104            public boolean isEscapedModel() {
105                    return _region.isEscapedModel();
106            }
107    
108            public void setEscapedModel(boolean escapedModel) {
109                    _region.setEscapedModel(escapedModel);
110            }
111    
112            public java.io.Serializable getPrimaryKeyObj() {
113                    return _region.getPrimaryKeyObj();
114            }
115    
116            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
117                    return _region.getExpandoBridge();
118            }
119    
120            public void setExpandoBridgeAttributes(
121                    com.liferay.portal.service.ServiceContext serviceContext) {
122                    _region.setExpandoBridgeAttributes(serviceContext);
123            }
124    
125            public java.lang.Object clone() {
126                    return _region.clone();
127            }
128    
129            public int compareTo(com.liferay.portal.model.Region region) {
130                    return _region.compareTo(region);
131            }
132    
133            public int hashCode() {
134                    return _region.hashCode();
135            }
136    
137            public java.lang.String toString() {
138                    return _region.toString();
139            }
140    
141            public java.lang.String toXmlString() {
142                    return _region.toXmlString();
143            }
144    
145            public Region getWrappedRegion() {
146                    return _region;
147            }
148    
149            private Region _region;
150    }