@ProviderType public interface SCLicenseModel extends BaseModel<SCLicense>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.softwarecatalog.model.impl.SCLicenseImpl.
SCLicense,
com.liferay.portlet.softwarecatalog.model.impl.SCLicenseImpl,
com.liferay.portlet.softwarecatalog.model.impl.SCLicenseModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SCLicense scLicense) |
boolean |
getActive()
Returns the active of this s c license.
|
long |
getCompanyId()
Returns the company ID of this s c license.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getLicenseId()
Returns the license ID of this s c license.
|
java.lang.String |
getName()
Returns the name of this s c license.
|
boolean |
getOpenSource()
Returns the open source of this s c license.
|
long |
getPrimaryKey()
Returns the primary key of this s c license.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getRecommended()
Returns the recommended of this s c license.
|
java.lang.String |
getUrl()
Returns the url of this s c license.
|
int |
hashCode() |
boolean |
isActive()
Returns
true if this s c license is active. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isOpenSource()
Returns
true if this s c license is open source. |
boolean |
isRecommended()
Returns
true if this s c license is recommended. |
void |
setActive(boolean active)
Sets whether this s c license is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this s c license.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setLicenseId(long licenseId)
Sets the license ID of this s c license.
|
void |
setName(java.lang.String name)
Sets the name of this s c license.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setOpenSource(boolean openSource)
Sets whether this s c license is open source.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this s c license.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRecommended(boolean recommended)
Sets whether this s c license is recommended.
|
void |
setUrl(java.lang.String url)
Sets the url of this s c license.
|
CacheModel<SCLicense> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SCLicense |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
SCLicense |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this s c licenselong getLicenseId()
void setLicenseId(long licenseId)
licenseId - the license ID of this s c licenselong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this s c license@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this s c license@AutoEscape java.lang.String getUrl()
void setUrl(java.lang.String url)
url - the url of this s c licenseboolean getOpenSource()
boolean isOpenSource()
true if this s c license is open source.true if this s c license is open source; false otherwisevoid setOpenSource(boolean openSource)
openSource - the open source of this s c licenseboolean getActive()
boolean isActive()
true if this s c license is active.true if this s c license is active; false otherwisevoid setActive(boolean active)
active - the active of this s c licenseboolean getRecommended()
boolean isRecommended()
true if this s c license is recommended.true if this s c license is recommended; false otherwisevoid setRecommended(boolean recommended)
recommended - the recommended of this s c licenseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SCLicense>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SCLicense>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SCLicense>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SCLicense>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SCLicense>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SCLicense>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCLicense>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCLicense>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SCLicense>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()java.lang.Object clone()
BaseModelint compareTo(SCLicense scLicense)
compareTo in interface java.lang.Comparable<SCLicense>int hashCode()
hashCode in class java.lang.ObjectCacheModel<SCLicense> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SCLicense>SCLicense toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SCLicense>AutoEscapeBeanHandlerSCLicense toUnescapedModel()
toUnescapedModel in interface BaseModel<SCLicense>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SCLicense>