inpro.incremental.unit
Class DialogueActIU

java.lang.Object
  extended by inpro.incremental.unit.IU
      extended by inpro.incremental.unit.DialogueActIU
All Implemented Interfaces:
java.lang.Comparable<IU>

public class DialogueActIU
extends IU


Nested Class Summary
 
Nested classes/interfaces inherited from class inpro.incremental.unit.IU
IU.IUUpdateListener, IU.Progress
 
Field Summary
private  AbstractDialogueAct act
           
static DialogueActIU FIRST_DA_IU
           
 
Fields inherited from class inpro.incremental.unit.IU
creationTime, FIRST_IU, groundedIn, grounds, nextSameLevelLinks, previousSameLevelLink, updateListeners
 
Constructor Summary
DialogueActIU()
           
DialogueActIU(IU sll, IU groundedIn, AbstractDialogueAct act)
           
DialogueActIU(IU sll, java.util.List<IU> groundedIn, AbstractDialogueAct act)
           
 
Method Summary
 AbstractDialogueAct getAct()
           
private  boolean isEmpty()
           
 void perform()
           
 boolean samePayload(DialogueActIU siu)
          Compares payload of two DialogueActIUs.
 java.lang.String toPayLoad()
           
 
Methods inherited from class inpro.incremental.unit.IU
addNextSameLevelLink, addUpdateListener, commit, compareTo, connectSLL, deepToString, duration, endTime, equals, getAge, getAmongNextSameLevelLinks, getCreationTime, getID, getNextSameLevelLink, getNextSameLevelLinks, getOngoingGroundedIU, getProgress, getSameLevelLink, ground, groundedIn, groundIn, groundIn, grounds, hashCode, isCommitted, isCompleted, isOngoing, isRevoked, isUpcoming, notifyListeners, payloadEquals, removeAllNextSameLevelLinks, removeGrin, removeGrin, reorderNextSameLevelLink, revoke, setAsTopNextSameLevelLink, setSameLevelLink, startTime, toLabelLine, toString, toTEDviewXML, updateOnGrinUpdates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FIRST_DA_IU

public static final DialogueActIU FIRST_DA_IU

act

private AbstractDialogueAct act
Constructor Detail

DialogueActIU

public DialogueActIU()

DialogueActIU

public DialogueActIU(IU sll,
                     java.util.List<IU> groundedIn,
                     AbstractDialogueAct act)

DialogueActIU

public DialogueActIU(IU sll,
                     IU groundedIn,
                     AbstractDialogueAct act)
Method Detail

isEmpty

private boolean isEmpty()

getAct

public AbstractDialogueAct getAct()
Returns:
the dialogue act of this IU.

samePayload

public boolean samePayload(DialogueActIU siu)
Compares payload of two DialogueActIUs.

Parameters:
siu - the DialogueActIU to compare against
Returns:
true if each DialogueActIUs string representations of their payload are the same.

perform

public void perform()

toPayLoad

public java.lang.String toPayLoad()
Specified by:
toPayLoad in class IU