net.agmodel.pPhysical
Class PPlace

java.lang.Object
  extended bynet.agmodel.pPhysical.PLocation2D
      extended bynet.agmodel.pPhysical.PLocation
          extended bynet.agmodel.pPhysical.PPlace
All Implemented Interfaces:
Comparable, Serializable

public class PPlace
extends PLocation

Implements a persistent version of Place.

Author:
Matthew Laurenson
See Also:
Serialized Form

Constructor Summary
PPlace(double latitude, double longitude, double altitude, MultilingualString placeName)
           
 
Method Summary
 int compareTo(Object a)
           
 String getName(String language)
           
 String toString()
           
 
Methods inherited from class net.agmodel.pPhysical.PLocation
getAltitude, getLocation
 
Methods inherited from class net.agmodel.pPhysical.PLocation2D
getLatitude, getLocation2D, getLongitude
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PPlace

public PPlace(double latitude,
              double longitude,
              double altitude,
              MultilingualString placeName)
Method Detail

toString

public String toString()
Overrides:
toString in class PLocation

getName

public String getName(String language)

compareTo

public int compareTo(Object a)
Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class PLocation


Copyright (C) NARC 2001 All Rights Reserved.