gate.annotation
Class CorpusAnnotationDiff.DiffSetElement

java.lang.Object
  |
  +--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.


Field Summary
private  Document keyDocument
          Key document
private  Annotation leftAnnotation
          This field represent a key annotation
private  int leftType
          Default initialization of the key type
private  Document respDocument
          Response document
private  Annotation rightAnnotation
          This field represent a response annotation
private  int rightType
          Default initialization of the response type
 
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
 

Field Detail

leftAnnotation

private Annotation leftAnnotation
This field represent a key annotation


rightAnnotation

private Annotation rightAnnotation
This field represent a response annotation


leftType

private int leftType
Default initialization of the key type


rightType

private int rightType
Default initialization of the response type


keyDocument

private Document keyDocument
Key document


respDocument

private Document respDocument
Response document

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