|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.annotation.CorpusAnnotationDiff.DiffSetElement
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 |
private Annotation leftAnnotation
private Annotation rightAnnotation
private int leftType
private int rightType
private Document keyDocument
private Document respDocument
Constructor Detail |
public CorpusAnnotationDiff.DiffSetElement()
public CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)
public CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType, Document kDocument, Document rDocument)
Method Detail |
public void setLeftAnnotation(Annotation aLeftAnnotation)
public Annotation getLeftAnnotation()
public void setRightAnnotation(Annotation aRightAnnotation)
public Annotation getRightAnnotation()
public void setLeftType(int aLeftType)
public int getLeftType()
public void setRightType(int aRightType)
public int getRightType()
public Document getKeyDocument()
public void setKeyDocument(Document aDoc)
public Document getResponseDocument()
public void setResponseDocument(Document aDoc)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |