org.starhope.appius.game.npc
Class ConversationTree

java.lang.Object
  extended by org.starhope.appius.util.SimpleDataRecord<ConversationTree>
      extended by org.starhope.appius.game.npc.ConversationTree
All Implemented Interfaces:
com.whirlycott.cache.Cacheable, Serializable, Comparable<ConversationTree>, CTime, DataRecord, HasSubversionRevision

public class ConversationTree
extends SimpleDataRecord<ConversationTree>

WRITEME: Document this type.

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.starhope.appius.util.SimpleDataRecord
myLoader, timeLastChanged, timeLastSaved
 
Constructor Summary
ConversationTree()
          WRITEME: Document this constructor brpocock@star-hope.org
ConversationTree(RecordLoader<ConversationTree> loader)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 int getCacheableID()
          Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier ( DataRecord.getCacheableIdent() or both.
 String getCacheableIdent()
          Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier ( DataRecord.getCacheableIdent() or both.
 ConversationState getRoot()
          WRITEME: Document this method brpocock@star-hope.org
 String getSubversionRevision()
           Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence.
static UserRecord getUserRecord()
          WRITEME: Document this method brpocock@star-hope.org
 
Methods inherited from class org.starhope.appius.util.SimpleDataRecord
changed, checkStale, compareTo, equals, finalize, getRecordLoader, getTimeLastChanged, getTimeLastSaved, hashCode, isBeingLoaded, markAsLoaded, markAsLoaded, markAsSaved, onRemove, onRetrieve, onStore, setRecordLoader, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConversationTree

public ConversationTree()
WRITEME: Document this constructor brpocock@star-hope.org


ConversationTree

public ConversationTree(RecordLoader<ConversationTree> loader)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
loader - WRITEME
Method Detail

getUserRecord

public static UserRecord getUserRecord()
WRITEME: Document this method brpocock@star-hope.org

Returns:
WRITEME

getCacheableID

public int getCacheableID()
                   throws NotFoundException
Description copied from interface: DataRecord
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier ( DataRecord.getCacheableIdent() or both.

Returns:
an unique ID number
Throws:
NotFoundException - if the item doesn't have a distinct numeric ID
See Also:
DataRecord.getCacheableID()

getCacheableIdent

public String getCacheableIdent()
                         throws NotFoundException
Description copied from interface: DataRecord
Note that all records must have either a numeric ID ( DataRecord.getCacheableID() or a string identifier ( DataRecord.getCacheableIdent() or both.

Returns:
an unique identifier string
Throws:
NotFoundException - if the item doesn't have a distinct string identifier
See Also:
DataRecord.getCacheableIdent()

getRoot

public ConversationState getRoot()
WRITEME: Document this method brpocock@star-hope.org

Returns:
WRITEME

getSubversionRevision

public String getSubversionRevision()
Description copied from interface: HasSubversionRevision

Return the Subversion revision level of this class's source code file, as supplied via the special "$Rev: " sequence.

As an example,the Subversion revision string for this file is "$Rev: $"

 
 @Override
 public String getSubversionRevision () {
        return "$Rev: ";
 }
 

Returns:
The Subversion revision level for this class's source code file.
See Also:
HasSubversionRevision.getSubversionRevision()