|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.expando.model.ExpandoColumnWrapper
public class ExpandoColumnWrapper
This class is a wrapper for ExpandoColumn.
ExpandoColumn,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoColumnWrapper(ExpandoColumn expandoColumn)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
long |
getColumnId()
|
long |
getCompanyId()
|
String |
getDefaultData()
|
Serializable |
getDefaultValue()
|
String |
getDisplayName(Locale locale)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getTableId()
|
int |
getType()
|
String |
getTypeSettings()
|
UnicodeProperties |
getTypeSettingsProperties()
|
ExpandoColumn |
getWrappedExpandoColumn()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines 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)
|
void |
setCompanyId(long companyId)
|
void |
setDefaultData(String defaultData)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setTableId(long tableId)
|
void |
setType(int type)
|
void |
setTypeSettings(String typeSettings)
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
ExpandoColumn |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandoColumnWrapper(ExpandoColumn expandoColumn)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ExpandoColumnModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ExpandoColumnModelpublic long getColumnId()
getColumnId in interface ExpandoColumnModelpublic void setColumnId(long columnId)
setColumnId in interface ExpandoColumnModelpublic long getCompanyId()
getCompanyId in interface ExpandoColumnModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoColumnModelpublic long getTableId()
getTableId in interface ExpandoColumnModelpublic void setTableId(long tableId)
setTableId in interface ExpandoColumnModelpublic String getName()
getName in interface ExpandoColumnModelpublic void setName(String name)
setName in interface ExpandoColumnModelpublic int getType()
getType in interface ExpandoColumnModelpublic void setType(int type)
setType in interface ExpandoColumnModelpublic String getDefaultData()
getDefaultData in interface ExpandoColumnModelpublic void setDefaultData(String defaultData)
setDefaultData in interface ExpandoColumnModelpublic String getTypeSettings()
getTypeSettings in interface ExpandoColumngetTypeSettings in interface ExpandoColumnModelpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface ExpandoColumnsetTypeSettings in interface ExpandoColumnModelpublic ExpandoColumn toEscapedModel()
toEscapedModel in interface ExpandoColumnModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ExpandoColumn>isNew in interface ExpandoColumnModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoColumn>setNew in interface ExpandoColumnModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ExpandoColumn>isCachedModel in interface ExpandoColumnModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoColumn>setCachedModel in interface ExpandoColumnModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ExpandoColumn>isEscapedModel in interface ExpandoColumnModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ExpandoColumn>setEscapedModel in interface ExpandoColumnModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ExpandoColumnModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoColumn>getExpandoBridge in interface ExpandoColumnModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>setExpandoBridgeAttributes in interface ExpandoColumnModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ExpandoColumn>clone in interface ExpandoColumnModelclone in class Objectpublic int compareTo(ExpandoColumn expandoColumn)
compareTo in interface ExpandoColumnModelcompareTo in interface Comparable<ExpandoColumn>public int hashCode()
hashCode in interface ExpandoColumnModelhashCode in class Objectpublic String toString()
toString in interface ExpandoColumnModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoColumn>toXmlString in interface ExpandoColumnModelpublic Serializable getDefaultValue()
getDefaultValue in interface ExpandoColumnpublic String getDisplayName(Locale locale)
getDisplayName in interface ExpandoColumnpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface ExpandoColumnpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface ExpandoColumnpublic ExpandoColumn getWrappedExpandoColumn()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||