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