public class WorkloadItem
extends java.lang.Object
Constructor and Description |
---|
WorkloadItem(org.w3c.dom.Element row)
Constructs a
WorkloadItem unsing the specified Element . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
float |
getAverageLoad()
Returns the average load of this client in percent.
|
int |
getClient()
Returns the number of the client or -1 if this
WorkloadItem
represents the workload of all clients. |
float |
getLoadAt(int hour)
Returns the workload of this client in percent at the specified time.
|
int |
hashCode() |
java.lang.String |
toString() |
public WorkloadItem(org.w3c.dom.Element row)
WorkloadItem
unsing the specified Element
.row
- Elementpublic float getAverageLoad()
public int getClient()
WorkloadItem
represents the workload of all clients.public float getLoadAt(int hour)
hour
- valid: 1 - 24public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object