@ProviderType public interface ExpandoValueModel extends AttachedModel, BaseModel<ExpandoValue>, ShardedModel
This interface and its corresponding implementation ExpandoValueModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoValueImpl
.
ExpandoValue
,
ExpandoValueImpl
,
ExpandoValueModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoValue expandoValue) |
String |
getClassName()
Returns the fully qualified class name of this expando value.
|
long |
getClassNameId()
Returns the class name ID of this expando value.
|
long |
getClassPK()
Returns the class pk of this expando value.
|
long |
getColumnId()
Returns the column ID of this expando value.
|
long |
getCompanyId()
Returns the company ID of this expando value.
|
String |
getData()
Returns the data of this expando value.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getPrimaryKey()
Returns the primary key of this expando value.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRowId()
Returns the row ID of this expando value.
|
long |
getTableId()
Returns the table ID of this expando value.
|
long |
getValueId()
Returns the value ID of this expando value.
|
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 |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this expando value.
|
void |
setClassPK(long classPK)
Sets the class pk of this expando value.
|
void |
setColumnId(long columnId)
Sets the column ID of this expando value.
|
void |
setCompanyId(long companyId)
Sets the company ID of this expando value.
|
void |
setData(String data)
Sets the data of this expando value.
|
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 |
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 value.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRowId(long rowId)
Sets the row ID of this expando value.
|
void |
setTableId(long tableId)
Sets the table ID of this expando value.
|
void |
setValueId(long valueId)
Sets the value ID of this expando value.
|
CacheModel<ExpandoValue> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ExpandoValue |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
ExpandoValue |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this expando valuelong getValueId()
void setValueId(long valueId)
valueId
- the value ID of this expando valuelong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this expando valuelong getTableId()
void setTableId(long tableId)
tableId
- the table ID of this expando valuelong getColumnId()
void setColumnId(long columnId)
columnId
- the column ID of this expando valuelong getRowId()
void setRowId(long rowId)
rowId
- the row ID of this expando valueString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this expando valuelong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class pk of this expando value@AutoEscape String getData()
void setData(String data)
data
- the data of this expando valueboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<ExpandoValue>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ExpandoValue>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<ExpandoValue>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ExpandoValue>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<ExpandoValue>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoValue>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoValue>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ExpandoValue>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<ExpandoValue>
int compareTo(ExpandoValue expandoValue)
compareTo
in interface Comparable<ExpandoValue>
int hashCode()
hashCode
in class Object
CacheModel<ExpandoValue> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoValue>
ExpandoValue toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<ExpandoValue>
AutoEscapeBeanHandler
ExpandoValue toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoValue>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoValue>