org.csapi.jr.se.fw
Class FaultStatsRecord

java.lang.Object
  |
  +--org.csapi.jr.se.fw.FaultStatsRecord
All Implemented Interfaces:
java.io.Serializable

public final class FaultStatsRecord
extends java.lang.Object
implements java.io.Serializable

This defines the set of records to be returned giving fault information for the requested time period.

See Also:
Serialized Form

Constructor Summary
FaultStatsRecord()
          Creates a new FaultStatsRecord instance.
FaultStatsRecord(org.csapi.jr.se.TimeInterval _period, org.csapi.jr.se.fw.FaultStats[] _faultStatsSet)
          Creates a new FaultStatsRecord instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.fw.FaultStats[] getFaultStatsSet()
          This method returns a faultStatsSet.
 org.csapi.jr.se.TimeInterval getPeriod()
          This method returns a period.
 int hashCode()
          Returns a hashcode value for the object.
 void setFaultStatsSet(org.csapi.jr.se.fw.FaultStats[] faultStatsSet)
          This method sets a faultStatsSet.
 void setPeriod(org.csapi.jr.se.TimeInterval period)
          This method sets a period.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultStatsRecord

public FaultStatsRecord()
Creates a new FaultStatsRecord instance.


FaultStatsRecord

public FaultStatsRecord(org.csapi.jr.se.TimeInterval _period,
                        org.csapi.jr.se.fw.FaultStats[] _faultStatsSet)
Creates a new FaultStatsRecord instance.

Parameters:
_period -
_faultStatsSet -
Method Detail

getPeriod

public org.csapi.jr.se.TimeInterval getPeriod()
This method returns a period.

Returns:
a org.csapi.jr.se.TimeInterval value

getFaultStatsSet

public org.csapi.jr.se.fw.FaultStats[] getFaultStatsSet()
This method returns a faultStatsSet.

Returns:
a org.csapi.jr.se.fw.FaultStats[] value

setPeriod

public void setPeriod(org.csapi.jr.se.TimeInterval period)
This method sets a period.


setFaultStatsSet

public void setFaultStatsSet(org.csapi.jr.se.fw.FaultStats[] faultStatsSet)
This method sets a faultStatsSet.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object