Paragraph Class Reference

Inheritance diagram for Paragraph:
Collaboration diagram for Paragraph:

List of all members.

Public Types

enum  ParagraphType {
  UNKNOWN, GENERAL_TEXT, HEADER, LIST,
  COMMENT
}

Public Methods

 Paragraph ()
 Paragraph (String metaInfo, ParagraphType type)
String getMetaInfo ()
void setMetaInfo (String metaInfo)
ParagraphType getParagraphType ()
void setParagraphType (ParagraphType type)
String getLabel ()
void setLabel (String label)
long getId ()
void setId (long id)

Member Enumeration Documentation

enum ParagraphType [inherited]
Enumerator:
UNKNOWN 
GENERAL_TEXT 
HEADER 
LIST 
COMMENT 

Constructors

Paragraph ( )
Paragraph ( String  metaInfo,
ParagraphType  type 
)

Method Details

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 getMetaInfo ( )

Implements IParagraph.

ParagraphType getParagraphType ( )

Implements IParagraph.

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 setMetaInfo ( String  metaInfo)
void setParagraphType ( ParagraphType  type)