fr.ifremer.allegro.type
Class DateTimePosition

java.lang.Object
  extended by fr.ifremer.allegro.type.DateTimePosition
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DateTimePositionImpl

public abstract class DateTimePosition
extends java.lang.Object
implements java.io.Serializable

Position g??ographique ponctuele dat??e (point + date/heure).

See Also:
Serialized Form

Constructor Summary
protected DateTimePosition()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Indicates if the argument is of the same type and all values are equal.
 java.util.Date getDateTime()
           Date et heure de la position.
 java.lang.Float getLatitude()
           Latitude de la position, exprim??e en WGS84.
 java.lang.Float getLongitude()
           Longitude de la position, exprim??e en WGS84.
 int hashCode()
           
protected  void initialize()
          Hook for initializing the object in the subclass
static DateTimePosition newInstance(java.util.Date dateTime, java.lang.Float longitude, java.lang.Float latitude)
          Creates a new instance of DateTimePosition taking all properties.
static DateTimePosition newInstance(DateTimePosition otherObject)
          Creates a new instance from other DateTimePosition instance.
 void setDateTime(java.util.Date dateTime)
           
 void setLatitude(java.lang.Float latitude)
           
 void setLongitude(java.lang.Float longitude)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimePosition

protected DateTimePosition()
Method Detail

newInstance

public static DateTimePosition newInstance(java.util.Date dateTime,
                                           java.lang.Float longitude,
                                           java.lang.Float latitude)
Creates a new instance of DateTimePosition taking all properties.


newInstance

public static DateTimePosition newInstance(DateTimePosition otherObject)
Creates a new instance from other DateTimePosition instance.


initialize

protected void initialize()
Hook for initializing the object in the subclass


getDateTime

public java.util.Date getDateTime()

Date et heure de la position.


setDateTime

public void setDateTime(java.util.Date dateTime)

getLongitude

public java.lang.Float getLongitude()

Longitude de la position, exprim??e en WGS84.


setLongitude

public void setLongitude(java.lang.Float longitude)

getLatitude

public java.lang.Float getLatitude()

Latitude de la position, exprim??e en WGS84.


setLatitude

public void setLatitude(java.lang.Float latitude)

equals

public boolean equals(java.lang.Object object)
Indicates if the argument is of the same type and all values are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.