com.liferay.portal.model.impl
Class ResourceModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portal.model.impl.ResourceModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- ResourceImpl
public class ResourceModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a model that represents the Resource
table
in the database.
- Author:
- Brian Wing Shun Chan
- See Also:
com.liferay.portal.service.model.Resource
,
com.liferay.portal.service.model.ResourceModel
,
com.liferay.portal.service.model.impl.ResourceImpl
,
Serialized Form
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
isEscapedModel, isNew, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
CACHE_ENABLED
public static final boolean CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ResourceModelImpl
public ResourceModelImpl()
toModel
public static com.liferay.portal.model.Resource toModel(com.liferay.portal.model.ResourceSoap soapModel)
toModels
public static java.util.List<com.liferay.portal.model.Resource> toModels(com.liferay.portal.model.ResourceSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long pk)
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
getResourceId
public long getResourceId()
setResourceId
public void setResourceId(long resourceId)
getCodeId
public long getCodeId()
setCodeId
public void setCodeId(long codeId)
getPrimKey
public java.lang.String getPrimKey()
setPrimKey
public void setPrimKey(java.lang.String primKey)
toEscapedModel
public com.liferay.portal.model.Resource toEscapedModel()
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel
- Specified by:
clone
in class com.liferay.portal.model.impl.BaseModelImpl
compareTo
public int compareTo(java.lang.Object obj)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object