Class TrafficBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.TrafficBean
All Implemented Interfaces:
Traffic, ecmwf.web.model.ModelBean

public class TrafficBean extends ecmwf.web.dao.ModelBeanBase implements Traffic
The Class TrafficBean.
  • Constructor Details Link icon

    • TrafficBean Link icon

      protected TrafficBean(Traffic traffic)
      Instantiates a new traffic bean.
      Parameters:
      traffic - the traffic
  • Method Details Link icon

    • getBeanInterfaceName Link icon

      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
    • getDate Link icon

      public String getDate()
      Gets the date. Gets the date.
      Specified by:
      getDate in interface Traffic
      Returns:
      the date
    • getRate Link icon

      public double getRate()
      Gets the rate. Gets the rate.
      Specified by:
      getRate in interface Traffic
      Returns:
      the rate
    • getFormattedRate Link icon

      public String getFormattedRate()
      Gets the formatted rate. Gets the formatted rate.
      Specified by:
      getFormattedRate in interface Traffic
      Returns:
      the formatted rate
    • getBytes Link icon

      public long getBytes()
      Gets the bytes. Gets the bytes.
      Specified by:
      getBytes in interface Traffic
      Returns:
      the bytes
    • getFormattedBytes Link icon

      public String getFormattedBytes()
      Gets the formatted bytes. Gets the formatted bytes.
      Specified by:
      getFormattedBytes in interface Traffic
      Returns:
      the formatted bytes
    • getDuration Link icon

      public long getDuration()
      Gets the duration. Gets the duration.
      Specified by:
      getDuration in interface Traffic
      Returns:
      the duration
    • getFormattedDuration Link icon

      public String getFormattedDuration()
      Gets the formatted duration. Gets the formatted duration.
      Specified by:
      getFormattedDuration in interface Traffic
      Returns:
      the formatted duration
    • getFiles Link icon

      public int getFiles()
      Gets the files. Gets the files.
      Specified by:
      getFiles in interface Traffic
      Returns:
      the files