org.mindswap.owls.service
Interface Service

All Superinterfaces:
OWLEntity, OWLIndividual, OWLObject, OWLValue

public interface Service
extends OWLIndividual

Represents the OWL-S service. OWL-S concept: http://www.daml.org/services/owl-s/1.0/Service.owl#Service

Author:
Evren Sirin

Method Summary
 Grounding getGrounding()
          Return the Grounding that belongs to this service
 java.lang.String getName()
          Get the service name defined in the profile of this service.
 java.lang.String getName(java.lang.String lang)
          Get the service name defined in the profile of this service.
 OWLDataValueList getNames()
          Return all service names written in any language.
 Process getProcess()
          Convenience method to get the Process from the ProcessModel.
 Profile getProfile()
          Return the Profile that belongs to this Service.
 void setGrounding(Grounding grounding)
          Set the Grounding for this service
 void setName(java.lang.String name)
           
 void setProcess(Process process)
          Set the Process for this service
 void setProfile(Profile profile)
          Set the Profile for this service
 
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

getProfile

Profile getProfile()
Return the Profile that belongs to this Service. Multiple profiles for the same service is not supported.

Returns:
Profile

getProcess

Process getProcess()
Convenience method to get the Process from the ProcessModel. This function call is equivalent to getProcessModel().getProcess()

Returns:
Process

getGrounding

Grounding getGrounding()
Return the Grounding that belongs to this service

Returns:

setProfile

void setProfile(Profile profile)
Set the Profile for this service

Parameters:
profile -

setProcess

void setProcess(Process process)
Set the Process for this service

Parameters:
profile -

setGrounding

void setGrounding(Grounding grounding)
Set the Grounding for this service

Parameters:
grounding -

getName

java.lang.String getName()
Get the service name defined in the profile of this service. See OWLConfig to learn how the language identifiers will be resolved when searching for a name.

Returns:

getName

java.lang.String getName(java.lang.String lang)
Get the service name defined in the profile of this service. The associated serviceName should have the same language identifier as given in the parameter. If a serviceName for that language is not found null value will be returned even if there is another serviceName with a different language identifier.

Parameters:
lang -
Returns:

setName

void setName(java.lang.String name)

getNames

OWLDataValueList getNames()
Return all service names written in any language.

Returns:


Copyright © 2004 Evren Sirin. All Rights Reserved.