ist.palcom.services.ais
Class ShipInfo

java.lang.Object
  extended by ist.palcom.services.ais.ShipInfo

public class ShipInfo
extends java.lang.Object

Represents some of the avialable AIS info from a given ship.


Constructor Summary
ShipInfo(int userID, double latitude, double longitude, int heading)
           
 
Method Summary
 double getEasting()
           
 int getHeading()
           
 double getLatitude()
           
 double getLongitude()
           
 java.lang.String getName()
           
 double getNorthing()
           
 int getUserID()
          The callsign will be unique among all ships
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShipInfo

public ShipInfo(int userID,
                double latitude,
                double longitude,
                int heading)
Method Detail

getUserID

public int getUserID()
The callsign will be unique among all ships


getHeading

public int getHeading()

getLatitude

public double getLatitude()

getLongitude

public double getLongitude()

getEasting

public double getEasting()

getNorthing

public double getNorthing()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object