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)

Constructors

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.

Returns:
id

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.

Returns:
method of substitution.

Implements ISubstitutionText.

String getSubstitutionText ( )

Returns the substitution text.

Returns:
substitution text.

Implements ISubstitutionText.

boolean isPlainText ( )

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

Returns:
true, if annotation contains plaintext, false if ciphertext

Implements ISubstitutionText.

void setId ( long  id) [inherited]

Set the Id of this DataObject.

Parameters:
id

Implements DataObject.

Reimplemented in Tweet, and TwitterEntity.

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

Sets the substitution method.

Parameters:
methodto set.
void setPlainText ( boolean  isPlainText)

Sets if this annotation contains plaintext (or ciphertext).

Parameters:
isPlainTextto set.
void setSubstitutionText ( String  substitutionText)

Sets the substitution text.

Parameters:
tokenStringto set.