Package de.dlr.proseo.model
Class Mission
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.Mission
An Earth Observation mission.
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.getCode()Gets the mission codeGets the allowed file classesgetName()Gets the mission nameGets the default order retention periodGets the processing centreGets the processing mode tags defined for the missionGets the processing orders issued for this missionGets the processor classes defined for this missionGets the product classes defined for this missionGets the product filename templateGets the default product retention periodGets the set of spacecraftsinthashCode()voidSets the mission codevoidsetFileClasses(Set<String> fileClasses) Sets the allowed file classesvoidSets the mission namevoidsetOrderRetentionPeriod(Duration orderRetentionPeriod) Sets the default order retention periodvoidsetProcessingCentre(String processingCentre) Sets the processing centrevoidsetProcessingModes(Set<String> processingModes) Sets the processing mode tags defined for the missionvoidsetProcessingOrders(Set<ProcessingOrder> processingOrders) Sets the processing orders issued for this missionvoidsetProcessorClasses(Set<ProcessorClass> processorClasses) Sets the processor classes defined for this missionvoidsetProductClasses(Set<ProductClass> productClasses) Sets the product classes defined for this missionvoidsetProductFileTemplate(String productFileTemplate) Sets the product filename templatevoidsetProductRetentionPeriod(Duration productRetentionPeriod) Sets the default product retention periodvoidsetSpacecrafts(Set<Spacecraft> spacecrafts) Sets the set of spacecraftstoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
Mission
public Mission()
-
-
Method Details
-
getCode
Gets the mission code- Returns:
- the code
-
setCode
Sets the mission code- Parameters:
code- the code to set
-
getName
Gets the mission name- Returns:
- the name
-
setName
Sets the mission name- Parameters:
name- the name to set
-
getFileClasses
Gets the allowed file classes- Returns:
- the fileClasses
-
setFileClasses
Sets the allowed file classes- Parameters:
fileClasses- the fileClasses to set
-
getProcessingModes
Gets the processing mode tags defined for the mission- Returns:
- the processingModes
-
setProcessingModes
Sets the processing mode tags defined for the mission- Parameters:
processingModes- the processingModes to set
-
getProductFileTemplate
Gets the product filename template- Returns:
- the productFileTemplate
-
setProductFileTemplate
Sets the product filename template- Parameters:
productFileTemplate- the product filename template to set
-
getProcessingCentre
Gets the processing centre- Returns:
- the processing centre
-
setProcessingCentre
Sets the processing centre- Parameters:
processingCentre- the processing centre to set
-
getProductRetentionPeriod
Gets the default product retention period- Returns:
- the product retention period
-
setProductRetentionPeriod
Sets the default product retention period- Parameters:
productRetentionPeriod- the product retention period to set
-
getOrderRetentionPeriod
Gets the default order retention period- Returns:
- the order retention period
-
setOrderRetentionPeriod
Sets the default order retention period- Parameters:
orderRetentionPeriod- the order retention period to set
-
getSpacecrafts
Gets the set of spacecrafts- Returns:
- the spacecrafts
-
setSpacecrafts
Sets the set of spacecrafts- Parameters:
spacecrafts- the spacecrafts to set
-
getProductClasses
Gets the product classes defined for this mission- Returns:
- the productClasses
-
setProductClasses
Sets the product classes defined for this mission- Parameters:
productClasses- the productClasses to set
-
getProcessorClasses
Gets the processor classes defined for this mission- Returns:
- the processorClasses
-
setProcessorClasses
Sets the processor classes defined for this mission- Parameters:
processorClasses- the processorClasses to set
-
getProcessingOrders
Gets the processing orders issued for this mission- Returns:
- the processingOrders
-
setProcessingOrders
Sets the processing orders issued for this mission- Parameters:
processingOrders- the processingOrders 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
-