|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGEvent
public class GEvent
A container class for holding all data on events from the golden corpus. Attributes are located in a hashtable, which set- and get-methods should be employed to access.
Field Summary | |
---|---|
java.util.Hashtable<java.lang.String,java.lang.String> |
ht
|
java.lang.String |
id
|
GAbstract |
parent
|
java.lang.String |
sentence
|
Constructor Summary | |
---|---|
GEvent()
No data is needed to construct an GEvent |
Method Summary | |
---|---|
java.lang.String |
get(java.lang.String key)
Gets an attribute value from this Event |
java.lang.String |
getCause()
Gets the cause of this Event |
java.lang.String |
getRealCause()
Gets the real (resolved) of this Event |
java.lang.String |
getRealTheme()
Gets the real (resolved) theme of this Event |
java.lang.String |
getRealType()
Gets the real (resolved) type of this Event |
java.lang.String |
getTheme()
Gets the theme of this Event |
java.lang.String |
getType()
Gets the type of this Event |
java.lang.String |
getXML()
Gets the XML-representation of this Event for printing distilled |
void |
hello()
Method for echoing the content of this event to stdout. |
void |
resolveTermPermanent()
Method to resolve each attribute into the lexiacal representation, and store is as real_attribute. |
void |
set(java.lang.String key,
java.lang.String value)
Sets an attribute of this Event |
void |
setCause(java.lang.String value)
Sets the cause of this Event |
void |
setID(java.lang.String i)
Sets the identification string from corpus of this Event |
void |
setParent(GAbstract p)
Sets the of parent abstract this Event |
void |
setTheme(java.lang.String value)
Sets the theme of this Event |
void |
setType(java.lang.String value)
Sets the type of this Event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String id
public java.util.Hashtable<java.lang.String,java.lang.String> ht
public GAbstract parent
public java.lang.String sentence
Constructor Detail |
---|
public GEvent()
Method Detail |
---|
public void setParent(GAbstract p)
p
- the parent abstractpublic void setID(java.lang.String i)
i
- identification string from corpuspublic void setType(java.lang.String value)
value
- event typepublic void setTheme(java.lang.String value)
value
- event themepublic void setCause(java.lang.String value)
value
- event causepublic void set(java.lang.String key, java.lang.String value)
key
- the attribute namevalue
- the attribute valuepublic java.lang.String get(java.lang.String key)
public java.lang.String getType()
public java.lang.String getTheme()
public java.lang.String getCause()
public java.lang.String getRealType()
resolveTermPermanent()
public java.lang.String getRealTheme()
resolveTermPermanent()
public java.lang.String getRealCause()
resolveTermPermanent()
public java.lang.String getXML()
public void resolveTermPermanent()
public void hello()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |