Service.java revision 2
2ronwalf// Copyright (c) 2004 Evren Sirin 2ronwalf// Permission is hereby granted, free of charge, to any person obtaining a copy 2ronwalf// of this software and associated documentation files (the "Software"), to 2ronwalf// deal in the Software without restriction, including without limitation the 2ronwalf// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 2ronwalf// sell copies of the Software, and to permit persons to whom the Software is 2ronwalf// furnished to do so, subject to the following conditions: 2ronwalf// The above copyright notice and this permission notice shall be included in 2ronwalf// all copies or substantial portions of the Software. 2ronwalf// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 2ronwalf// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 2ronwalf// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 2ronwalf// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 2ronwalf// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2ronwalf// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 2ronwalf * Represents the OWL-S service. 2ronwalf * Return the Profile that belongs to this Service. Multiple profiles 2ronwalf * for the same service is not supported. 2ronwalf * Convenience method to get the Process from the ProcessModel. This function 2ronwalf * call is equivalent to getProcessModel().getProcess() 2ronwalf * Return the Grounding that belongs to this service 2ronwalf * Set the Profile for this service 2ronwalf * Set the Process for this service 2ronwalf * Set the Grounding for this service 2ronwalf * Get the service name defined in the profile of this service. See {@link org.mindswap.owl.OWLConfig#DEFAULT_LANGS OWLConfig} 2ronwalf * to learn how the language identifiers will be resolved when searching for a name. 2ronwalf * Get the service name defined in the profile of this service. The associated serviceName should have the same 2ronwalf * language identifier as given in the parameter. If a serviceName for that language is not found 2ronwalf * null value will be returned even if there is another serviceName with a different language 2ronwalf * Return all service names written in any language.