be.ac.ucl.tele.ccg.jXDRS
Class DiscourseReferent

java.lang.Object
  extended by be.ac.ucl.tele.ccg.jXDRS.DiscourseReferent
All Implemented Interfaces:
DRSOperand

public class DiscourseReferent
extends java.lang.Object
implements DRSOperand


Field Summary
 java.util.LinkedHashMap words
           
 
Constructor Summary
DiscourseReferent(java.lang.String dRefName)
          Constructor for the DiscourseReferent object
DiscourseReferent(java.lang.String index, java.lang.String dRefName, Utterance utt)
          Constructor for the DiscourseReferent object
 
Method Summary
 void addWord(Word word)
          Adds a feature to the Word attribute of the DiscourseReferent object
 java.lang.String getAlias()
          Returns the value of alias.
 DRS getDRS()
          Returns a DRS object if this operand is a DRS, null otherwise
 java.lang.String getRefName()
          Returns the value of refName.
 java.lang.String getText()
           
 Word getWordByIndex(java.lang.String index)
           
 void setAlias(java.lang.String alias)
          Sets the value of alias.
 void setRefName(java.lang.String refName)
          Sets the value of refName.
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

words

public java.util.LinkedHashMap words
UML type:
Word
Constructor Detail

DiscourseReferent

public DiscourseReferent(java.lang.String index,
                         java.lang.String dRefName,
                         Utterance utt)
Constructor for the DiscourseReferent object

Parameters:
index - Description of the Parameter
dRefName - Description of the Parameter
utt - Description of the Parameter

DiscourseReferent

public DiscourseReferent(java.lang.String dRefName)
Constructor for the DiscourseReferent object

Parameters:
dRefName - Description of the Parameter
Method Detail

getRefName

public java.lang.String getRefName()
Returns the value of refName.

Returns:
The refName value

setRefName

public void setRefName(java.lang.String refName)
Sets the value of refName.

Parameters:
refName - The value to assign refName.

getDRS

public DRS getDRS()
Description copied from interface: DRSOperand
Returns a DRS object if this operand is a DRS, null otherwise

Specified by:
getDRS in interface DRSOperand
Returns:
The dRS value

getAlias

public java.lang.String getAlias()
Returns the value of alias.

Returns:
The alias value

setAlias

public void setAlias(java.lang.String alias)
Sets the value of alias.

Parameters:
alias - The value to assign alias.

addWord

public void addWord(Word word)
Adds a feature to the Word attribute of the DiscourseReferent object

Parameters:
word - The feature to be added to the Word attribute

getWordByIndex

public Word getWordByIndex(java.lang.String index)

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Return Value

getText

public java.lang.String getText()


MIT style licence.