org.starhope.appius.user
Class MusicItem
java.lang.Object
org.starhope.appius.util.ManagedReferenceHolder
org.starhope.appius.sql.SQLPeerDatum
org.starhope.appius.user.InventoryItem
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
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 |
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 |
MusicItem
public MusicItem()
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)