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

public class MonitoringStatusBean extends ecmwf.web.dao.ModelBeanBase implements MonitoringStatus
The Class MonitoringStatusBean.
  • Constructor Details

    • MonitoringStatusBean

      public MonitoringStatusBean(boolean calculated)
      Instantiates a new monitoring status bean.
      Parameters:
      calculated - the calculated
  • Method Details

    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getArrivalStatus

      public int getArrivalStatus()
      Gets the arrival status. Gets the arrival status.
      Specified by:
      getArrivalStatus in interface MonitoringStatus
      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 interface MonitoringStatus
      Parameters:
      arrivalStatus - the new arrival status
    • isCalculated

      public boolean isCalculated()
      Checks if is calculated. Checks if is calculated.
      Specified by:
      isCalculated in interface MonitoringStatus
      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 interface MonitoringStatus
      Parameters:
      calculated - the new calculated
    • isPresent

      public boolean isPresent()
      Checks if is present. Checks if is present.
      Specified by:
      isPresent in interface MonitoringStatus
      Returns:
      Does this combination exist
    • setPresent

      public void setPresent(boolean present)
      Sets the present. Sets the present.
      Specified by:
      setPresent in interface MonitoringStatus
      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 interface MonitoringStatus
      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 interface MonitoringStatus
      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 interface MonitoringStatus
      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 interface MonitoringStatus
      Parameters:
      realTimeTransferStatus - the new real time transfer status
    • getTransferStatus

      public int getTransferStatus()
      Gets the transfer status. Gets the transfer status.
      Specified by:
      getTransferStatus in interface MonitoringStatus
      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 interface MonitoringStatus
      Parameters:
      transferStatus - the new transfer status
    • reset

      public void reset()
      Reset.
    • setIsExpected

      public void setIsExpected()
      Sets the is expected.