4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry Class Reference

Suggested annotation with informations about suggestion. More...

Collaboration diagram for cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry:
Collaboration graph

Public Member Functions

 SuggestionLogEntry (String tmpId)
 
 SuggestionLogEntry (Annotation suggestion, int confidence)
 
 SuggestionLogEntry (String tmpId, Annotation suggestion, int confidence)
 
String getTmpId ()
 
void setTmpId (String tmpId)
 
Integer getConfirmMethod ()
 
void setConfirmMethod (Integer confirmMethod)
 
Annotation getConfirmedVersion ()
 
void setConfirmedVersion (Annotation confirmedVersion)
 
Integer getRefuseMethod ()
 
void setRefuseMethod (Integer refuseMethod)
 
Annotation getSuggestion ()
 
void setSuggestion (Annotation suggestion)
 
Integer getConfidence ()
 
void setConfidence (Integer confidence)
 
boolean equals (Object obj)
 
int hashCode ()
 
String toString ()
 
String toXMLString (boolean proto11)
 

Package Attributes

String tmpId
 
Annotation suggestion
 
Annotation confirmedVersion
 
Integer refuseMethod
 
Integer confirmMethod
 
Integer confidence
 

Detailed Description

Suggested annotation with informations about suggestion.

Class representing suggested annotation with informations about suggestion

Author
idytrych

Definition at line 25 of file SuggestionLogEntry.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.SuggestionLogEntry ( String  tmpId)

Constructor of reference objects for searching purposes - no initialization needed

Parameters
tmpIdTemporary id of suggested annotation

Definition at line 45 of file SuggestionLogEntry.java.

Here is the caller graph for this function:

cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.SuggestionLogEntry ( Annotation  suggestion,
int  confidence 
)

Constructor which creates suggestion with annotation reference

Parameters
suggestionSuggested annotation
confidencePercentage of confidence with annotation

Definition at line 55 of file SuggestionLogEntry.java.

cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.SuggestionLogEntry ( String  tmpId,
Annotation  suggestion,
int  confidence 
)

Constructor

Parameters
tmpIdTemporary id of suggested annotation
suggestionSuggested annotation
confidencePercentage of confidence with annotation

Definition at line 67 of file SuggestionLogEntry.java.

Member Function Documentation

boolean cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.equals ( Object  obj)

Compares this with other object and returns, whether objects are same type and have same temporary id.

Parameters
objObject to compare with
Returns
If object is same type and have same temporary id, returns true, false otherwise

Definition at line 189 of file SuggestionLogEntry.java.

Here is the call graph for this function:

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getConfidence ( )

Gets percentage of confidence with annotation

Returns
Returns percentage of confidence with annotation

Definition at line 168 of file SuggestionLogEntry.java.

Annotation cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getConfirmedVersion ( )

Gets confirmed version of annotation

Returns
Returns confirmed version of annotation

Definition at line 114 of file SuggestionLogEntry.java.

Here is the caller graph for this function:

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getConfirmMethod ( )

Gets number of confirmation method (how annotation was confirmed)

Returns
Returns number of confirmation method (how annotation was confirmed), or null, if annotation wasn't confirmed

Definition at line 96 of file SuggestionLogEntry.java.

Here is the caller graph for this function:

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getRefuseMethod ( )

Gets number of refuse method (how annotation was refused)

Returns
Returns number of refuse method (how annotation was confirmed), or null, if annotation wasn't refused

Definition at line 132 of file SuggestionLogEntry.java.

Annotation cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getSuggestion ( )

Gets suggested annotation

Returns
Returns suggested annotation

Definition at line 150 of file SuggestionLogEntry.java.

String cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.getTmpId ( )

Gets temporary id of annotation

Returns
Returns temporary id of annotation

Definition at line 78 of file SuggestionLogEntry.java.

Here is the caller graph for this function:

int cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.hashCode ( )

Returns hash code of this object.

Returns
Hash code

Definition at line 209 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setConfidence ( Integer  confidence)

Sets percentage of confidence with annotation

Parameters
confidencePercentage of confidence with annotation

Definition at line 177 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setConfirmedVersion ( Annotation  confirmedVersion)

Sets confirmed version of annotation

Parameters
confirmedVersionConfirmed version of annotation

Definition at line 123 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setConfirmMethod ( Integer  confirmMethod)

Sets number of confirmation method (how annotation was confirmed)

Parameters
confirmMethodNumber of confirmation method (how annotation was confirmed)

Definition at line 105 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setRefuseMethod ( Integer  refuseMethod)

Sets number of refuse method (how annotation was refused)

Parameters
refuseMethodNumber of refuse method (how annotation was refused)

Definition at line 141 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setSuggestion ( Annotation  suggestion)

Sets suggested annotation

Parameters
suggestionSuggested annotation

Definition at line 159 of file SuggestionLogEntry.java.

void cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.setTmpId ( String  tmpId)

Sets temporary id of annotation

Parameters
tmpIdTemporary id of annotation

Definition at line 87 of file SuggestionLogEntry.java.

String cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.toString ( )

Converts this object to string.

Returns
String with this object.

Definition at line 221 of file SuggestionLogEntry.java.

String cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.toXMLString ( boolean  proto11)

Returns serialized informations about suggested annotation in XML

Parameters
proto11If true, protocol version is greather then 1.0
Returns
Returns serialized informations about suggested annotation in XML

Definition at line 231 of file SuggestionLogEntry.java.

Member Data Documentation

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.confidence
package

Percentage of confidence with annotation

Definition at line 37 of file SuggestionLogEntry.java.

Annotation cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.confirmedVersion
package

Confirmed version of suggested annotation

Definition at line 31 of file SuggestionLogEntry.java.

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.confirmMethod
package

Number of confirmation method (how annotation was confirmed)

Definition at line 35 of file SuggestionLogEntry.java.

Integer cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.refuseMethod
package

Number of refuse method (how annotation was refused)

Definition at line 33 of file SuggestionLogEntry.java.

Annotation cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.suggestion
package

Suggested annotation

Definition at line 29 of file SuggestionLogEntry.java.

String cz.vutbr.fit.knot.annotations.comet.SuggestionLogEntry.tmpId
package

Temporary id of suggested annotation

Definition at line 27 of file SuggestionLogEntry.java.


The documentation for this class was generated from the following file: