com.liferay.portal.model
Interface RoleModel

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
All Known Subinterfaces:
Role

public interface RoleModel
extends BaseModel

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 Role_ table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Role, com.liferay.portal.service.model.impl.RoleImpl, com.liferay.portal.service.model.impl.RoleModelImpl

Method Summary
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 long getRoleId()
           
 int getType()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(long pk)
           
 void setRoleId(long roleId)
           
 void setType(int type)
           
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getRoleId

public long getRoleId()

setRoleId

public void setRoleId(long roleId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getType

public int getType()

setType

public void setType(int type)