org.starhope.appius.user
Class MusicItem

java.lang.Object
  extended by org.starhope.appius.util.ManagedReferenceHolder
      extended by org.starhope.appius.sql.SQLPeerDatum
          extended by org.starhope.appius.user.InventoryItem
              extended by org.starhope.appius.user.MusicItem

public class MusicItem
extends InventoryItem

WRITEME: The documentation for this type (MusicItem) is incomplete. (brpocock, Jul 13, 2009)

Author:
brpocock

Field Summary
 
Fields inherited from class org.starhope.appius.user.InventoryItem
active, id, ownerID, slotNumber, Type_Backpacks, Type_Ceiling, Type_Ceiling_Furniture, Type_Dresses, Type_Ears, Type_Eyes, Type_Floor_Furniture, Type_Flooring, Type_Music, Type_Neck, Type_Orbitz, Type_Pants, Type_Pattern, Type_Pivitz, Type_Shirts, Type_Tops, Type_Wall_Furniture, Type_Wallpaper, typeID
 
Constructor Summary
MusicItem()
           
 
Method Summary
protected  void assertValidTypeID(long testTypeID)
          This is an overriding method.
 void flush()
          This is an overriding method.
protected  void set(ResultSet rs)
          This is an overriding method.
 
Methods inherited from class org.starhope.appius.user.InventoryItem
asClothing, asHomeDecorItem, getByID, getByID, getCacheUniqueID, getClassForThisType, getClassForType, getID, getItemClass, getMountPoint, getOwner, getOwnerID, getSlotNumber, getTypeID, getTypesOfClothing, getTypesOfFurniture, getTypesOfStructure, getTypesOfWearables, identifiesAs, isActive, isClothingOnly, isFurniture, isMusic, isPattern, isPivitz, isStructure, isWearable, setActive, setOwner, setOwnerID, setSlotNumber, setTypeID, toJSON, toString
 
Methods inherited from class org.starhope.appius.sql.SQLPeerDatum
changed, findInCache, get, prepare, prepare, saveInCache, set
 
Methods inherited from class org.starhope.appius.util.ManagedReferenceHolder
deref, setRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MusicItem

public MusicItem()
Method Detail

assertValidTypeID

protected void assertValidTypeID(long testTypeID)
                          throws GameLogicException
This is an overriding method.

Specified by:
assertValidTypeID in class InventoryItem
Parameters:
testTypeID - The type ID to be checked
Throws:
GameLogicException - if the type ID is not of the types supported by this class
See Also:
InventoryItem.assertValidTypeID(long)

flush

public void flush()
This is an overriding method.

Overrides:
flush in class InventoryItem
See Also:
SQLPeerDatum.flush()

set

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

Specified by:
set in class SQLPeerDatum
Throws:
SQLException - if the database fails somehow
See Also:
SQLPeerDatum.set(java.sql.ResultSet)