@ProviderType public interface ExpandoColumnModel extends BaseModel<ExpandoColumn>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl 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.expando.model.impl.ExpandoColumnImpl.
ExpandoColumn,
com.liferay.portlet.expando.model.impl.ExpandoColumnImpl,
com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoColumn expandoColumn) |
long |
getColumnId()
Returns the column ID of this expando column.
|
long |
getCompanyId()
Returns the company ID of this expando column.
|
String |
getDefaultData()
Returns the default data of this expando column.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getName()
Returns the name of this expando column.
|
long |
getPrimaryKey()
Returns the primary key of this expando column.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getTableId()
Returns the table ID of this expando column.
|
int |
getType()
Returns the type of this expando column.
|
String |
getTypeSettings()
Returns the type settings of this expando column.
|
int |
hashCode() |
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. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setColumnId(long columnId)
Sets the column ID of this expando column.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando column.
|
void |
setDefaultData(String defaultData)
Sets the default data of this expando column.
|
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 |
setName(String name)
Sets the name of this expando column.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando column.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setTableId(long tableId)
Sets the table ID of this expando column.
|
void |
setType(int type)
Sets the type of this expando column.
|
void |
setTypeSettings(String typeSettings)
Sets the type settings of this expando column.
|
CacheModel<ExpandoColumn> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ExpandoColumn |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
ExpandoColumn |
toUnescapedModel() |
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 expando columnlong getColumnId()
void setColumnId(long columnId)
columnId - the column ID of this expando columnlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this expando columnlong getTableId()
void setTableId(long tableId)
tableId - the table ID of this expando column@AutoEscape String getName()
void setName(String name)
name - the name of this expando columnint getType()
void setType(int type)
type - the type of this expando column@AutoEscape String getDefaultData()
void setDefaultData(String defaultData)
defaultData - the default data of this expando column@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this expando columnboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ExpandoColumn>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<ExpandoColumn>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ExpandoColumn>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ExpandoColumn>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ExpandoColumn>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ExpandoColumn>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ExpandoColumn>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<ExpandoColumn>int compareTo(ExpandoColumn expandoColumn)
compareTo in interface Comparable<ExpandoColumn>CacheModel<ExpandoColumn> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ExpandoColumn>ExpandoColumn toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ExpandoColumn>AutoEscapeBeanHandlerExpandoColumn toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoColumn>String toXmlString()
BaseModeltoXmlString in interface BaseModel<ExpandoColumn>