public abstract class CODAExtensionModuleInterface extends CODAExtensionInterface
Modifier and Type | Field and Description |
---|---|
protected CasAnnotationStructure |
casAnn |
protected CODACore |
codaCore |
(package private) org.eclipse.rdf4j.repository.RepositoryConnection |
connection |
protected int |
maxAnswers |
protected PreviousDecisions |
prevDecision |
description, id
Constructor and Description |
---|
CODAExtensionModuleInterface(String id,
String description) |
Modifier and Type | Method and Description |
---|---|
abstract InterComponentObject |
invokeComponent()
This method must be implemented by all the modules that implement the interface for the single module
|
void |
setCasAnnotation(CasAnnotationStructure casAnn)
Set the structure containing the UIMA Annotation to be analyzed
|
void |
setCODACore(CODACore codaCore)
Set the CODACore in which this modules is used
|
void |
setMaxNumAnswer(int maxNumAnswer)
Set the maximum number of hints the module should return
|
void |
setPrevAnnProj(PreviousDecisions prevDecision)
Set the previous action List done by the external tool on the ontology
|
void |
setRDFModel(org.eclipse.rdf4j.repository.RepositoryConnection connection)
Set the Repository Connection representing the ontology
|
getDescription, getId, setDescription
protected CasAnnotationStructure casAnn
org.eclipse.rdf4j.repository.RepositoryConnection connection
protected int maxAnswers
protected CODACore codaCore
protected PreviousDecisions prevDecision
public void setCasAnnotation(CasAnnotationStructure casAnn)
casAnn
- the structure containing the UIMA Annotation to be analyzedpublic void setRDFModel(org.eclipse.rdf4j.repository.RepositoryConnection connection)
connection
- the Repository Connection that will be setpublic void setCODACore(CODACore codaCore)
codaCore
- the CODACore that will be setpublic void setMaxNumAnswer(int maxNumAnswer)
maxNumAnswer
- the maximum number of answerpublic void setPrevAnnProj(PreviousDecisions prevDecision)
prevDecision
- the list of previous action done by the external tool on the ontologypublic abstract InterComponentObject invokeComponent()
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.