com.liferay.portlet.softwarecatalog.model.impl
Class SCLicenseModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.softwarecatalog.model.SCLicenseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.softwarecatalog.model.SCLicense>
- Direct Known Subclasses:
- SCLicenseBaseImpl
@JSON(strict=true)
public class SCLicenseModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
- implements com.liferay.portlet.softwarecatalog.model.SCLicenseModel
The base model implementation for the SCLicense service. Represents a row in the "SCLicense" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SCLicenseModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SCLicenseImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
SCLicenseImpl,
SCLicense,
SCLicenseModel,
Serialized Form- Generated:
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
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
ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final java.lang.String ORDER_BY_SQL
- 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
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
ACTIVE_COLUMN_BITMASK
public static long ACTIVE_COLUMN_BITMASK
RECOMMENDED_COLUMN_BITMASK
public static long RECOMMENDED_COLUMN_BITMASK
MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME
public static final java.lang.String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_NAME
- See Also:
- Constant Field Values
MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_COLUMNS
public static final java.lang.Object[][] MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_COLUMNS
MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_SQL_CREATE
public static final java.lang.String MAPPING_TABLE_SCLICENSES_SCPRODUCTENTRIES_SQL_CREATE
- See Also:
- Constant Field Values
FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES
public static final boolean FINDER_CACHE_ENABLED_SCLICENSES_SCPRODUCTENTRIES
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
SCLicenseModelImpl
public SCLicenseModelImpl()
toModel
public static com.liferay.portlet.softwarecatalog.model.SCLicense toModel(com.liferay.portlet.softwarecatalog.model.SCLicenseSoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> toModels(com.liferay.portlet.softwarecatalog.model.SCLicenseSoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getLicenseId
@JSON
public long getLicenseId()
- Specified by:
getLicenseId in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setLicenseId
public void setLicenseId(long licenseId)
- Specified by:
setLicenseId in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getName
@JSON
public java.lang.String getName()
- Specified by:
getName in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getUrl
@JSON
public java.lang.String getUrl()
- Specified by:
getUrl in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setUrl
public void setUrl(java.lang.String url)
- Specified by:
setUrl in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getOpenSource
@JSON
public boolean getOpenSource()
- Specified by:
getOpenSource in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
isOpenSource
public boolean isOpenSource()
- Specified by:
isOpenSource in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setOpenSource
public void setOpenSource(boolean openSource)
- Specified by:
setOpenSource in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getActive
@JSON
public boolean getActive()
- Specified by:
getActive in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
isActive
public boolean isActive()
- Specified by:
isActive in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getOriginalActive
public boolean getOriginalActive()
getRecommended
@JSON
public boolean getRecommended()
- Specified by:
getRecommended in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
isRecommended
public boolean isRecommended()
- Specified by:
isRecommended in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
setRecommended
public void setRecommended(boolean recommended)
- Specified by:
setRecommended in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel
getOriginalRecommended
public boolean getOriginalRecommended()
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
toEscapedModel in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
clone in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
compareTo
public int compareTo(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
- Specified by:
compareTo in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.softwarecatalog.model.SCLicense>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.softwarecatalog.model.SCLicense> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
toCacheModel in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.softwarecatalog.model.SCLicense>- Specified by:
toXmlString in interface com.liferay.portlet.softwarecatalog.model.SCLicenseModel