@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 |
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 |
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 long getPrimaryKey()
getPrimaryKey in interface ShoppingItemFieldModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ShoppingItemFieldModelprimaryKey - the primary key of this shopping item fieldpublic long getItemFieldId()
getItemFieldId in interface ShoppingItemFieldModelpublic void setItemFieldId(long itemFieldId)
setItemFieldId in interface ShoppingItemFieldModelitemFieldId - the item field ID of this shopping item fieldpublic long getItemId()
getItemId in interface ShoppingItemFieldModelpublic void setItemId(long itemId)
setItemId in interface ShoppingItemFieldModelitemId - the item ID of this shopping item fieldpublic java.lang.String getName()
getName in interface ShoppingItemFieldModelpublic void setName(java.lang.String name)
setName in interface ShoppingItemFieldModelname - the name of this shopping item fieldpublic java.lang.String getValues()
getValues in interface ShoppingItemFieldModelpublic void setValues(java.lang.String values)
setValues in interface ShoppingItemFieldModelvalues - the values of this shopping item fieldpublic java.lang.String getDescription()
getDescription in interface ShoppingItemFieldModelpublic void setDescription(java.lang.String description)
setDescription in interface ShoppingItemFieldModeldescription - the description of this shopping item fieldpublic 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 setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingItemField>setNew in interface ShoppingItemFieldModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingItemField>setCachedModel in interface ShoppingItemFieldModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingItemField>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShoppingItemFieldModelpublic 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 ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingItemField>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingItemFieldModelpublic 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 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 int hashCode()
hashCode in interface ShoppingItemFieldModelhashCode in class java.lang.Objectpublic CacheModel<ShoppingItemField> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingItemField>toCacheModel in interface ShoppingItemFieldModelpublic ShoppingItemField toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingItemField>toEscapedModel in interface ShoppingItemFieldModelAutoEscapeBeanHandlerpublic ShoppingItemField toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemField>toUnescapedModel in interface ShoppingItemFieldModelpublic java.lang.String toString()
toString in interface ShoppingItemFieldModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingItemField>toXmlString in interface ShoppingItemFieldModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic java.lang.String[] getValuesArray()
getValuesArray in interface ShoppingItemFieldpublic void setValuesArray(java.lang.String[] valuesArray)
setValuesArray in interface ShoppingItemFieldpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ShoppingItemField getWrappedShoppingItemField()
getWrappedModel()public ShoppingItemField getWrappedModel()
getWrappedModel in interface ModelWrapper<ShoppingItemField>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ShoppingItemField>