ist.palcom.ais
Class ShipInfo
java.lang.Object
ist.palcom.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ShipInfo
public ShipInfo(int userID,
double latitude,
double longitude,
int heading)
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