001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this cluster group.
033            *
034            * @return the primary key of this cluster group
035            */
036            public long getPrimaryKey() {
037                    return _clusterGroup.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this cluster group
042            *
043            * @param pk the primary key of this cluster group
044            */
045            public void setPrimaryKey(long pk) {
046                    _clusterGroup.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the cluster group id of this cluster group.
051            *
052            * @return the cluster group id of this cluster group
053            */
054            public long getClusterGroupId() {
055                    return _clusterGroup.getClusterGroupId();
056            }
057    
058            /**
059            * Sets the cluster group id of this cluster group.
060            *
061            * @param clusterGroupId the cluster group id of this cluster group
062            */
063            public void setClusterGroupId(long clusterGroupId) {
064                    _clusterGroup.setClusterGroupId(clusterGroupId);
065            }
066    
067            /**
068            * Gets the name of this cluster group.
069            *
070            * @return the name of this cluster group
071            */
072            public java.lang.String getName() {
073                    return _clusterGroup.getName();
074            }
075    
076            /**
077            * Sets the name of this cluster group.
078            *
079            * @param name the name of this cluster group
080            */
081            public void setName(java.lang.String name) {
082                    _clusterGroup.setName(name);
083            }
084    
085            /**
086            * Gets the cluster node ids of this cluster group.
087            *
088            * @return the cluster node ids of this cluster group
089            */
090            public java.lang.String getClusterNodeIds() {
091                    return _clusterGroup.getClusterNodeIds();
092            }
093    
094            /**
095            * Sets the cluster node ids of this cluster group.
096            *
097            * @param clusterNodeIds the cluster node ids of this cluster group
098            */
099            public void setClusterNodeIds(java.lang.String clusterNodeIds) {
100                    _clusterGroup.setClusterNodeIds(clusterNodeIds);
101            }
102    
103            /**
104            * Gets the whole cluster of this cluster group.
105            *
106            * @return the whole cluster of this cluster group
107            */
108            public boolean getWholeCluster() {
109                    return _clusterGroup.getWholeCluster();
110            }
111    
112            /**
113            * Determines whether this cluster group is whole cluster.
114            *
115            * @return whether this cluster group is whole cluster
116            */
117            public boolean isWholeCluster() {
118                    return _clusterGroup.isWholeCluster();
119            }
120    
121            /**
122            * Sets whether this {$entity.humanName} is whole cluster.
123            *
124            * @param wholeCluster the whole cluster of this cluster group
125            */
126            public void setWholeCluster(boolean wholeCluster) {
127                    _clusterGroup.setWholeCluster(wholeCluster);
128            }
129    
130            public boolean isNew() {
131                    return _clusterGroup.isNew();
132            }
133    
134            public void setNew(boolean n) {
135                    _clusterGroup.setNew(n);
136            }
137    
138            public boolean isCachedModel() {
139                    return _clusterGroup.isCachedModel();
140            }
141    
142            public void setCachedModel(boolean cachedModel) {
143                    _clusterGroup.setCachedModel(cachedModel);
144            }
145    
146            public boolean isEscapedModel() {
147                    return _clusterGroup.isEscapedModel();
148            }
149    
150            public void setEscapedModel(boolean escapedModel) {
151                    _clusterGroup.setEscapedModel(escapedModel);
152            }
153    
154            public java.io.Serializable getPrimaryKeyObj() {
155                    return _clusterGroup.getPrimaryKeyObj();
156            }
157    
158            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
159                    return _clusterGroup.getExpandoBridge();
160            }
161    
162            public void setExpandoBridgeAttributes(
163                    com.liferay.portal.service.ServiceContext serviceContext) {
164                    _clusterGroup.setExpandoBridgeAttributes(serviceContext);
165            }
166    
167            public java.lang.Object clone() {
168                    return _clusterGroup.clone();
169            }
170    
171            public int compareTo(com.liferay.portal.model.ClusterGroup clusterGroup) {
172                    return _clusterGroup.compareTo(clusterGroup);
173            }
174    
175            public int hashCode() {
176                    return _clusterGroup.hashCode();
177            }
178    
179            public com.liferay.portal.model.ClusterGroup toEscapedModel() {
180                    return _clusterGroup.toEscapedModel();
181            }
182    
183            public java.lang.String toString() {
184                    return _clusterGroup.toString();
185            }
186    
187            public java.lang.String toXmlString() {
188                    return _clusterGroup.toXmlString();
189            }
190    
191            public java.lang.String[] getClusterNodeIdsArray() {
192                    return _clusterGroup.getClusterNodeIdsArray();
193            }
194    
195            public ClusterGroup getWrappedClusterGroup() {
196                    return _clusterGroup;
197            }
198    
199            private ClusterGroup _clusterGroup;
200    }