com.liferay.portal.model
Interface ShardModel

All Superinterfaces:
BaseModel<Shard>, java.lang.Cloneable, java.lang.Comparable<Shard>, java.io.Serializable
All Known Subinterfaces:
Shard
All Known Implementing Classes:
ShardWrapper

public interface ShardModel
extends BaseModel<Shard>

View Source

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

This interface is a model that represents the Shard table in the database.

Author:
Brian Wing Shun Chan
See Also:
Shard, ShardImpl, ShardModelImpl
Generated:

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()
           
 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()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getShardId

long getShardId()

setShardId

void setShardId(long shardId)

getClassName

java.lang.String getClassName()

getClassNameId

long getClassNameId()

setClassNameId

void setClassNameId(long classNameId)

getClassPK

long getClassPK()

setClassPK

void setClassPK(long classPK)

getName

@AutoEscape
java.lang.String getName()

setName

void setName(java.lang.String name)

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

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

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

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