1.0.0

org.eclipse.soda.dk.data
Class PositionData

java.lang.Object
  extended by org.eclipse.soda.dk.data.PositionData

public class PositionData
extends java.lang.Object

Version:
1.0.0

Constructor Summary
PositionData(Degree latitude, Degree longitude)
          Constructs an instance of this class from the specified latitude and longitude parameters.
PositionData(java.lang.String latitudeString, java.lang.String longitudeString)
          Constructs an instance of this class from the specified latitude string and longitude string parameters.
 
Method Summary
 boolean equals(java.lang.Object compare)
          Equals with the specified compare parameter and return the boolean result.
 Degree getLatitude()
          Gets the latitude (Degree) value.
 Degree getLongitude()
          Gets the longitude (Degree) value.
 java.lang.String toString()
          Returns the string value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionData

public PositionData(java.lang.String latitudeString,
                    java.lang.String longitudeString)
Constructs an instance of this class from the specified latitude string and longitude string parameters.

Parameters:
latitudeString - The latitude string (String) parameter.
longitudeString - The longitude string (String) parameter.
See Also:
PositionData(Degree,Degree)

PositionData

public PositionData(Degree latitude,
                    Degree longitude)
Constructs an instance of this class from the specified latitude and longitude parameters.

Parameters:
latitude - The latitude (Degree) parameter.
longitude - The longitude (Degree) parameter.
See Also:
PositionData(String,String)
Method Detail

equals

public boolean equals(java.lang.Object compare)
Equals with the specified compare parameter and return the boolean result.

Overrides:
equals in class java.lang.Object
Parameters:
compare - The compare (Object) parameter.
Returns:
Results of the equals (boolean) value.

getLatitude

public Degree getLatitude()
Gets the latitude (Degree) value.

Returns:
The latitude (Degree) value.

getLongitude

public Degree getLongitude()
Gets the longitude (Degree) value.

Returns:
The longitude (Degree) value.

toString

public java.lang.String toString()
Returns the string value.

Overrides:
toString in class java.lang.Object
Returns:
The string (String) value.

1.0.0

Copyright (c) 1999, 2007 IBM