@Deprecated public class ClusterGroupWrapper extends BaseModelWrapper<ClusterGroup> implements ClusterGroup, ModelWrapper<ClusterGroup>
This class is a wrapper for ClusterGroup
.
ClusterGroup
,
Serialized Formmodel
CLUSTER_GROUP_ID_ACCESSOR
Constructor and Description |
---|
ClusterGroupWrapper(ClusterGroup clusterGroup)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getClusterGroupId()
Deprecated.
Returns the cluster group ID of this cluster group.
|
String |
getClusterNodeIds()
Deprecated.
Returns the cluster node IDs of this cluster group.
|
String[] |
getClusterNodeIdsArray()
Deprecated.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this cluster group.
|
String |
getName()
Deprecated.
Returns the name of this cluster group.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this cluster group.
|
boolean |
getWholeCluster()
Deprecated.
Returns the whole cluster of this cluster group.
|
boolean |
isWholeCluster()
Deprecated.
Returns
true if this cluster group is whole cluster. |
void |
persist()
Deprecated.
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setClusterGroupId(long clusterGroupId)
Deprecated.
Sets the cluster group ID of this cluster group.
|
void |
setClusterNodeIds(String clusterNodeIds)
Deprecated.
Sets the cluster node IDs of this cluster group.
|
void |
setModelAttributes(Map<String,Object> attributes)
Deprecated.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this cluster group.
|
void |
setName(String name)
Deprecated.
Sets the name of this cluster group.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this cluster group.
|
void |
setWholeCluster(boolean wholeCluster)
Deprecated.
Sets whether this cluster group is whole cluster.
|
protected ClusterGroupWrapper |
wrap(ClusterGroup clusterGroup)
Deprecated.
|
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public ClusterGroupWrapper(ClusterGroup clusterGroup)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ClusterGroup>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ClusterGroup>
public long getClusterGroupId()
getClusterGroupId
in interface ClusterGroupModel
public String getClusterNodeIds()
getClusterNodeIds
in interface ClusterGroupModel
public String[] getClusterNodeIdsArray()
getClusterNodeIdsArray
in interface ClusterGroup
public long getMvccVersion()
getMvccVersion
in interface ClusterGroupModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface ClusterGroupModel
public long getPrimaryKey()
getPrimaryKey
in interface ClusterGroupModel
public boolean getWholeCluster()
getWholeCluster
in interface ClusterGroupModel
public boolean isWholeCluster()
true
if this cluster group is whole cluster.isWholeCluster
in interface ClusterGroupModel
true
if this cluster group is whole cluster; false
otherwisepublic void persist()
ClusterGroup
interface instead.persist
in interface PersistedModel
public void setClusterGroupId(long clusterGroupId)
setClusterGroupId
in interface ClusterGroupModel
clusterGroupId
- the cluster group ID of this cluster grouppublic void setClusterNodeIds(String clusterNodeIds)
setClusterNodeIds
in interface ClusterGroupModel
clusterNodeIds
- the cluster node IDs of this cluster grouppublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface ClusterGroupModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this cluster grouppublic void setName(String name)
setName
in interface ClusterGroupModel
name
- the name of this cluster grouppublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ClusterGroupModel
primaryKey
- the primary key of this cluster grouppublic void setWholeCluster(boolean wholeCluster)
setWholeCluster
in interface ClusterGroupModel
wholeCluster
- the whole cluster of this cluster groupprotected ClusterGroupWrapper wrap(ClusterGroup clusterGroup)
wrap
in class BaseModelWrapper<ClusterGroup>