edu.washington.cs.rfid.data
Class TagMetadata
java.lang.Object
edu.washington.cs.rfid.data.TagMetadata
- All Implemented Interfaces:
- java.io.Serializable
public class TagMetadata
- extends java.lang.Object
- implements java.io.Serializable
The memory-resident representation of tag metadata.
- Author:
- Evan
- See Also:
- Serialized Form
Constructor Summary |
TagMetadata(long tagID,
int objectID,
long startTime,
long stopTime)
Creates a TagMetadata object with the specified parameters. |
Method Summary |
java.lang.String |
toString()
Returns a String representing this TagMetadata . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tagID
public long tagID
objectID
public int objectID
startTime
public long startTime
stopTime
public long stopTime
TagMetadata
public TagMetadata(long tagID,
int objectID,
long startTime,
long stopTime)
- Creates a
TagMetadata
object with the specified parameters.
- Parameters:
tagID
- The ID of the tagobjectID
- The ID of the tagged objectstartTime
- The time when this tag-to-object association was createdstopTime
- The time when this tag-to-object association ended
toString
public java.lang.String toString()
- Returns a
String
representing this TagMetadata
.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A
String
representing this TagMetadata
.