|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaAtomicGrounding
This interface encapsulates the access to a JavaAtomicProcessGrounding.
A JavaAtomicGrounding grounds an OWL-S Service to a Java method invocation. The method call is specified by its method signature in an OWL-S Ontology.
Static methods can be invoked, Exceptions during the execution are catched and redirected in a ExecutionExecpetion. At the time, only primitive datatypes (such as int, boolean and so on) and thier adapters (such as Integer, Boolean and so on) are support as Parameter and ReturnValue types.
The driving parts are:
AtomicGrounding,
impl.owls.grounding.AtomicGroundingImpl,
OWLetOnt| Method Summary | |
|---|---|
java.lang.String |
getClaz()
Returns the name of the class, on which the method in the Grounding should be executed |
java.lang.String |
getMethod()
Returns the name of the method which should be executed |
void |
setClaz(java.lang.String claz)
Sets the name of the class, on which the method in the Grounding should be executed |
void |
setInputVar(java.lang.String name,
java.lang.String type,
int index,
Input owlsParameter)
Sets an Input Parameter of the Java Grounding. |
void |
setMethod(java.lang.String method)
Sets the name of the method which should be executed |
void |
setOutputVar(java.lang.String name,
java.lang.String type,
Output owlsParameter)
Sets the Output part of the Java Grounding. |
| Methods inherited from interface org.mindswap.owls.grounding.AtomicGrounding |
|---|
addInputMap, addMessageMap, addMessageMap, addMessageMap, addOutputMap, getDescriptionURL, getInputMap, getOutputMap, getProcess, invoke, invoke, setProcess |
| Methods inherited from interface org.mindswap.owl.OWLIndividual |
|---|
addProperty, addProperty, addProperty, addProperty, addType, getDifferentIndividuals, getIncomingProperties, getIncomingProperties, getIncomingProperty, getOWLSOntology, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getSameIndividuals, getSourceOntology, getType, getTypes, hasProperty, hasProperty, isDifferentFrom, isSameAs, isType, removeProperties, removeProperty, removeTypes, setProperty, setProperty, setProperty, setProperty, toRDF, toRDF |
| Methods inherited from interface org.mindswap.owl.OWLEntity |
|---|
addAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnonID, getKB, getLabel, getLabel, getLabels, getLocalName, getOntology, getQName, getURI, isAnon, removeAnnotations, setAnnotation, setAnnotation, setAnnotation, setLabel, setLabel |
| Methods inherited from interface org.mindswap.owl.OWLObject |
|---|
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView |
| Methods inherited from interface org.mindswap.owl.OWLValue |
|---|
isDataValue, isIndividual |
| Methods inherited from interface org.mindswap.owl.OWLObject |
|---|
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView |
| Method Detail |
|---|
void setClaz(java.lang.String claz)
claz - Fully qualified name of the Java class, which implements the method to invokejava.lang.String getClaz()
void setMethod(java.lang.String method)
method - Name of the method to invokejava.lang.String getMethod()
void setOutputVar(java.lang.String name,
java.lang.String type,
Output owlsParameter)
name - Name of the OWL-S JavaVariable instancetype - Fully qualified Java type of the return value of the method to invokeowlsParameter - Reference to the OWL-S Output Variable
void setInputVar(java.lang.String name,
java.lang.String type,
int index,
Input owlsParameter)
name - Name of the OWL-S JavaParameter instancetype - Fully qualified Java type of the Java Parameter to setindex - Number of order for this Parameter in the Parameter-ListowlsParameter - Reference to the OWL-S Input Variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||