org.mindswap.owls.grounding
Interface AtomicGrounding

All Superinterfaces:
OWLEntity, OWLIndividual, OWLObject, OWLValue
All Known Subinterfaces:
JavaAtomicGrounding, UPnPAtomicGrounding, WSDLAtomicGrounding

public interface AtomicGrounding
extends OWLIndividual

Represents a grounding for AtomicProcesses. There is no corresponding concept in OWL-S ontology because OWL-S ontology only describes WSDL gorunding. But this class is a base class for both WSDLAtomicGrounding and UPnPAtomicGrounding classes.

Author:
Evren Sirin

Method Summary
 void addInputMap(MessageMap map)
           
 void addMessageMap(MessageMap map)
           
 void addMessageMap(Parameter owlsParameter, java.lang.String groundingParameter)
           
 void addMessageMap(Parameter owlsParameter, java.lang.String groundingParameter, java.lang.String xsltTransformation)
           
 void addOutputMap(MessageMap map)
           
 java.net.URL getDescriptionURL()
          Get a URL that describes the properties of this grounding.
 MessageMapList getInputMap()
          Get the mappings between the OWL-S inputs and grounding operation inputs
 MessageMapList getOutputMap()
          Get the mappings between the OWL-S outputs and grounding operation outputs
 AtomicProcess getProcess()
          Get the AtomicProcess object for this grounding
 ValueMap invoke(ValueMap values)
          Invoke this grounding with the given input values.
 ValueMap invoke(ValueMap values, OWLKnowledgeBase kb)
          Invoke this grounding with the given input values and use the given KB to store the output values.
 void setProcess(AtomicProcess process)
          Set the AtomicProcess object for this grounding
 
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

getDescriptionURL

java.net.URL getDescriptionURL()
Get a URL that describes the properties of this grounding. The nature of the file depends on the actual grounding type, e.g. WSDL grounding will return the URL of the WSDL document whereas the UPNP grounding returns the UPnP presentation URL

Returns:

getProcess

AtomicProcess getProcess()
Get the AtomicProcess object for this grounding

Returns:

setProcess

void setProcess(AtomicProcess process)
Set the AtomicProcess object for this grounding

Parameters:
process -

addMessageMap

void addMessageMap(MessageMap map)

addMessageMap

void addMessageMap(Parameter owlsParameter,
                   java.lang.String groundingParameter)

addMessageMap

void addMessageMap(Parameter owlsParameter,
                   java.lang.String groundingParameter,
                   java.lang.String xsltTransformation)

addInputMap

void addInputMap(MessageMap map)

addOutputMap

void addOutputMap(MessageMap map)

getInputMap

MessageMapList getInputMap()
Get the mappings between the OWL-S inputs and grounding operation inputs

Returns:

getOutputMap

MessageMapList getOutputMap()
Get the mappings between the OWL-S outputs and grounding operation outputs

Returns:

invoke

ValueMap invoke(ValueMap values)
                throws ExecutionException
Invoke this grounding with the given input values.

Parameters:
values -
Returns:
Throws:
java.lang.Exception
ExecutionException

invoke

ValueMap invoke(ValueMap values,
                OWLKnowledgeBase kb)
                throws ExecutionException
Invoke this grounding with the given input values and use the given KB to store the output values.

Parameters:
values - Input values
kb - The execution environment where output data is stored
Returns:
A ValueMap from output paramaters to OWLValues.
Throws:
ExecutionException


Copyright © 2004 Evren Sirin. All Rights Reserved.