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 ClusterGroup}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ClusterGroup
024     * @generated
025     */
026    public class ClusterGroupWrapper implements ClusterGroup {
027            public ClusterGroupWrapper(ClusterGroup clusterGroup) {
028                    _clusterGroup = clusterGroup;
029            }
030    
031            public long getPrimaryKey() {
032                    return _clusterGroup.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _clusterGroup.setPrimaryKey(pk);
037            }
038    
039            public long getClusterGroupId() {
040                    return _clusterGroup.getClusterGroupId();
041            }
042    
043            public void setClusterGroupId(long clusterGroupId) {
044                    _clusterGroup.setClusterGroupId(clusterGroupId);
045            }
046    
047            public java.lang.String getName() {
048                    return _clusterGroup.getName();
049            }
050    
051            public void setName(java.lang.String name) {
052                    _clusterGroup.setName(name);
053            }
054    
055            public java.lang.String getClusterNodeIds() {
056                    return _clusterGroup.getClusterNodeIds();
057            }
058    
059            public void setClusterNodeIds(java.lang.String clusterNodeIds) {
060                    _clusterGroup.setClusterNodeIds(clusterNodeIds);
061            }
062    
063            public boolean getWholeCluster() {
064                    return _clusterGroup.getWholeCluster();
065            }
066    
067            public boolean isWholeCluster() {
068                    return _clusterGroup.isWholeCluster();
069            }
070    
071            public void setWholeCluster(boolean wholeCluster) {
072                    _clusterGroup.setWholeCluster(wholeCluster);
073            }
074    
075            public com.liferay.portal.model.ClusterGroup toEscapedModel() {
076                    return _clusterGroup.toEscapedModel();
077            }
078    
079            public boolean isNew() {
080                    return _clusterGroup.isNew();
081            }
082    
083            public void setNew(boolean n) {
084                    _clusterGroup.setNew(n);
085            }
086    
087            public boolean isCachedModel() {
088                    return _clusterGroup.isCachedModel();
089            }
090    
091            public void setCachedModel(boolean cachedModel) {
092                    _clusterGroup.setCachedModel(cachedModel);
093            }
094    
095            public boolean isEscapedModel() {
096                    return _clusterGroup.isEscapedModel();
097            }
098    
099            public void setEscapedModel(boolean escapedModel) {
100                    _clusterGroup.setEscapedModel(escapedModel);
101            }
102    
103            public java.io.Serializable getPrimaryKeyObj() {
104                    return _clusterGroup.getPrimaryKeyObj();
105            }
106    
107            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
108                    return _clusterGroup.getExpandoBridge();
109            }
110    
111            public void setExpandoBridgeAttributes(
112                    com.liferay.portal.service.ServiceContext serviceContext) {
113                    _clusterGroup.setExpandoBridgeAttributes(serviceContext);
114            }
115    
116            public java.lang.Object clone() {
117                    return _clusterGroup.clone();
118            }
119    
120            public int compareTo(com.liferay.portal.model.ClusterGroup clusterGroup) {
121                    return _clusterGroup.compareTo(clusterGroup);
122            }
123    
124            public int hashCode() {
125                    return _clusterGroup.hashCode();
126            }
127    
128            public java.lang.String toString() {
129                    return _clusterGroup.toString();
130            }
131    
132            public java.lang.String toXmlString() {
133                    return _clusterGroup.toXmlString();
134            }
135    
136            public java.lang.String[] getClusterNodeIdsArray() {
137                    return _clusterGroup.getClusterNodeIdsArray();
138            }
139    
140            public ClusterGroup getWrappedClusterGroup() {
141                    return _clusterGroup;
142            }
143    
144            private ClusterGroup _clusterGroup;
145    }