gate.annotation
Class AnnotationDiff.DiffSetElement

java.lang.Object
  |
  +--gate.annotation.AnnotationDiff.DiffSetElement
Enclosing class:
AnnotationDiff

protected class AnnotationDiff.DiffSetElement
extends Object

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


Field Summary
private  Annotation leftAnnotation
           
private  int leftType
           
private  Annotation rightAnnotation
           
private  int rightType
           
 
Constructor Summary
AnnotationDiff.DiffSetElement()
          Constructor for DiffSetlement
AnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)
          Constructor for DiffSetlement
 
Method Summary
 Annotation getLeftAnnotation()
          Gets the left annotation
 int getLeftType()
          Get the left type
 Annotation getRightAnnotation()
          Gets the right annotation
 int getRightType()
          Get the right type
 void setLeftAnnotation(Annotation aLeftAnnotation)
          Sets the left annotation
 void setLeftType(int aLeftType)
          Sets the left type
 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, registerNatives, toString, wait, wait, wait
 

Field Detail

leftAnnotation

private Annotation leftAnnotation

rightAnnotation

private Annotation rightAnnotation

leftType

private int leftType

rightType

private int rightType
Constructor Detail

AnnotationDiff.DiffSetElement

public AnnotationDiff.DiffSetElement()
Constructor for DiffSetlement

AnnotationDiff.DiffSetElement

public AnnotationDiff.DiffSetElement(Annotation aLeftAnnotation,
                                     Annotation aRightAnnotation,
                                     int aLeftType,
                                     int aRightType)
Constructor for DiffSetlement
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