edu.washington.cs.rfid.data
Class ObjectMetadata

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

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

The memory resident representation of object metadata.

Author:
Evan
See Also:
Serialized Form

Field Summary
 java.lang.String description
           
 int objectID
           
 java.lang.String owner
           
 boolean personal
           
 int typeID
           
 
Constructor Summary
ObjectMetadata()
          Creates an ObjectMetadata with default values.
ObjectMetadata(int objectID, int typeID, java.lang.String owner, boolean personal, java.lang.String description)
          Creates an ObjectMetadata with the specified parameters.
 
Method Summary
 java.lang.String toString()
          Returns a String representing this ObjectMetadata.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objectID

public int objectID

typeID

public int typeID

owner

public java.lang.String owner

personal

public boolean personal

description

public java.lang.String description
Constructor Detail

ObjectMetadata

public ObjectMetadata()
Creates an ObjectMetadata with default values.


ObjectMetadata

public ObjectMetadata(int objectID,
                      int typeID,
                      java.lang.String owner,
                      boolean personal,
                      java.lang.String description)
Creates an ObjectMetadata with the specified parameters.

Parameters:
objectID - The object's ID
typeID - The ID of the object's type
owner - The csnetid of the object's owner
personal - True if the object is personally owned
description - A description of this object
Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
The String representing this ObjectMetadata.