Profile.java revision 2
// The MIT License
//
// Copyright (c) 2004 Evren Sirin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
/*
* Created on Dec 27, 2003
*
*/
/**
* Represents the OWL-S profile.
*
* OWL-S concept: http://www.daml.org/services/owl-s/1.0/Profile.owl#Profile
*
* @author Evren Sirin
*
*/
/**
* Get the service this profile presents
*
* @return
*/
public Service getService();
/**
* Set the service this profile presents
*
* @param service
*/
/**
* Get the process associated with this profile. This process is the one that is the
* value of profile:has_process parameter
*
* @return
*/
public Process getProcess();
/**
* Set profile's text description. No language identifier will be used.
*
* @param desc
*/
/**
* Get profile's text description. See {@link org.mindswap.owl.OWLConfig#DEFAULT_LANGS OWLConfig}
* to learn how the language identifiers will be resolved when searching for a text description.
*
* @return
*/
public String getTextDescription();
/**
* 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.
*
* @param lang
* @return
*/
/**
* Return all text descriptions written in any language.
*
* @return
*/
public OWLDataValueList getTextDescriptions();
/**
* Get the service name defined in the profile. See {@link org.mindswap.owl.OWLConfig#DEFAULT_LANGS OWLConfig}
* to learn how the language identifiers will be resolved when searching for a name.
*
* @return
*/
public String getServiceName();
/**
* 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.
*
* @param lang
* @return
*/
/**
* Return all service names written in any language.
*
* @return
*/
public OWLDataValueList getServiceNames();
/**
* Set the service name. No language identifier will be used.
*
* @param desc
*/
/**
* Get the inputs for this profile.
*
* @return
*/
/**
* Get the outputs for this profile.
*
* @return
*/
public OutputList getOutputs();
/**
* Get the results for this profile.
*
* @return
*/
public ResultList getResults();
/**
* Get the result for this profile. In case there are multiple results defined for this
* profile a random one is returned
*
* @return
*/
/**
* getCategory
*
* @return
*/
public ServiceCategory getCategory();
/**
* Get the list of all categories defined for this profile.
*
* @return
*/
public OWLIndividualList getCategories();
/**
* Add a new category for this profile.
*
* @param category
*/
/**
* Set the category for this profile (remove any previous cateogry)
* @param category
*/
/**
* getContactInfo
*
* @return
*/
public Actor getContactInfo();
/**
* Get all the contact info values
*
* @return
*/
public OWLIndividualList getContactInfos();
/**
* getServiceParameters
*
* @return
*/
public OWLIndividualList getServiceParameters();
/**
* getServiceParameter
*
* @return
*/
/**
* @deprecated Use createServiceParameter(OWLObjectProperty, OWLIndividual) instead.
*/
/**
* @deprecated Use createServiceParameter(String, OWLIndividual) instead.
*/
public URI getServiceProduct();
public OWLDataValueList getServiceProducts();
public URI getServiceClassification();
public OWLDataValueList getServiceClassifications();
}