uwcse.location.objects
Class PhysicalObject

java.lang.Object
  |
  +--uwcse.location.objects.PhysicalObject
Direct Known Subclasses:
AlienReaderFixed, AlienTagFixed, FixedSensorObject, MobileObject

public class PhysicalObject
extends Object

A class to describe a named physical object.

Version:
$Revision: 1.37 $
Author:
Jeffrey Hightower

Field Summary
static String ANONYMOUS_NAME
           
protected  String m_name
           
 
Constructor Summary
PhysicalObject()
          Create an anonymous physical object.
PhysicalObject(String name)
          Create a named physical object.
 
Method Summary
 String getName()
          Get the name of this physical object.
 Tracker newTracker(WorldMap map)
          Factory method to create a new default tracker for this type of object.
 void setName(String name)
          Set the name of this physical object.
 String toString()
          String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANONYMOUS_NAME

public static final String ANONYMOUS_NAME

m_name

protected String m_name
Constructor Detail

PhysicalObject

public PhysicalObject()
Create an anonymous physical object.


PhysicalObject

public PhysicalObject(String name)
Create a named physical object.

Method Detail

getName

public String getName()
Get the name of this physical object.


setName

public void setName(String name)
Set the name of this physical object.


toString

public String toString()
String representation of this object.

Overrides:
toString in class Object

newTracker

public Tracker newTracker(WorldMap map)
Factory method to create a new default tracker for this type of object.



This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/

© Copyright 2004 University of Washington CSE