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

    • TrafficBean

      protected TrafficBean(Traffic traffic)
      Instantiates a new traffic bean.
      Parameters:
      traffic - the traffic
  • 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
    • getDate

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

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

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

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

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

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

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

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