pt.uminho.anote2.datastructures.annotation.re
Class EventAnnotation
java.lang.Object
pt.uminho.anote2.datastructures.annotation.Annotation
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)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
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