wtanaka.praya.dict
Class MultiDefinition

java.lang.Object
  |
  +--wtanaka.praya.obj.Obj
        |
        +--wtanaka.praya.obj.Message
              |
              +--wtanaka.praya.dict.MultiDefinition
All Implemented Interfaces:
java.io.Serializable

public class MultiDefinition
extends Message

See Also:
Serialized Form

Field Summary
private  Definition[] defs
           
 
Fields inherited from class wtanaka.praya.obj.Message
generatedBy, score
 
Fields inherited from class wtanaka.praya.obj.Obj
CONTENTS, date, DATE, FROM, privThread, REVCONTENTS, REVDATE, REVFROM, REVSCORE, REVSUBJECT, SCORE, secretObject, SUBJECT
 
Constructor Summary
MultiDefinition(Protocol parent, Definition[] defs)
           
 
Method Summary
 java.lang.String getContents()
           
 Definition getDefinition(int index)
           
 int numDefinitions()
           
 
Methods inherited from class wtanaka.praya.obj.Message
changeScore, convertStringToHtml, getScore, getSourceProtocol, isSelfMessage, isStateChangeMessage, lessThan, renderAsHTML, renderAsHTML, renderAsString, replyRecipient, setZombie, toString
 
Methods inherited from class wtanaka.praya.obj.Obj
getFrom, getSubject, getTimeStamp, isPrivileged, setPrivilegedThread, setSecretObject, setTimeStamp
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

defs

private Definition[] defs
Constructor Detail

MultiDefinition

public MultiDefinition(Protocol parent,
                       Definition[] defs)
Method Detail

numDefinitions

public int numDefinitions()

getDefinition

public Definition getDefinition(int index)

getContents

public java.lang.String getContents()
Overrides:
getContents in class Obj