com.liferay.portal.model
Class ShardWrapper

java.lang.Object
  extended by com.liferay.portal.model.ShardWrapper
All Implemented Interfaces:
BaseModel<Shard>, Shard, ShardModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Shard>

public class ShardWrapper
extends java.lang.Object
implements Shard

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Shard.

Author:
Brian Wing Shun Chan
See Also:
Shard, Serialized Form
Generated:

Constructor Summary
ShardWrapper(Shard shard)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Shard shard)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getShardId()
           
 Shard getWrappedShard()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setShardId(long shardId)
           
 Shard toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShardWrapper

public ShardWrapper(Shard shard)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface ShardModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface ShardModel

getShardId

public long getShardId()
Specified by:
getShardId in interface ShardModel

setShardId

public void setShardId(long shardId)
Specified by:
setShardId in interface ShardModel

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface ShardModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface ShardModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface ShardModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface ShardModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface ShardModel

getName

public java.lang.String getName()
Specified by:
getName in interface ShardModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ShardModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Shard>
Specified by:
isNew in interface ShardModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Shard>
Specified by:
setNew in interface ShardModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Shard>
Specified by:
isCachedModel in interface ShardModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Shard>
Specified by:
setCachedModel in interface ShardModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Shard>
Specified by:
isEscapedModel in interface ShardModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Shard>
Specified by:
setEscapedModel in interface ShardModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Shard>
Specified by:
getPrimaryKeyObj in interface ShardModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Shard>
Specified by:
getExpandoBridge in interface ShardModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Shard>
Specified by:
setExpandoBridgeAttributes in interface ShardModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Shard>
Specified by:
clone in interface ShardModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Shard shard)
Specified by:
compareTo in interface ShardModel
Specified by:
compareTo in interface java.lang.Comparable<Shard>

hashCode

public int hashCode()
Specified by:
hashCode in interface ShardModel
Overrides:
hashCode in class java.lang.Object

toEscapedModel

public Shard toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<Shard>
Specified by:
toEscapedModel in interface ShardModel

toString

public java.lang.String toString()
Specified by:
toString in interface ShardModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Shard>
Specified by:
toXmlString in interface ShardModel

getWrappedShard

public Shard getWrappedShard()