com.tootsville
Class Store

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

public class Store
extends SQLPeerDatum

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

Author:
brpocock
See Also:
Serialized Form

Constructor Summary
Store()
           
 
Method Summary
 void flush()
          This is an overriding method.
static Store getByID(int storeID)
          WRITEME: document this method (brpocock, Aug 27, 2009)
 int getID()
           
 StoreItem[] getItems()
          WRITEME: document this method (brpocock, Aug 27, 2009)
 org.json.JSONObject toJSON()
          This is the default SQLPeerDatum implementation of toJSON.
 
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

Store

public Store()
Method Detail

getByID

public static Store getByID(int storeID)
WRITEME: document this method (brpocock, Aug 27, 2009)

Parameters:
storeID - WRITEME
Returns:
WRITEME

flush

public void flush()
This is an overriding method.

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

getID

public int getID()
Returns:
the id

getItems

public StoreItem[] getItems()
WRITEME: document this method (brpocock, Aug 27, 2009)

Returns:
WRITEME

toJSON

public org.json.JSONObject toJSON()
Description copied from class: SQLPeerDatum
This is the default SQLPeerDatum implementation of toJSON. This uses Java reflection and “bean-type” methods to extract the contents of an object and create a JSON field.

Overrides:
toJSON in class SQLPeerDatum
Returns:
This object's data, serialized into JSON form.