Package de.dlr.proseo.model
Class Orbit
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Orbit
The description of an orbit identified by its start and stop times (e. g. the "spacecraft midnight" events of the
Sentinel-5P satellite). There must be no time gap between subsequent orbits of the same spacecraft.
Orbit times (and all derived times in prosEO) are given in UTC-STS (leap seconds spread evenly over the last 1000 seconds of the day) and to a microsecond precision. The public static variable orbitTimeFormatter gives a standard format for parsing and formatting orbit times.
Orbit times (and all derived times in prosEO) are given in UTC-STS (leap seconds spread evenly over the last 1000 seconds of the day) and to a microsecond precision. The public static variable orbitTimeFormatter gives a standard format for parsing and formatting orbit times.
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the orbit numberGets the related spacecraftGets the orbit start timeGets the orbit stop timeinthashCode()voidsetOrbitNumber(Integer orbitNumber) Sets the orbit numbervoidsetSpacecraft(Spacecraft spacecraft) Sets the related spacecraftvoidsetStartTime(Instant startTime) Sets the orbit start timevoidsetStopTime(Instant stopTime) Sets the orbit stop timetoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
Orbit
public Orbit()
-
-
Method Details
-
getSpacecraft
Gets the related spacecraft- Returns:
- the spacecraft
-
setSpacecraft
Sets the related spacecraft- Parameters:
spacecraft- the spacecraft to set
-
getOrbitNumber
Gets the orbit number- Returns:
- the orbitNumber
-
setOrbitNumber
Sets the orbit number- Parameters:
orbitNumber- the orbitNumber to set
-
getStartTime
Gets the orbit start time- Returns:
- the startTime
-
setStartTime
Sets the orbit start time- Parameters:
startTime- the startTime to set
-
getStopTime
Gets the orbit stop time- Returns:
- the stopTime
-
setStopTime
Sets the orbit stop time- Parameters:
stopTime- the stopTime to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classPersistentObject
-
equals
Description copied from class:PersistentObjectTest equality of persistent objects based on their unique ID.- Overrides:
equalsin classPersistentObject- Parameters:
obj- the object to compare this object to- Returns:
- true, if obj is a persistent object and has the same ID, false otherwise
- See Also:
-
toString
-