Package de.dlr.proseo.model
Klasse Spacecraft
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Spacecraft
The abstraction of a spacecraft used for a specific Mission. A Mission may operate more than one spacecraft.
- Autor:
- Dr. Thomas Bassler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Test equality of persistent objects based on their unique ID.getCode()
Gets the spacecraft codeGets the mission of this spacecraftgetName()
Gets the spacecraft nameGet the orbits of the spacecraftGets the list of payloadsint
hashCode()
void
Sets the spacecraft codevoid
setMission
(Mission mission) Sets the mission of this spacecraftvoid
Sets the spacecraft namevoid
Set the orbits of the spacecraftvoid
setPayloads
(List<Payload> payloads) Sets the list of payloadstoString()
Von Klasse geerbte Methoden de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Konstruktordetails
-
Spacecraft
public Spacecraft()
-
-
Methodendetails
-
getMission
Gets the mission of this spacecraft- Gibt zurück:
- the mission
-
setMission
Sets the mission of this spacecraft- Parameter:
mission
- the mission to set
-
getCode
Gets the spacecraft code- Gibt zurück:
- the code
-
setCode
Sets the spacecraft code- Parameter:
code
- the code to set
-
getName
Gets the spacecraft name- Gibt zurück:
- the name
-
setName
Sets the spacecraft name- Parameter:
name
- the name to set
-
getOrbits
Get the orbits of the spacecraft- Gibt zurück:
- the orbits
-
setOrbits
Set the orbits of the spacecraft- Parameter:
orbits
- the orbits to set
-
getPayloads
Gets the list of payloads- Gibt zurück:
- the payloads
-
setPayloads
Sets the list of payloads- Parameter:
payloads
- the payloads to set
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlassePersistentObject
-
equals
Beschreibung aus Klasse kopiert:PersistentObject
Test equality of persistent objects based on their unique ID.- Setzt außer Kraft:
equals
in KlassePersistentObject
- Parameter:
obj
- the object to compare this object to- Gibt zurück:
- true, if obj is a persistent object and has the same ID, false otherwise
- Siehe auch:
-
toString
-