|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTQLAbstract
public class TQLAbstract
Container class to hold data on TEST-abstracts. There are two arrays: tqls that contains all tql-statements corresponding to sentences in this abstract, and events that contains all events related to sentences/TQL-statements in this abstract.
Field Summary | |
---|---|
java.util.ArrayList<Event> |
events
|
java.lang.String |
medlineid
|
java.util.ArrayList<TQL> |
tqls
|
Constructor Summary | |
---|---|
TQLAbstract()
An abstract can be constructed without any additional parameters. |
Method Summary | |
---|---|
void |
addEvent(Event e)
Method to add an Event to the list of events in this abstract. |
void |
addTQL(TQL t)
Method to add a TQL to the list of TQL-statements in this abstract. |
int |
countEvents()
Method to count number of events in this abstact. |
int |
countTQLs()
Method to count number of logic statements in this abstact. |
java.util.ArrayList |
getEvents()
Method to access the events in this abstract. |
java.util.ArrayList |
getTQL()
Method to access the logic statements in this abstract. |
void |
setID(java.lang.String s)
Method to set the identification string of this abstract. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList<TQL> tqls
public java.util.ArrayList<Event> events
public java.lang.String medlineid
Constructor Detail |
---|
public TQLAbstract()
Method Detail |
---|
public void addTQL(TQL t)
t
- the tql to be addedpublic void addEvent(Event e)
e
- the event to be addedpublic void setID(java.lang.String s)
s
- the identification stringpublic java.util.ArrayList getTQL()
public java.util.ArrayList getEvents()
public int countEvents()
public int countTQLs()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |