org.csapi.jr.se.fw
Class FaultStatsRecord

java.lang.Object
  extended byorg.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(TimeInterval _period, 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.
 FaultStats[] getFaultStatsSet()
          This method returns a faultStatsSet.
 TimeInterval getPeriod()
          This method returns a period.
 int hashCode()
          Returns a hashcode value for the object.
 void setFaultStatsSet(FaultStats[] faultStatsSet)
          This method sets a faultStatsSet.
 void setPeriod(TimeInterval period)
          This method sets a period.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultStatsRecord

public FaultStatsRecord()
Creates a new FaultStatsRecord instance.


FaultStatsRecord

public FaultStatsRecord(TimeInterval _period,
                        FaultStats[] _faultStatsSet)
Creates a new FaultStatsRecord instance.

Parameters:
_period -
_faultStatsSet -
Method Detail

getPeriod

public TimeInterval getPeriod()
This method returns a period.

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

getFaultStatsSet

public FaultStats[] getFaultStatsSet()
This method returns a faultStatsSet.

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

setPeriod

public void setPeriod(TimeInterval period)
This method sets a period.


setFaultStatsSet

public void setFaultStatsSet(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.


hashCode

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