Class TrafficBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.TrafficBean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TrafficBean
(Traffic traffic) Instantiates a new traffic bean. -
Method Summary
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
-
TrafficBean
Instantiates a new traffic bean.- Parameters:
traffic
- the traffic
-
-
Method Details
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getDate
-
getRate
-
getFormattedRate
Gets the formatted rate. Gets the formatted rate.- Specified by:
getFormattedRate
in interfaceTraffic
- Returns:
- the formatted rate
-
getBytes
-
getFormattedBytes
Gets the formatted bytes. Gets the formatted bytes.- Specified by:
getFormattedBytes
in interfaceTraffic
- Returns:
- the formatted bytes
-
getDuration
public long getDuration()Gets the duration. Gets the duration.- Specified by:
getDuration
in interfaceTraffic
- Returns:
- the duration
-
getFormattedDuration
Gets the formatted duration. Gets the formatted duration.- Specified by:
getFormattedDuration
in interfaceTraffic
- Returns:
- the formatted duration
-
getFiles
-