org.gjt.universe
Class DBType
java.lang.Object
|
+--org.gjt.universe.DBType
- All Implemented Interfaces:
- java.io.Serializable
- public final class DBType
- extends java.lang.Object
- implements java.io.Serializable
Enumerated type for the DBItem class.
- See Also:
Index
,
DBItem
,
Serialized Form
Constructor Summary |
private |
DBType(java.lang.String inID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
private java.lang.String id
Undefined
public static final DBType Undefined
Cost
public static final DBType Cost
Fleet
public static final DBType Fleet
Galaxy
public static final DBType Galaxy
Knowledge
public static final DBType Knowledge
ModuleDesign
public static final DBType ModuleDesign
Module
public static final DBType Module
Planet
public static final DBType Planet
Civ
public static final DBType Civ
ShipDesign
public static final DBType ShipDesign
Ship
public static final DBType Ship
Station
public static final DBType Station
System
public static final DBType System
Tech
public static final DBType Tech
DBType
private DBType(java.lang.String inID)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public static DBType getType(Index idx)
- Get the DBType corresponding to an Index object.
- Parameters:
idx
- the Index to find the type for
- Returns:
- the corresponding DBType, or null if it is unknown
Copyright © 2001 Universe Dev Team All Rights Reserved.