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 TypeMethodDescriptionintGets the arrival status.Gets the bean interface name.intGets the real time arrival status.intGets the real time transfer status.intGets the transfer status.booleanChecks if is calculated.booleanChecks if is present.voidreset()Reset.voidsetArrivalStatus(int arrivalStatus) Sets the arrival status.voidsetCalculated(boolean calculated) Sets the calculated.voidSets the is expected.voidsetPresent(boolean present) Sets the present.voidsetRealTimeArrivalStatus(int realTimeArrivalStatus) Sets the real time arrival status.voidsetRealTimeTransferStatus(int realTimeTransferStatus) Sets the real time transfer status.voidsetTransferStatus(int transferStatus) Sets the transfer status.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getArrivalStatus
public int getArrivalStatus()Gets the arrival status. Gets the arrival status.- Specified by:
getArrivalStatusin interfaceMonitoringStatus- Returns:
- Arrival Status coming from ECPDS calculations
-
setArrivalStatus
public void setArrivalStatus(int arrivalStatus) Sets the arrival status. Sets the arrival status.- Specified by:
setArrivalStatusin interfaceMonitoringStatus- Parameters:
arrivalStatus- the new arrival status
-
isCalculated
public boolean isCalculated()Checks if is calculated. Checks if is calculated.- Specified by:
isCalculatedin 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:
setCalculatedin interfaceMonitoringStatus- Parameters:
calculated- the new calculated
-
isPresent
public boolean isPresent()Checks if is present. Checks if is present.- Specified by:
isPresentin interfaceMonitoringStatus- Returns:
- Does this combination exist
-
setPresent
public void setPresent(boolean present) Sets the present. Sets the present.- Specified by:
setPresentin interfaceMonitoringStatus- Parameters:
present- the new present
-
getRealTimeArrivalStatus
public int getRealTimeArrivalStatus()Gets the real time arrival status. Gets the real time arrival status.- Specified by:
getRealTimeArrivalStatusin 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:
setRealTimeArrivalStatusin 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:
getRealTimeTransferStatusin 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:
setRealTimeTransferStatusin interfaceMonitoringStatus- Parameters:
realTimeTransferStatus- the new real time transfer status
-
getTransferStatus
public int getTransferStatus()Gets the transfer status. Gets the transfer status.- Specified by:
getTransferStatusin interfaceMonitoringStatus- Returns:
- Transfer Status coming from ECPDS calculations
-
setTransferStatus
public void setTransferStatus(int transferStatus) Sets the transfer status. Sets the transfer status.- Specified by:
setTransferStatusin interfaceMonitoringStatus- Parameters:
transferStatus- the new transfer status
-
reset
public void reset()Reset. -
setIsExpected
public void setIsExpected()Sets the is expected.
-