pt.uminho.anote2.datastructures.annotation.re
Class EventAnnotation

java.lang.Object
  extended by pt.uminho.anote2.datastructures.annotation.Annotation
      extended by pt.uminho.anote2.datastructures.annotation.re.EventAnnotation
All Implemented Interfaces:
java.lang.Cloneable, IAnnotation, IEventAnnotation

public class EventAnnotation
extends Annotation
implements IEventAnnotation


Constructor Summary
EventAnnotation(int id, long start, long end, java.lang.String type)
           
EventAnnotation(int id, long start, long end, java.lang.String type, java.util.List<IEntityAnnotation> left, java.util.List<IEntityAnnotation> right, java.lang.String clue, int ontologicalClassID, java.lang.String ontologicalClass, IEventProperties eventProperties)
           
 
Method Summary
 void addEntityAtLeft(IEntityAnnotation ent)
           
 void addEntityAtRight(IEntityAnnotation ent)
           
 void addEventProperty(java.lang.String key, java.lang.String value)
           
 IEventAnnotation clone()
           
 java.util.List<IEntityAnnotation> getEntitiesAtLeft()
           
 java.util.List<IEntityAnnotation> getEntitiesAtRight()
           
 java.lang.String getEventClue()
           
 IEventProperties getEventProperties()
           
 int getOntologicalClassID()
           
 java.lang.String getOntologycalClass()
           
 void setEntitiesAtLeft(java.util.List<IEntityAnnotation> entitiesAtLeft)
           
 void setEntitiesAtRight(java.util.List<IEntityAnnotation> entitiesAtRight)
           
 void setEventClue(java.lang.String eventClue)
           
 java.lang.String toString()
           
 
Methods inherited from class pt.uminho.anote2.datastructures.annotation.Annotation
getEndOffset, getID, getStartOffset, getType, setEndOffset, setStartOffset, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface pt.uminho.anote2.core.annotation.IAnnotation
getEndOffset, getID, getStartOffset, getType
 

Constructor Detail

EventAnnotation

public EventAnnotation(int id,
                       long start,
                       long end,
                       java.lang.String type)

EventAnnotation

public EventAnnotation(int id,
                       long start,
                       long end,
                       java.lang.String type,
                       java.util.List<IEntityAnnotation> left,
                       java.util.List<IEntityAnnotation> right,
                       java.lang.String clue,
                       int ontologicalClassID,
                       java.lang.String ontologicalClass,
                       IEventProperties eventProperties)
Method Detail

getEntitiesAtLeft

public java.util.List<IEntityAnnotation> getEntitiesAtLeft()
Specified by:
getEntitiesAtLeft in interface IEventAnnotation

getEntitiesAtRight

public java.util.List<IEntityAnnotation> getEntitiesAtRight()
Specified by:
getEntitiesAtRight in interface IEventAnnotation

getEventClue

public java.lang.String getEventClue()
Specified by:
getEventClue in interface IEventAnnotation

setEntitiesAtLeft

public void setEntitiesAtLeft(java.util.List<IEntityAnnotation> entitiesAtLeft)

setEntitiesAtRight

public void setEntitiesAtRight(java.util.List<IEntityAnnotation> entitiesAtRight)

setEventClue

public void setEventClue(java.lang.String eventClue)

getOntologicalClassID

public int getOntologicalClassID()
Specified by:
getOntologicalClassID in interface IEventAnnotation

getEventProperties

public IEventProperties getEventProperties()
Specified by:
getEventProperties in interface IEventAnnotation

getOntologycalClass

public java.lang.String getOntologycalClass()
Specified by:
getOntologycalClass in interface IEventAnnotation

addEntityAtLeft

public void addEntityAtLeft(IEntityAnnotation ent)
Specified by:
addEntityAtLeft in interface IEventAnnotation

addEntityAtRight

public void addEntityAtRight(IEntityAnnotation ent)
Specified by:
addEntityAtRight in interface IEventAnnotation

addEventProperty

public void addEventProperty(java.lang.String key,
                             java.lang.String value)
Specified by:
addEventProperty in interface IEventAnnotation

clone

public IEventAnnotation clone()
Specified by:
clone in interface IAnnotation
Specified by:
clone in interface IEventAnnotation
Overrides:
clone in class Annotation

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object