edu.washington.cs.rfid.data
Class RdrMetadata
java.lang.Object
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
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 |
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
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 IDsymID
- The symbolic ID (ex: "North side of CSE 405")floor
- The floor numbergmapX
- The X coordinate on the google map imagegmapY
- The Y coordinate on the google map imagelat
- The latitude of the readerlon
- The longitudehostname
- The hostname of the readerport
- The port of the reader
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
.