edu.washington.cs.rfid.data
Class ObjectMetadata
java.lang.Object
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
|
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 |
objectID
public int objectID
typeID
public int typeID
owner
public java.lang.String owner
personal
public boolean personal
description
public java.lang.String description
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 IDtypeID - The ID of the object's typeowner - The csnetid of the object's ownerpersonal - True if the object is personally owneddescription - A description of this object
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.