@ProviderType public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField>
This interface and its corresponding implementation com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl 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.shopping.model.impl.ShoppingItemFieldImpl.
ShoppingItemField,
com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl,
com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ShoppingItemField shoppingItemField) |
java.lang.String |
getDescription()
Returns the description of this shopping item field.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getItemFieldId()
Returns the item field ID of this shopping item field.
|
long |
getItemId()
Returns the item ID of this shopping item field.
|
java.lang.String |
getName()
Returns the name of this shopping item field.
|
long |
getPrimaryKey()
Returns the primary key of this shopping item field.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getValues()
Returns the values of this shopping item field.
|
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 |
setDescription(java.lang.String description)
Sets the description of this shopping item field.
|
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 |
setItemFieldId(long itemFieldId)
Sets the item field ID of this shopping item field.
|
void |
setItemId(long itemId)
Sets the item ID of this shopping item field.
|
void |
setName(java.lang.String name)
Sets the name of this shopping item field.
|
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 shopping item field.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setValues(java.lang.String values)
Sets the values of this shopping item field.
|
CacheModel<ShoppingItemField> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
ShoppingItemField |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
ShoppingItemField |
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 shopping item fieldlong getItemFieldId()
void setItemFieldId(long itemFieldId)
itemFieldId - the item field ID of this shopping item fieldlong getItemId()
void setItemId(long itemId)
itemId - the item ID of this shopping item field@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping item field@AutoEscape java.lang.String getValues()
void setValues(java.lang.String values)
values - the values of this shopping item field@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping item fieldboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ShoppingItemField>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingItemField>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<ShoppingItemField>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingItemField>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ShoppingItemField>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingItemField>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingItemField>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingItemField>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<ShoppingItemField>int compareTo(ShoppingItemField shoppingItemField)
compareTo in interface java.lang.Comparable<ShoppingItemField>int hashCode()
hashCode in class java.lang.ObjectCacheModel<ShoppingItemField> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingItemField>ShoppingItemField toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingItemField>AutoEscapeBeanHandlerShoppingItemField toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemField>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingItemField>