01: package org.cougaar.qos.ResourceStatus;
02:
03: /**
04: * org/cougaar/qos/ResourceStatus/DataValue.java .
05: * Generated by the IDL-to-Java compiler (portable), version "3.2"
06: * from qrs.idl
07: * Tuesday, August 7, 2007 11:57:30 AM EDT
08: */
09:
10: public final class DataValue implements
11: org.omg.CORBA.portable.IDLEntity {
12:
13: // when it entered the rss
14: public long timestamp = (long) 0;
15:
16: // how quickly its usefulness decreases
17: public long halflife = (long) 0;
18:
19: // how believable it is (0-1)
20: public double credibility = (double) 0;
21:
22: // what units it's in (not usually filled in)
23: public String units = null;
24:
25: // where it came from
26: public String provenance = null;
27:
28: // the raw value
29: public org.cougaar.qos.ResourceStatus.data_value value = null;
30:
31: public DataValue() {
32: } // ctor
33:
34: public DataValue(long _timestamp, long _halflife,
35: double _credibility, String _units, String _provenance,
36: org.cougaar.qos.ResourceStatus.data_value _value) {
37: timestamp = _timestamp;
38: halflife = _halflife;
39: credibility = _credibility;
40: units = _units;
41: provenance = _provenance;
42: value = _value;
43: } // ctor
44:
45: } // class DataValue
|