edu.mit.ai.psg.traveler
Class StringRecord

java.lang.Object
  |
  +--edu.mit.ai.psg.traveler.ActivityRecordBase
        |
        +--edu.mit.ai.psg.traveler.StringRecord

public class StringRecord
extends ActivityRecordBase

Activity record for inserting a descriptive string into the record, e.g., for human browsing. Useful for inserting print-statement like strings into the trace records while debugging.


Fields inherited from class edu.mit.ai.psg.traveler.ActivityRecordBase
parent
 
Constructor Summary
StringRecord(String string)
           
 
Method Summary
 void setString(String newString)
           
 String toString()
          subclasses must provide a print string
 
Methods inherited from class edu.mit.ai.psg.traveler.ActivityRecordBase
addChild, addThreadedChild, cloneObject, ensureListValue, finished, getChildren, getChildrenInThread, getParent, getProperty, getThreadedChildren, isFinished, putProperty, removeProperty, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringRecord

public StringRecord(String string)
Method Detail

toString

public String toString()
Description copied from class: ActivityRecordBase
subclasses must provide a print string
Overrides:
toString in class ActivityRecordBase

setString

public void setString(String newString)

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu