edu.washington.cs.rfid.data
Class AntMetadata

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

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

The memory resident representation of antenna metadata.

Author:
Evan
See Also:
Serialized Form

Field Summary
 double alt
           
 int antID
           
 int antNum
           
 int assetNum
           
 int floor
           
 double gmapX
           
 double gmapY
           
 double lat
           
 double lon
           
 int rdrID
           
 java.lang.String symID
           
 
Constructor Summary
AntMetadata(int antID, java.lang.String symID, int rdrID, int antNum, int floor, double gmapX, double gmapY, double lat, double lon, double alt, int assetNum)
          Creates a new AntennaMetadata object with the given parameters.
 
Method Summary
 java.lang.String toString()
          Returns a String representing this AntennaMetadata.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

antID

public int antID

symID

public java.lang.String symID

rdrID

public int rdrID

antNum

public int antNum

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
Constructor Detail

AntMetadata

public AntMetadata(int antID,
                   java.lang.String symID,
                   int rdrID,
                   int antNum,
                   int floor,
                   double gmapX,
                   double gmapY,
                   double lat,
                   double lon,
                   double alt,
                   int assetNum)
Creates a new AntennaMetadata object with the given parameters.

Parameters:
antID - The antenna ID
symID - The symbolic ID (ex: "above north Ubicomp lab door")
rdrID - The reader ID
antNum - The antenna number on the reader (1-4)
floor - The floor number
gmapX - The X pixel coordinate on the gmap image
gmapY - The Y pixel coordinate on the gmap image
lat - The latitude
lon - The longitude
alt - The altitude in meters
assetNum - The asset number of the antenna
Method Detail

toString

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

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