gate.annotation
Class CorpusAnnotationDiff.DiffSetElement

java.lang.Object
  extended by gate.annotation.CorpusAnnotationDiff.DiffSetElement
Enclosing class:
CorpusAnnotationDiff

protected class CorpusAnnotationDiff.DiffSetElement
extends Object

This class is used for internal purposes. It represents a row from the table.


Constructor Summary
CorpusAnnotationDiff.DiffSetElement()
          Constructor for DiffSetlement
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)
          Constructor for DiffSetlement
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType, Document kDocument, Document rDocument)
          Constructor for DiffSetlement with document name
 
Method Summary
 Document getKeyDocument()
          Get Key document
 Annotation getLeftAnnotation()
          Gets the left annotation
 int getLeftType()
          Get the left type
 Document getResponseDocument()
          Get Response document
 Annotation getRightAnnotation()
          Gets the right annotation
 int getRightType()
          Get the right type
 void setKeyDocument(Document aDoc)
          Set Key document
 void setLeftAnnotation(Annotation aLeftAnnotation)
          Sets the left annotation
 void setLeftType(int aLeftType)
          Sets the left type
 void setResponseDocument(Document aDoc)
          Set Response document
 void setRightAnnotation(Annotation aRightAnnotation)
          Sets the right annotation
 void setRightType(int aRightType)
          Sets the right type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorpusAnnotationDiff.DiffSetElement

public CorpusAnnotationDiff.DiffSetElement()
Constructor for DiffSetlement


CorpusAnnotationDiff.DiffSetElement

public CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation,
                                           Annotation aRightAnnotation,
                                           int aLeftType,
                                           int aRightType)
Constructor for DiffSetlement


CorpusAnnotationDiff.DiffSetElement

public CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation,
                                           Annotation aRightAnnotation,
                                           int aLeftType,
                                           int aRightType,
                                           Document kDocument,
                                           Document rDocument)
Constructor for DiffSetlement with document name

Method Detail

setLeftAnnotation

public void setLeftAnnotation(Annotation aLeftAnnotation)
Sets the left annotation


getLeftAnnotation

public Annotation getLeftAnnotation()
Gets the left annotation


setRightAnnotation

public void setRightAnnotation(Annotation aRightAnnotation)
Sets the right annotation


getRightAnnotation

public Annotation getRightAnnotation()
Gets the right annotation


setLeftType

public void setLeftType(int aLeftType)
Sets the left type


getLeftType

public int getLeftType()
Get the left type


setRightType

public void setRightType(int aRightType)
Sets the right type


getRightType

public int getRightType()
Get the right type


getKeyDocument

public Document getKeyDocument()
Get Key document


setKeyDocument

public void setKeyDocument(Document aDoc)
Set Key document


getResponseDocument

public Document getResponseDocument()
Get Response document


setResponseDocument

public void setResponseDocument(Document aDoc)
Set Response document