universe.common.database
Class DBItem

java.lang.Object
  |
  +--universe.common.database.DBItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GalaxyBase, PlanetBase, PlayerBase, SystemBase

public abstract class DBItem
extends java.lang.Object
implements java.io.Serializable

The base class of all database items. The database items are assumed to have a small set of basic attributes, which are accessible through the interface. For some of the subtypes, the Owner and Location attributes are nonsensical, and standard fail-safe methods have been provided.

See Also:
Serialized Form

Constructor Summary
DBItem()
           
 
Method Summary
abstract  Index getIndex()
           
abstract  java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBItem

public DBItem()
Method Detail

getIndex

public abstract Index getIndex()
See Also:
in the subclasses for a typed version.

getName

public abstract java.lang.String getName()


Copyright © 2001 Universe Dev Team All Rights Reserved.