Class MonitoringStatusBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.monitoring.MonitoringStatusBean
- All Implemented Interfaces:
MonitoringStatus
,ecmwf.web.model.ModelBean
- Direct Known Subclasses:
DestinationProductStatusBean
,DestinationStatusBean
,ProductStatusBean
,ProductStepStatusBean
The Class MonitoringStatusBean.
-
Constructor Summary
ConstructorsConstructorDescriptionMonitoringStatusBean
(boolean calculated) Instantiates a new monitoring status bean. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the arrival status.Gets the bean interface name.int
Gets the real time arrival status.int
Gets the real time transfer status.int
Gets the transfer status.boolean
Checks if is calculated.boolean
Checks if is present.void
reset()
Reset.void
setArrivalStatus
(int arrivalStatus) Sets the arrival status.void
setCalculated
(boolean calculated) Sets the calculated.void
Sets the is expected.void
setPresent
(boolean present) Sets the present.void
setRealTimeArrivalStatus
(int realTimeArrivalStatus) Sets the real time arrival status.void
setRealTimeTransferStatus
(int realTimeTransferStatus) Sets the real time transfer status.void
setTransferStatus
(int transferStatus) Sets the transfer status.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setId
-
Constructor Details
-
MonitoringStatusBean
public MonitoringStatusBean(boolean calculated) Instantiates a new monitoring status bean.- Parameters:
calculated
- the calculated
-
-
Method Details
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getArrivalStatus
public int getArrivalStatus()Gets the arrival status. Gets the arrival status.- Specified by:
getArrivalStatus
in interfaceMonitoringStatus
- Returns:
- Arrival Status coming from ECPDS calculations
-
setArrivalStatus
public void setArrivalStatus(int arrivalStatus) Sets the arrival status. Sets the arrival status.- Specified by:
setArrivalStatus
in interfaceMonitoringStatus
- Parameters:
arrivalStatus
- the new arrival status
-
isCalculated
public boolean isCalculated()Checks if is calculated. Checks if is calculated.- Specified by:
isCalculated
in interfaceMonitoringStatus
- Returns:
- Do we have information about IF this combination exists
-
setCalculated
public void setCalculated(boolean calculated) Sets the calculated. Sets the calculated.- Specified by:
setCalculated
in interfaceMonitoringStatus
- Parameters:
calculated
- the new calculated
-
isPresent
public boolean isPresent()Checks if is present. Checks if is present.- Specified by:
isPresent
in interfaceMonitoringStatus
- Returns:
- Does this combination exist
-
setPresent
public void setPresent(boolean present) Sets the present. Sets the present.- Specified by:
setPresent
in interfaceMonitoringStatus
- Parameters:
present
- the new present
-
getRealTimeArrivalStatus
public int getRealTimeArrivalStatus()Gets the real time arrival status. Gets the real time arrival status.- Specified by:
getRealTimeArrivalStatus
in interfaceMonitoringStatus
- Returns:
- Arrival Status coming from ECPDS calculation, but in "realtime" version, that is, once the product is received the status will be set to OK, no matter what happened before
-
setRealTimeArrivalStatus
public void setRealTimeArrivalStatus(int realTimeArrivalStatus) Sets the real time arrival status. Sets the real time arrival status.- Specified by:
setRealTimeArrivalStatus
in interfaceMonitoringStatus
- Parameters:
realTimeArrivalStatus
- the new real time arrival status
-
getRealTimeTransferStatus
public int getRealTimeTransferStatus()Gets the real time transfer status. Gets the real time transfer status.- Specified by:
getRealTimeTransferStatus
in interfaceMonitoringStatus
- Returns:
- Transfer Status coming from ECPDS calculation, but in "realtime" version, that is, once the product is transferred the status will be set to OK, no matter what happened before
-
setRealTimeTransferStatus
public void setRealTimeTransferStatus(int realTimeTransferStatus) Sets the real time transfer status. Sets the real time transfer status.- Specified by:
setRealTimeTransferStatus
in interfaceMonitoringStatus
- Parameters:
realTimeTransferStatus
- the new real time transfer status
-
getTransferStatus
public int getTransferStatus()Gets the transfer status. Gets the transfer status.- Specified by:
getTransferStatus
in interfaceMonitoringStatus
- Returns:
- Transfer Status coming from ECPDS calculations
-
setTransferStatus
public void setTransferStatus(int transferStatus) Sets the transfer status. Sets the transfer status.- Specified by:
setTransferStatus
in interfaceMonitoringStatus
- Parameters:
transferStatus
- the new transfer status
-
reset
public void reset()Reset. -
setIsExpected
public void setIsExpected()Sets the is expected.
-