kaos.core.csi.extension.classification
Interface InstanceClassifier

All Superinterfaces:
KAoSExtensionComponent

public interface InstanceClassifier
extends KAoSExtensionComponent

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

classify

boolean classify(java.lang.String className,
                 java.lang.Object classDesc,
                 java.lang.String instance,
                 java.lang.Object instDesc)
                 throws UnknownConceptException
Check if the instance is in of the given class

Parameters:
className - name of the class (as url to teh ontology concept)
classDesc - the optional class description
instance - the instance to be clissified
instDesc - the optional instance description
Returns:
True if the instance is of the specified class, false if not.
Throws:
UnknownConceptException - if the provided concepts are unknown

setOntologyInterfaces

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

Parameters:
ontInterfaces - OntologyInterfaces to be used, if needed for instance classification.


Copyright © 2005 IHMC All Rights Reserved.