|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InstanceClassifier
Interface to instance classifier $Revision: 1.7 $
| Method Summary | |
|---|---|
boolean |
classify(java.lang.String className,
java.lang.Object classDesc,
java.lang.String instanceName,
java.lang.Object instDesc)
Check if the instance is in of the given class |
void |
setOntologyInterfaces(OntologyService ontInterfaces)
TODO: remove it when OntologyService become available in CSI Set optional OntologyService to be used to retrieve a missing ontology definition of not provided explicitly in the classify method arguments |
| Methods inherited from interface kaos.core.csi.extension.KAoSExtensionComponent |
|---|
addOntologicalAttribute, getEnabledStatus, getName, getOntologicalAttributes, setEnabledStatus, setName, setProperties |
| Method Detail |
|---|
boolean classify(java.lang.String className,
java.lang.Object classDesc,
java.lang.String instanceName,
java.lang.Object instDesc)
throws ClassifierException
className - name of the class (as url to the ontology concept)classDesc - the optional class descriptioninstance - the instance to be classifiedinstDesc - the optional instance descriptioncheckedPolicyType - the type of the checked policy
ClassifierExceptionvoid setOntologyInterfaces(OntologyService ontInterfaces)
ontInterfaces - OntologyService to be used, if needed for instance classification.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||