Package de.dlr.proseo.model
Class OrderTrigger
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.OrderTrigger
- Direct Known Subclasses:
DataDrivenOrderTrigger,MissionPlanningOrderTrigger,TimerOrderTrigger
Base class for all order generation triggers
- Since:
- prosEO 2.1.0
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the status of the "enabled" flagGets the processing order execution delay relative to the trigger firing timeGets the mission this trigger belongs togetName()Gets the trigger nameGets the associated order templateGets the processing order execution priorityinthashCode()Indicates, whether the workflow is available for usevoidsetEnabled(Boolean enabled) Sets the status of the "enabled" flagvoidsetExecutionDelay(Duration executionDelay) Sets the processing order execution delay relative to the trigger firing timevoidsetMission(Mission mission) Sets the mission this trigger belongs tovoidSets the trigger namevoidsetOrderTemplate(OrderTemplate orderTemplate) Sets the associated order templatevoidsetPriority(Integer priority) Sets the processing order execution prioritytoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
OrderTrigger
public OrderTrigger()
-
-
Method Details
-
getMission
Gets the mission this trigger belongs to- Returns:
- the mission
-
setMission
Sets the mission this trigger belongs to- Parameters:
mission- the mission to set
-
getName
Gets the trigger name- Returns:
- the trigger name
-
setName
Sets the trigger name- Parameters:
name- the trigger name to set
-
getEnabled
Gets the status of the "enabled" flag- Returns:
- the enabled flag
-
isEnabled
Indicates, whether the workflow is available for use- Returns:
- the enabled flag
-
setEnabled
Sets the status of the "enabled" flag- Parameters:
enabled- the status of the enabled flag to set
-
getOrderTemplate
Gets the associated order template- Returns:
- the order template
-
setOrderTemplate
Sets the associated order template- Parameters:
orderTemplate- the order template to set
-
getExecutionDelay
Gets the processing order execution delay relative to the trigger firing time- Returns:
- the order execution delay
-
setExecutionDelay
Sets the processing order execution delay relative to the trigger firing time- Parameters:
executionDelay- the order execution delay to set
-
getPriority
Gets the processing order execution priority- Returns:
- the order execution priority
-
setPriority
Sets the processing order execution priority- Parameters:
priority- the order execution priority 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
-