edu.washington.cs.rfid.data
Class TRE

java.lang.Object
  extended by edu.washington.cs.rfid.data.TRE
All Implemented Interfaces:
java.io.Serializable

public class TRE
extends java.lang.Object
implements java.io.Serializable

The memory-resident representation of a tag read event.

Author:
Evan
See Also:
Serialized Form

Field Summary
 int antennaID
           
 long endTime
           
 int numReads
           
 long startTime
           
 long tagID
           
 int totalRSSI
           
 
Constructor Summary
TRE(long tagID, int antennaID, long startTime, long endTime, int numReads, int totalRSSI)
          Creates a new TRE object with the specified parameters.
 
Method Summary
 java.lang.String toString()
          Returns a String representing this CompressedTRE.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagID

public long tagID

antennaID

public int antennaID

startTime

public long startTime

endTime

public long endTime

numReads

public int numReads

totalRSSI

public int totalRSSI
Constructor Detail

TRE

public TRE(long tagID,
           int antennaID,
           long startTime,
           long endTime,
           int numReads,
           int totalRSSI)
Creates a new TRE object with the specified parameters.

Parameters:
tagID - The ID of the tag
antennaID - The ID of the antenna reading the tag
startTime - The start timestamp
endTime - The end timestamp
numReads - The number of reads
totalRSSI - The total RSSI
Method Detail

toString

public java.lang.String toString()
Returns a String representing this CompressedTRE.

Overrides:
toString in class java.lang.Object
Returns:
A String representing this CompressedTRE