org.mindswap.owls.profile
Interface Profile

All Superinterfaces:
Conditional, MultiConditional, OWLEntity, OWLIndividual, OWLObject, OWLValue
All Known Implementing Classes:
OWLSExtensions.ExtendedProfile, impl.owls.profile.ProfileImpl

public interface Profile
extends OWLIndividual, MultiConditional

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

Author:
Evren Sirin

Method Summary
 void addCategory(ServiceCategory category)
          Add a new category for this profile.
 void addContactInfo(Actor actor)
           
 void addInput(Input input)
           
 void addOutput(Output output)
           
 void addResult(Result result)
           
 void addServiceClassification(java.net.URI classification)
           
 void addServiceParameter(ServiceParameter serviceParam)
           
 void addServiceParameterValue(OWLObjectProperty prop, OWLIndividual value)
           
 void addServiceParameterValue(java.lang.String name, OWLIndividual value)
           
 void addServiceProduct(java.net.URI product)
           
 OWLIndividualList getCategories()
          Get the list of all categories defined for this profile.
 ServiceCategory getCategory()
          getCategory
 Actor getContactInfo()
          getContactInfo
 OWLIndividualList getContactInfos()
          Get all the contact info values
 InputList getInputs()
          Get the inputs for this profile.
 OutputList getOutputs()
          Get the outputs for this profile.
 Process getProcess()
          Get the process associated with this profile.
 Result getResult()
          Get the result for this profile.
 ResultList getResults()
          Get the results for this profile.
 Service getService()
          Get the service this profile presents
 java.net.URI getServiceClassification()
           
 OWLDataValueList getServiceClassifications()
           
 java.lang.String getServiceName()
          Get the service name defined in the profile.
 java.lang.String getServiceName(java.lang.String lang)
          Get the service name defined in the profile.
 OWLDataValueList getServiceNames()
          Return all service names written in any language.
 ServiceParameter getServiceParameter(OWLObjectProperty prop)
          getServiceParameter
 ServiceParameter getServiceParameter(java.lang.String name)
           
 OWLIndividualList getServiceParameters()
          getServiceParameters
 OWLIndividual getServiceParameterValue(OWLObjectProperty prop)
           
 OWLIndividual getServiceParameterValue(java.lang.String name)
           
 java.net.URI getServiceProduct()
           
 OWLDataValueList getServiceProducts()
           
 java.lang.String getTextDescription()
          Get profile's text description.
 java.lang.String getTextDescription(java.lang.String lang)
          Get profile's text description.
 OWLDataValueList getTextDescriptions()
          Return all text descriptions written in any language.
 void setCategory(ServiceCategory category)
          Set the category for this profile (remove any previous cateogry)
 void setContactInfo(Actor actor)
           
 void setResult(Result result)
           
 void setService(Service service)
          Set the service this profile presents
 void setServiceClassification(java.net.URI classification)
           
 void setServiceName(java.lang.String desc)
          Set the service name.
 void setServiceProduct(java.net.URI product)
           
 void setTextDescription(java.lang.String desc)
          Set profile's text description.
 
Methods inherited from interface org.mindswap.owl.OWLObject
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView
 
Methods inherited from interface org.mindswap.owl.OWLObject
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView
 
Methods inherited from interface org.mindswap.owls.process.MultiConditional
addCondition, getConditions
 
Methods inherited from interface org.mindswap.owls.process.Conditional
getCondition, setCondition
 
Methods inherited from interface org.mindswap.owl.OWLObject
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView
 
Methods inherited from interface org.mindswap.owl.OWLObject
canCastTo, castTo, debugString, getImplementation, getNextView, setNextView
 

Method Detail

getService

Service getService()
Get the service this profile presents

Returns:

setService

void setService(Service service)
Set the service this profile presents

Parameters:
service -

getProcess

Process getProcess()
Get the process associated with this profile. This process is the one that is the value of profile:has_process parameter

Returns:

setTextDescription

void setTextDescription(java.lang.String desc)
Set profile's text description. No language identifier will be used.

Parameters:
desc -

getTextDescription

java.lang.String getTextDescription()
Get profile's text description. See OWLConfig to learn how the language identifiers will be resolved when searching for a text description.

Returns:

getTextDescription

java.lang.String getTextDescription(java.lang.String lang)
Get profile's text description. The associated textDescription should have the same language identifier as given in the parameter. If a textDescription for that labguage is not found null value will be returned even if there is another textDescription with a different language identifier.

Parameters:
lang -
Returns:

getTextDescriptions

OWLDataValueList getTextDescriptions()
Return all text descriptions written in any language.

Returns:

getServiceName

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

Returns:

getServiceName

java.lang.String getServiceName(java.lang.String lang)
Get the service name defined in the profile. 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:

getServiceNames

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

Returns:

setServiceName

void setServiceName(java.lang.String desc)
Set the service name. No language identifier will be used.

Parameters:
desc -

addInput

void addInput(Input input)

addOutput

void addOutput(Output output)

addResult

void addResult(Result result)

setResult

void setResult(Result result)

getInputs

InputList getInputs()
Get the inputs for this profile.

Returns:

getOutputs

OutputList getOutputs()
Get the outputs for this profile.

Returns:

getResults

ResultList getResults()
Get the results for this profile.

Returns:

getResult

Result getResult()
Get the result for this profile. In case there are multiple results defined for this profile a random one is returned

Returns:

getCategory

ServiceCategory getCategory()
getCategory

Returns:

getCategories

OWLIndividualList getCategories()
Get the list of all categories defined for this profile.

Returns:

addCategory

void addCategory(ServiceCategory category)
Add a new category for this profile.

Parameters:
category -

setCategory

void setCategory(ServiceCategory category)
Set the category for this profile (remove any previous cateogry)

Parameters:
category -

getContactInfo

Actor getContactInfo()
getContactInfo

Returns:

getContactInfos

OWLIndividualList getContactInfos()
Get all the contact info values

Returns:

addContactInfo

void addContactInfo(Actor actor)

setContactInfo

void setContactInfo(Actor actor)

getServiceParameters

OWLIndividualList getServiceParameters()
getServiceParameters

Returns:

getServiceParameter

ServiceParameter getServiceParameter(OWLObjectProperty prop)
getServiceParameter

Returns:

getServiceParameter

ServiceParameter getServiceParameter(java.lang.String name)

getServiceParameterValue

OWLIndividual getServiceParameterValue(OWLObjectProperty prop)

getServiceParameterValue

OWLIndividual getServiceParameterValue(java.lang.String name)

addServiceParameter

void addServiceParameter(ServiceParameter serviceParam)

addServiceParameterValue

void addServiceParameterValue(OWLObjectProperty prop,
                              OWLIndividual value)

addServiceParameterValue

void addServiceParameterValue(java.lang.String name,
                              OWLIndividual value)

getServiceProduct

java.net.URI getServiceProduct()

getServiceProducts

OWLDataValueList getServiceProducts()

addServiceProduct

void addServiceProduct(java.net.URI product)

setServiceProduct

void setServiceProduct(java.net.URI product)

getServiceClassification

java.net.URI getServiceClassification()

getServiceClassifications

OWLDataValueList getServiceClassifications()

addServiceClassification

void addServiceClassification(java.net.URI classification)

setServiceClassification

void setServiceClassification(java.net.URI classification)


Copyright © 2004 Evren Sirin. All Rights Reserved.