universe.client.database
Class LocationConversion

java.lang.Object
  |
  +--universe.client.database.LocationConversion

public final class LocationConversion
extends java.lang.Object

The LocationConversion class is used to examine the contents of a Location object based on the client's view of the database.

Version:
$Id: LocationConversion.java,v 1.1 2003/04/03 07:10:37 sstarkey Exp $
See Also:
Location

Constructor Summary
LocationConversion()
           
 
Method Summary
static Index getContext(Location loc)
           
static Coord getCoords(Location loc)
           
static GalaxyID getGalaxy(Location loc)
           
static PlanetID getPlanet(Location loc)
           
static StationID getStation(Location loc)
           
static SystemID getSystem(Location loc)
           
static java.lang.String toString(Location loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationConversion

public LocationConversion()
Method Detail

getPlanet

public static PlanetID getPlanet(Location loc)

getSystem

public static SystemID getSystem(Location loc)

getGalaxy

public static GalaxyID getGalaxy(Location loc)

getStation

public static StationID getStation(Location loc)

getContext

public static Index getContext(Location loc)
Returns:
the Index of the DBItem containing this location.

getCoords

public static Coord getCoords(Location loc)

toString

public static java.lang.String toString(Location loc)


Copyright © 2001 Universe Dev Team All Rights Reserved.