001
014
015 package com.liferay.portal.model;
016
017
026 public class ClusterGroupWrapper implements ClusterGroup {
027 public ClusterGroupWrapper(ClusterGroup clusterGroup) {
028 _clusterGroup = clusterGroup;
029 }
030
031 public Class<?> getModelClass() {
032 return ClusterGroup.class;
033 }
034
035 public String getModelClassName() {
036 return ClusterGroup.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _clusterGroup.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _clusterGroup.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getClusterGroupId() {
063 return _clusterGroup.getClusterGroupId();
064 }
065
066
071 public void setClusterGroupId(long clusterGroupId) {
072 _clusterGroup.setClusterGroupId(clusterGroupId);
073 }
074
075
080 public java.lang.String getName() {
081 return _clusterGroup.getName();
082 }
083
084
089 public void setName(java.lang.String name) {
090 _clusterGroup.setName(name);
091 }
092
093
098 public java.lang.String getClusterNodeIds() {
099 return _clusterGroup.getClusterNodeIds();
100 }
101
102
107 public void setClusterNodeIds(java.lang.String clusterNodeIds) {
108 _clusterGroup.setClusterNodeIds(clusterNodeIds);
109 }
110
111
116 public boolean getWholeCluster() {
117 return _clusterGroup.getWholeCluster();
118 }
119
120
125 public boolean isWholeCluster() {
126 return _clusterGroup.isWholeCluster();
127 }
128
129
134 public void setWholeCluster(boolean wholeCluster) {
135 _clusterGroup.setWholeCluster(wholeCluster);
136 }
137
138 public boolean isNew() {
139 return _clusterGroup.isNew();
140 }
141
142 public void setNew(boolean n) {
143 _clusterGroup.setNew(n);
144 }
145
146 public boolean isCachedModel() {
147 return _clusterGroup.isCachedModel();
148 }
149
150 public void setCachedModel(boolean cachedModel) {
151 _clusterGroup.setCachedModel(cachedModel);
152 }
153
154 public boolean isEscapedModel() {
155 return _clusterGroup.isEscapedModel();
156 }
157
158 public java.io.Serializable getPrimaryKeyObj() {
159 return _clusterGroup.getPrimaryKeyObj();
160 }
161
162 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
163 _clusterGroup.setPrimaryKeyObj(primaryKeyObj);
164 }
165
166 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
167 return _clusterGroup.getExpandoBridge();
168 }
169
170 public void setExpandoBridgeAttributes(
171 com.liferay.portal.service.ServiceContext serviceContext) {
172 _clusterGroup.setExpandoBridgeAttributes(serviceContext);
173 }
174
175 @Override
176 public java.lang.Object clone() {
177 return new ClusterGroupWrapper((ClusterGroup)_clusterGroup.clone());
178 }
179
180 public int compareTo(com.liferay.portal.model.ClusterGroup clusterGroup) {
181 return _clusterGroup.compareTo(clusterGroup);
182 }
183
184 @Override
185 public int hashCode() {
186 return _clusterGroup.hashCode();
187 }
188
189 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ClusterGroup> toCacheModel() {
190 return _clusterGroup.toCacheModel();
191 }
192
193 public com.liferay.portal.model.ClusterGroup toEscapedModel() {
194 return new ClusterGroupWrapper(_clusterGroup.toEscapedModel());
195 }
196
197 @Override
198 public java.lang.String toString() {
199 return _clusterGroup.toString();
200 }
201
202 public java.lang.String toXmlString() {
203 return _clusterGroup.toXmlString();
204 }
205
206 public void persist()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 _clusterGroup.persist();
209 }
210
211 public java.lang.String[] getClusterNodeIdsArray() {
212 return _clusterGroup.getClusterNodeIdsArray();
213 }
214
215 public ClusterGroup getWrappedClusterGroup() {
216 return _clusterGroup;
217 }
218
219 public void resetOriginalValues() {
220 _clusterGroup.resetOriginalValues();
221 }
222
223 private ClusterGroup _clusterGroup;
224 }