com.tootsville
Class StoreItem

java.lang.Object
  extended by org.starhope.appius.util.ManagedReferenceHolder
      extended by org.starhope.appius.sql.SQLPeerDatum
          extended by com.tootsville.StoreItem
All Implemented Interfaces:
java.io.Serializable

public class StoreItem
extends SQLPeerDatum

WRITEME: The documentation for this type (StoreItem) is incomplete. (brpocock, Aug 27, 2009)

Author:
brpocock
See Also:
Serialized Form

Constructor Summary
StoreItem()
           
 
Method Summary
 void flush()
          This is an overriding method.
static StoreItem getByID(int id)
          WRITEME: document this method (brpocock, Aug 27, 2009)
 int getItemID()
           
 java.math.BigDecimal getPrice()
           
 java.lang.String getTitle()
           
 void setItemID(int itemID1)
           
 void setPrice(java.math.BigDecimal price1)
           
 void setTitle(java.lang.String title1)
           
 org.json.JSONObject toJSON()
          WRITEME: document this method (brpocock, Aug 27, 2009)
 
Methods inherited from class org.starhope.appius.sql.SQLPeerDatum
changed, get, prepare, set
 
Methods inherited from class org.starhope.appius.util.ManagedReferenceHolder
deref, setRef
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreItem

public StoreItem()
Method Detail

getByID

public static StoreItem getByID(int id)
                         throws NotFoundException
WRITEME: document this method (brpocock, Aug 27, 2009)

Parameters:
id - the item id
Returns:
the item
Throws:
NotFoundException - if the item can't be found

flush

public void flush()
This is an overriding method.

Specified by:
flush in class SQLPeerDatum
See Also:
SQLPeerDatum.flush()

getItemID

public int getItemID()
Returns:
the itemID

getPrice

public java.math.BigDecimal getPrice()
Returns:
the price

getTitle

public java.lang.String getTitle()
Returns:
the title

setItemID

public void setItemID(int itemID1)
Parameters:
itemID1 - the itemID to set

setPrice

public void setPrice(java.math.BigDecimal price1)
Parameters:
price1 - the price to set

setTitle

public void setTitle(java.lang.String title1)
Parameters:
title1 - the title to set

toJSON

public org.json.JSONObject toJSON()
WRITEME: document this method (brpocock, Aug 27, 2009)

Overrides:
toJSON in class SQLPeerDatum
Returns:
WRITEME