es.upv.dsic.gti_ia.organization
Class Oracle

java.lang.Object
  extended by es.upv.dsic.gti_ia.organization.Oracle

public class Oracle
extends Object

This class allows us to parse a OWL-S and WSDL files in order to extract relevant information, such as service inputs, outputs, list of roles for both providers, such as customers.


Constructor Summary
Oracle()
           
Oracle(File file)
          Method to parses an OWL-S file
Oracle(String s)
          Method to parses an OWL-S string
Oracle(URL url)
          Method to parses an OWL-S URL
 
Method Summary
 ArrayList<String> getClientList()
          Returns the list of roles required to use the service
 ArrayList<String> getClientUnitList()
          Returns providerUnitList is a unit where the role client is defined
 Map<String,String> getElements()
          Returns the Elements parameters of owls file parsed
 ArrayList<String> getOwlsProfileInputs()
          Returns the profile input parameters of an OWL-S parsed file
 ArrayList<String> getOwlsProfileOutputs()
          Returns the profile output parameters of an OWL-S parsed file
 String getProcessLocalName()
          Returns the process local name
 ArrayList<String> getProviderList()
          Returns the list of roles available to provide the service
 ArrayList<Provider> getProviders()
          Returns the list of providers (agents or organizations) of the service
 ArrayList<String> getProvidersGroundingWSDL()
          Returns the list of WSDL grounding providers of the service
 ArrayList<String> getProviderUnitList()
          Returns providerUnitList is a unit where the role provider is defined
 String getServiceName()
          Returns the behaviour name to execute on provider
 String getWSDL()
          Returns the WSDL parameter of owls file parsed
 ArrayList<String> getWSDLInputs()
          Returns the WSDL input parameters of WSDL parsed file
 ArrayList<String> getWsdlInputsTypes()
          Returns the WSDL input type parameters of WSDL parsed file
 String getWSDLNamePort()
          Returns the Name Port parameter of WSDL file parsed
 String getWSDLNameService()
          Returns the Name Service parameter of WSDL file parsed
 String getWSDLOperation()
          Returns the Operation parameter of WSDL file parsed
 ArrayList<String> getWSDLOutputs()
          Returns the WSDL output parameters of WSDL parsed file
 ArrayList<String> getWsdlOutputsTypes()
          Returns the WSDL output type parameters of WSDL parsed file
 void parseWSDL(String wsdlURL)
          Parses only a WSDL file
 void setClientUnitList(ArrayList<String> unitList)
          Returns unitList this parameter is a unit where the role client is defined
 void setProviderUnitList(ArrayList<String> unitList)
          Sets unitList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oracle

public Oracle(File file)
Method to parses an OWL-S file

Parameters:
file -

Oracle

public Oracle(URL url)
Method to parses an OWL-S URL

Parameters:
url -

Oracle

public Oracle(String s)
Method to parses an OWL-S string

Parameters:
file -

Oracle

public Oracle()
Method Detail

parseWSDL

public void parseWSDL(String wsdlURL)
Parses only a WSDL file

Parameters:
wsdlURL - to parse

getOwlsProfileInputs

public ArrayList<String> getOwlsProfileInputs()
Returns the profile input parameters of an OWL-S parsed file

Returns:
the profile input parameters of an OWL-S parsed file

getOwlsProfileOutputs

public ArrayList<String> getOwlsProfileOutputs()
Returns the profile output parameters of an OWL-S parsed file

Returns:
the profile output parameters of an OWL-S parsed file

getWsdlInputsTypes

public ArrayList<String> getWsdlInputsTypes()
Returns the WSDL input type parameters of WSDL parsed file

Returns:
the WSDL input type parameters of WSDL parsed file

getWsdlOutputsTypes

public ArrayList<String> getWsdlOutputsTypes()
Returns the WSDL output type parameters of WSDL parsed file

Returns:
the WSDL output type parameters of WSDL parsed file

getWSDLInputs

public ArrayList<String> getWSDLInputs()
Returns the WSDL input parameters of WSDL parsed file

Returns:
the WSDL input parameters of WSDL parsed file

getWSDLOutputs

public ArrayList<String> getWSDLOutputs()
Returns the WSDL output parameters of WSDL parsed file

Returns:
the WSDL output parameters of WSDL parsed file

getProviders

public ArrayList<Provider> getProviders()
Returns the list of providers (agents or organizations) of the service

Returns:
Returns the list of providers of the service

getProvidersGroundingWSDL

public ArrayList<String> getProvidersGroundingWSDL()
Returns the list of WSDL grounding providers of the service

Returns:
Returns the list of WSDL grounding providers of the service

getWSDLNameService

public String getWSDLNameService()
Returns the Name Service parameter of WSDL file parsed

Returns:
Returns the Name Service parameter of WSDL file parsed

getWSDLNamePort

public String getWSDLNamePort()
Returns the Name Port parameter of WSDL file parsed

Returns:
Returns the Name Port parameter of WSDL file parsed

getWSDLOperation

public String getWSDLOperation()
Returns the Operation parameter of WSDL file parsed

Returns:
Returns the Operation parameter of WSDL file parsed

getWSDL

public String getWSDL()
Returns the WSDL parameter of owls file parsed

Returns:
Returns the WSDL parameter of owls file parsed

getElements

public Map<String,String> getElements()
Returns the Elements parameters of owls file parsed

Returns:
Returns the Elements of owls file parsed

getProviderList

public ArrayList<String> getProviderList()
Returns the list of roles available to provide the service

Returns:
Returns the list of roles available to provide the service

getClientList

public ArrayList<String> getClientList()
Returns the list of roles required to use the service

Returns:
Returns the list of roles required to use the service

getServiceName

public String getServiceName()
Returns the behaviour name to execute on provider

Returns:
Returns the behaviour name to execute on provider

getClientUnitList

public ArrayList<String> getClientUnitList()
Returns providerUnitList is a unit where the role client is defined

Returns:
providerUnitList is a unit where the role client is defined

setClientUnitList

public void setClientUnitList(ArrayList<String> unitList)
Returns unitList this parameter is a unit where the role client is defined

Parameters:
unitList - this parameter is a unit where the role client is defined

getProviderUnitList

public ArrayList<String> getProviderUnitList()
Returns providerUnitList is a unit where the role provider is defined

Returns:
providerUnitList is a unit where the role provider is defined

setProviderUnitList

public void setProviderUnitList(ArrayList<String> unitList)
Sets unitList

Parameters:
unitList - this parameter is a unit where the role provider is defined

getProcessLocalName

public String getProcessLocalName()
Returns the process local name

Returns:
the process local name


Copyright © 2012 GTI-IA. All Rights Reserved.