SubstitutionTextImpl Class Reference

Inheritance diagram for SubstitutionTextImpl:
Collaboration diagram for SubstitutionTextImpl:

List of all members.

Public Methods

 SubstitutionTextImpl ()
 SubstitutionTextImpl (String substitutionText)
String getMethod ()
void setMethod (String method)
boolean isPlainText ()
void setPlainText (boolean isPlainText)
String getSubstitutionText ()
void setSubstitutionText (String substitutionText)
long calcTypeId ()
String getLabel ()
void setLabel (String label)
long getId ()
void setId (long id)


SubstitutionTextImpl ( String  substitutionText)

Method Details

long calcTypeId ( )

Implements TypeMappingGenerator.

long getId ( ) [inherited]

Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

String getLabel ( ) [inherited]

Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.

Implements ILabeledElement.

Reimplemented in TEIDramaSpeaker, TEIDramaSpeechAct, TEIDramaStage, JodaDateTime, JodaInterval, JodaPeriod, Timex, Tweet, and TwitterEntity.

String getMethod ( )

Returns the method of substitution.

method of substitution.

Implements ISubstitutionText.

String getSubstitutionText ( )

Returns the substitution text.

substitution text.

Implements ISubstitutionText.

boolean isPlainText ( )

Returns, if this annotation contains plaintext (false means ciphertext)

true, if annotation contains plaintext, false if ciphertext

Implements ISubstitutionText.

void setId ( long  id) [inherited]

Set the Id of this DataObject.


Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

void setLabel ( String  label) [inherited]
void setMethod ( String  method)

Sets the substitution method.

methodto set.
void setPlainText ( boolean  isPlainText)

Sets if this annotation contains plaintext (or ciphertext).

isPlainTextto set.
void setSubstitutionText ( String  substitutionText)

Sets the substitution text.

tokenStringto set.