@ProviderType public class ShoppingItemFieldWrapper extends java.lang.Object implements ShoppingItemField, ModelWrapper<ShoppingItemField>
This class is a wrapper for ShoppingItemField.
ShoppingItemField,
Serialized Form| Constructor and Description |
|---|
ShoppingItemFieldWrapper(ShoppingItemField shoppingItemField) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ShoppingItemField shoppingItemField) |
boolean |
equals(java.lang.Object obj) |
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.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
java.lang.String[] |
getValuesArray() |
ShoppingItemField |
getWrappedModel() |
ShoppingItemField |
getWrappedShoppingItemField()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
void |
setValuesArray(java.lang.String[] valuesArray) |
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.
|
public ShoppingItemFieldWrapper(ShoppingItemField shoppingItemField)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ShoppingItemField>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ShoppingItemField>public java.lang.Object clone()
BaseModelclone in interface BaseModel<ShoppingItemField>clone in interface ShoppingItemFieldModelclone in class java.lang.Objectpublic int compareTo(ShoppingItemField shoppingItemField)
compareTo in interface ShoppingItemFieldModelcompareTo in interface java.lang.Comparable<ShoppingItemField>public java.lang.String getDescription()
getDescription in interface ShoppingItemFieldModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingItemField>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingItemFieldModelpublic long getItemFieldId()
getItemFieldId in interface ShoppingItemFieldModelpublic long getItemId()
getItemId in interface ShoppingItemFieldModelpublic java.lang.String getName()
getName in interface ShoppingItemFieldModelpublic long getPrimaryKey()
getPrimaryKey in interface ShoppingItemFieldModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingItemField>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShoppingItemFieldModelpublic java.lang.String getValues()
getValues in interface ShoppingItemFieldModelpublic java.lang.String[] getValuesArray()
getValuesArray in interface ShoppingItemFieldpublic int hashCode()
hashCode in interface ShoppingItemFieldModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ShoppingItemField>isCachedModel in interface ShoppingItemFieldModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ShoppingItemField>isEscapedModel in interface ShoppingItemFieldModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ShoppingItemField>isNew in interface ShoppingItemFieldModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingItemField>setCachedModel in interface ShoppingItemFieldModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setDescription(java.lang.String description)
setDescription in interface ShoppingItemFieldModeldescription - the description of this shopping item fieldpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setItemFieldId(long itemFieldId)
setItemFieldId in interface ShoppingItemFieldModelitemFieldId - the item field ID of this shopping item fieldpublic void setItemId(long itemId)
setItemId in interface ShoppingItemFieldModelitemId - the item ID of this shopping item fieldpublic void setName(java.lang.String name)
setName in interface ShoppingItemFieldModelname - the name of this shopping item fieldpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingItemField>setNew in interface ShoppingItemFieldModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ShoppingItemFieldModelprimaryKey - the primary key of this shopping item fieldpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingItemField>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ShoppingItemFieldModelprimaryKeyObj - the primary key of this model instancepublic void setValues(java.lang.String values)
setValues in interface ShoppingItemFieldModelvalues - the values of this shopping item fieldpublic void setValuesArray(java.lang.String[] valuesArray)
setValuesArray in interface ShoppingItemFieldpublic CacheModel<ShoppingItemField> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingItemField>toCacheModel in interface ShoppingItemFieldModelpublic ShoppingItemField toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingItemField>toEscapedModel in interface ShoppingItemFieldModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface ShoppingItemFieldModeltoString in class java.lang.Objectpublic ShoppingItemField toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemField>toUnescapedModel in interface ShoppingItemFieldModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingItemField>toXmlString in interface ShoppingItemFieldModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public ShoppingItemField getWrappedShoppingItemField()
getWrappedModel()public ShoppingItemField getWrappedModel()
getWrappedModel in interface ModelWrapper<ShoppingItemField>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<ShoppingItemField>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<ShoppingItemField>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ShoppingItemField>