01: /**
02: * $Id: DesktopStatisticsBean.java,v 1.5 2005/11/10 08:40:41 pa157442 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.console.monitoring.desktopStatistics;
14:
15: public class DesktopStatisticsBean {
16:
17: public String type = null;
18: public Long count = null;
19: public Long minTime = null;
20: public Long maxTime = null;
21: public Long totalTime = null;
22: public Long rollingAvgTime = null;
23: public String instanceId = null;
24: public boolean isNull = false;
25:
26: /** Creates a new instance of DesktopStatistics */
27: public DesktopStatisticsBean(String type, Long count, Long minTime,
28: Long maxTime, Long totalTime, Long rollingAvgTime,
29: String instanceId, boolean isNull) {
30: this .type = type;
31: this .count = count;
32: this .minTime = minTime;
33: this .maxTime = maxTime;
34: this .totalTime = totalTime;
35: this .rollingAvgTime = rollingAvgTime;
36: this .instanceId = instanceId;
37: this .isNull = isNull;
38: }
39:
40: public String getType() {
41: return type;
42: }
43:
44: public Long getCount() {
45: return count;
46: }
47:
48: public Long getMinTime() {
49: return minTime;
50: }
51:
52: public Long getMaxTime() {
53: return maxTime;
54: }
55:
56: public Long getTotalTime() {
57: return totalTime;
58: }
59:
60: public Long getRollingAvgTime() {
61: return rollingAvgTime;
62: }
63:
64: public String getInstanceId() {
65: return instanceId;
66: }
67:
68: public boolean getIsNull() {
69: return isNull;
70: }
71:
72: }
|