com.endeca.mobile.services.cart.models
Class TableCellModel

java.lang.Object
  extended by com.endeca.mobile.services.cart.models.Model
      extended by com.endeca.mobile.services.cart.models.NamedModel
          extended by com.endeca.mobile.services.cart.models.TableCellModel
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GiftWrapOption, ShippingOption, SummaryAmount

public class TableCellModel
extends NamedModel

name goes on top left. description goes below name. value goes to the right hand side. image goes on the left before name and description. targetUri specifies a disclosure indicator accessory style. selected specifies a checkmark accessory style

See Also:
Serialized Form

Constructor Summary
TableCellModel()
           
 
Method Summary
 java.lang.String getImageURL()
          Image URL for a gift wrap option.
 java.lang.String getTargetUri()
           
 java.lang.String getValue()
          The value (right hand side).
 boolean isSelected()
          Whether or not this option is the selected option on the cart item.
 void setImageURL(java.lang.String imageURL)
           
 void setSelected(boolean selected)
           
 void setTargetUri(java.lang.String targetUri)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.endeca.mobile.services.cart.models.NamedModel
getDescription, getName, setDescription, setName
 
Methods inherited from class com.endeca.mobile.services.cart.models.Model
containsProperty, getId, getProperties, getProperty, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, putProperty, setId, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableCellModel

public TableCellModel()
Method Detail

getValue

public java.lang.String getValue()
The value (right hand side).


setValue

public void setValue(java.lang.String value)

isSelected

public boolean isSelected()
Whether or not this option is the selected option on the cart item.


setSelected

public void setSelected(boolean selected)

getImageURL

public java.lang.String getImageURL()
Image URL for a gift wrap option.


setImageURL

public void setImageURL(java.lang.String imageURL)

getTargetUri

public java.lang.String getTargetUri()

setTargetUri

public void setTargetUri(java.lang.String targetUri)