@JSON(strict=true)
public class TestResultModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
implements com.qti.slayer.model.TestResultModel
This implementation and its corresponding interface TestResultModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TestResultImpl
.
TestResultImpl
,
TestResult
,
TestResultModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UOLID_COLUMN_BITMASK |
static long |
USERID_COLUMN_BITMASK |
Constructor and Description |
---|
TestResultModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(com.qti.slayer.model.TestResult testResult) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoComment() |
long |
getColumnBitmask() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOriginalUolId() |
long |
getOriginalUserId() |
com.qti.slayer.service.persistence.TestResultPK |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
int |
getResult() |
java.lang.String |
getTeacherComment() |
java.lang.String |
getTitle() |
long |
getUolId() |
long |
getUserId() |
java.lang.String |
getUsername() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
void |
resetOriginalValues() |
void |
setAutoComment(java.lang.String autoComment) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(com.qti.slayer.service.persistence.TestResultPK primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setResult(int result) |
void |
setTeacherComment(java.lang.String teacherComment) |
void |
setTitle(java.lang.String title) |
void |
setUolId(long uolId) |
void |
setUserId(long userId) |
void |
setUsername(java.lang.String username) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.model.CacheModel<com.qti.slayer.model.TestResult> |
toCacheModel() |
com.qti.slayer.model.TestResult |
toEscapedModel() |
static com.qti.slayer.model.TestResult |
toModel(com.qti.slayer.model.TestResultSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.qti.slayer.model.TestResult> |
toModels(com.qti.slayer.model.TestResultSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long UOLID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.qti.slayer.model.TestResult toModel(com.qti.slayer.model.TestResultSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<com.qti.slayer.model.TestResult> toModels(com.qti.slayer.model.TestResultSoap[] soapModels)
soapModels
- the soap model instances to convertpublic com.qti.slayer.service.persistence.TestResultPK getPrimaryKey()
getPrimaryKey
in interface com.qti.slayer.model.TestResultModel
public void setPrimaryKey(com.qti.slayer.service.persistence.TestResultPK primaryKey)
setPrimaryKey
in interface com.qti.slayer.model.TestResultModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
getPrimaryKeyObj
in interface com.liferay.portal.model.ClassedModel
getPrimaryKeyObj
in interface com.qti.slayer.model.TestResultModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
setPrimaryKeyObj
in interface com.liferay.portal.model.ClassedModel
setPrimaryKeyObj
in interface com.qti.slayer.model.TestResultModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
getModelAttributes
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
setModelAttributes
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
@JSON public long getUserId()
getUserId
in interface com.qti.slayer.model.TestResultModel
public void setUserId(long userId)
setUserId
in interface com.qti.slayer.model.TestResultModel
public java.lang.String getUserUuid() throws com.liferay.portal.kernel.exception.SystemException
getUserUuid
in interface com.qti.slayer.model.TestResultModel
com.liferay.portal.kernel.exception.SystemException
public void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.qti.slayer.model.TestResultModel
public long getOriginalUserId()
@JSON public long getUolId()
getUolId
in interface com.qti.slayer.model.TestResultModel
public void setUolId(long uolId)
setUolId
in interface com.qti.slayer.model.TestResultModel
public long getOriginalUolId()
@JSON public int getResult()
getResult
in interface com.qti.slayer.model.TestResultModel
public void setResult(int result)
setResult
in interface com.qti.slayer.model.TestResultModel
@JSON public java.lang.String getAutoComment()
getAutoComment
in interface com.qti.slayer.model.TestResultModel
public void setAutoComment(java.lang.String autoComment)
setAutoComment
in interface com.qti.slayer.model.TestResultModel
@JSON public java.lang.String getTeacherComment()
getTeacherComment
in interface com.qti.slayer.model.TestResultModel
public void setTeacherComment(java.lang.String teacherComment)
setTeacherComment
in interface com.qti.slayer.model.TestResultModel
@JSON public java.lang.String getTitle()
getTitle
in interface com.qti.slayer.model.TestResultModel
public void setTitle(java.lang.String title)
setTitle
in interface com.qti.slayer.model.TestResultModel
@JSON public java.lang.String getUsername()
getUsername
in interface com.qti.slayer.model.TestResultModel
public void setUsername(java.lang.String username)
setUsername
in interface com.qti.slayer.model.TestResultModel
public long getColumnBitmask()
public com.qti.slayer.model.TestResult toEscapedModel()
toEscapedModel
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
toEscapedModel
in interface com.qti.slayer.model.TestResultModel
toEscapedModel
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
public java.lang.Object clone()
clone
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
clone
in interface com.qti.slayer.model.TestResultModel
clone
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
public int compareTo(com.qti.slayer.model.TestResult testResult)
compareTo
in interface com.qti.slayer.model.TestResultModel
compareTo
in interface java.lang.Comparable<com.qti.slayer.model.TestResult>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface com.qti.slayer.model.TestResultModel
hashCode
in class java.lang.Object
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
resetOriginalValues
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
public com.liferay.portal.model.CacheModel<com.qti.slayer.model.TestResult> toCacheModel()
toCacheModel
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
toCacheModel
in interface com.qti.slayer.model.TestResultModel
toCacheModel
in class com.liferay.portal.model.impl.BaseModelImpl<com.qti.slayer.model.TestResult>
public java.lang.String toString()
toString
in interface com.qti.slayer.model.TestResultModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.model.BaseModel<com.qti.slayer.model.TestResult>
toXmlString
in interface com.qti.slayer.model.TestResultModel