edu.washington.cs.rfid.data
Class RdrMetadata

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

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

The memory-resident representation of reader metadata.

Author:
Evan
See Also:
Serialized Form

Field Summary
 double alt
           
 int assetNum
           
 int floor
           
 double gmapX
           
 double gmapY
           
 java.lang.String hostname
           
 double lat
           
 double lon
           
 int port
           
 int rdrID
           
 java.lang.String symID
           
 
Constructor Summary
RdrMetadata(int rdrID, java.lang.String symID, int floor, double gmapX, double gmapY, double lat, double lon, double alt, int assetNum, java.lang.String hostname, int port)
          Creates a new RdrMetadata with the specified parameters.
 
Method Summary
 java.lang.String toString()
          Returns a String that respresents this RdrMetadata.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rdrID

public int rdrID

symID

public java.lang.String symID

floor

public int floor

gmapX

public double gmapX

gmapY

public double gmapY

lat

public double lat

lon

public double lon

alt

public double alt

assetNum

public int assetNum

hostname

public java.lang.String hostname

port

public int port
Constructor Detail

RdrMetadata

public RdrMetadata(int rdrID,
                   java.lang.String symID,
                   int floor,
                   double gmapX,
                   double gmapY,
                   double lat,
                   double lon,
                   double alt,
                   int assetNum,
                   java.lang.String hostname,
                   int port)
Creates a new RdrMetadata with the specified parameters.

Parameters:
rdID - The reader ID
symID - The symbolic ID (ex: "North side of CSE 405")
floor - The floor number
gmapX - The X coordinate on the google map image
gmapY - The Y coordinate on the google map image
lat - The latitude of the reader
lon - The longitude
hostname - The hostname of the reader
port - The port of the reader
Method Detail

toString

public java.lang.String toString()
Returns a String that respresents this RdrMetadata.

Overrides:
toString in class java.lang.Object
Returns:
A String that respresents this RdrMetadata.