|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceClassifier
Interface to instance classfiers $Revision: 1.3 $
Method Summary | |
---|---|
boolean |
classify(java.lang.String className,
java.lang.Object classDesc,
java.lang.String instance,
java.lang.Object instDesc)
Check if the instance is in of the given class |
void |
setOntologyInterfaces(OntologyInterfaces ontInterfaces)
TODO: remove it when OntologyInterfaces become available in CSI Set optional OntologyInterfaces to be used to retrive a missing ontology definition of not provided explicitly in the classify method arguments |
Methods inherited from interface kaos.core.csi.extension.KAoSExtensionComponent |
---|
getEnabledStatus, getName, getOntologicalAttributes, setEnabledStatus |
Method Detail |
---|
boolean classify(java.lang.String className, java.lang.Object classDesc, java.lang.String instance, java.lang.Object instDesc) throws UnknownConceptException
className
- name of the class (as url to teh ontology concept)classDesc
- the optional class descriptioninstance
- the instance to be clissifiedinstDesc
- the optional instance description
UnknownConceptException
- if the provided concepts are unknownvoid setOntologyInterfaces(OntologyInterfaces ontInterfaces)
ontInterfaces
- OntologyInterfaces to be used, if needed for instance classification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |