com.tootsville.user
Class TooterShooterEnum

java.lang.Object
  extended by org.starhope.appius.sql.SQLPeerDatum
      extended by org.starhope.appius.sql.SQLPeerEnum
          extended by com.tootsville.user.TooterShooterEnum
All Implemented Interfaces:
Serializable, Comparable<Object>

public class TooterShooterEnum
extends SQLPeerEnum

WRITEME: The documentation for this type (TooterShooterEnum) is incomplete. (brpocock@star-hope.org, Jan 8, 2010)

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Field Summary
private static HashMap<Integer,TooterShooter> gunEnumeration
          WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) gunEnumeration (TooterShooterEnum)
private static long serialVersionUID
          WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) serialVersionUID (long)
 
Fields inherited from class org.starhope.appius.sql.SQLPeerEnum
enumeration, instance
 
Constructor Summary
TooterShooterEnum()
          WRITEME
TooterShooterEnum(int id)
          WRITEME
 
Method Summary
 void flush()
          This is an overriding method.
protected  PreparedStatement getStatement(Connection connection)
          This is an overriding method.
 TooterShooter getTooterShooter()
          WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)
static TooterShooter getTooterShooter(int id)
          WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)
static void sendGunRunner(User toot)
          WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)
protected  void set(ResultSet rs)
          This is an overriding method.
 
Methods inherited from class org.starhope.appius.sql.SQLPeerEnum
cache, doRealCacheResetStatic, equals, equals, get, get, getCacheUniqueID, getEnumeration, getID, getID, getString, getString, hashCode, invalidateCache, invalidateCaches, prepCache, resetCache, set, set, toJSON, toString
 
Methods inherited from class org.starhope.appius.sql.SQLPeerDatum
changed, compareTo, findInCache, get, saveInCache, set
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

gunEnumeration

private static final HashMap<Integer,TooterShooter> gunEnumeration
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) gunEnumeration (TooterShooterEnum)


serialVersionUID

private static final long serialVersionUID
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) serialVersionUID (long)

See Also:
Constant Field Values
Constructor Detail

TooterShooterEnum

public TooterShooterEnum()
WRITEME


TooterShooterEnum

public TooterShooterEnum(int id)
WRITEME

Parameters:
id - unique ID of a gun
Method Detail

getTooterShooter

public static TooterShooter getTooterShooter(int id)
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)

Parameters:
id - WRITEME
Returns:
WRITEME

sendGunRunner

public static void sendGunRunner(User toot)
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)

Parameters:
toot - WRITEME

flush

public void flush()
This is an overriding method.

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

getStatement

protected PreparedStatement getStatement(Connection connection)
This is an overriding method.

Specified by:
getStatement in class SQLPeerEnum
Parameters:
connection - WRITEME
Returns:
WRITEME
See Also:
SQLPeerEnum.getStatement(java.sql.Connection)

getTooterShooter

public TooterShooter getTooterShooter()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010)

Returns:
WRITEME

set

protected void set(ResultSet rs)
            throws SQLException
This is an overriding method.

Specified by:
set in class SQLPeerDatum
Parameters:
rs - The result of an SQL query, with the cursor already pointed at the row describing this specific instance of the object.
Throws:
SQLException - if the database fails somehow
See Also:
SQLPeerDatum.set(java.sql.ResultSet)