Magentix2
2.1.1
|
Public Member Functions | |
Oracle (File file) | |
Oracle (URL url) | |
Oracle (String s) | |
Oracle () | |
void | parseWSDL (String wsdlURL) |
ArrayList< String > | getOwlsProfileInputs () |
ArrayList< String > | getOwlsProfileOutputs () |
ArrayList< String > | getWsdlInputsTypes () |
ArrayList< String > | getWsdlOutputsTypes () |
ArrayList< String > | getWSDLInputs () |
ArrayList< String > | getWSDLOutputs () |
ArrayList< Provider > | getProviders () |
ArrayList< String > | getProvidersGroundingWSDL () |
String | getWSDLNameService () |
String | getWSDLNamePort () |
String | getWSDLOperation () |
String | getWSDL () |
Map< String, String > | getElements () |
ArrayList< String > | getProviderList () |
ArrayList< String > | getClientList () |
String | getServiceName () |
ArrayList< String > | getClientUnitList () |
void | setClientUnitList (ArrayList< String > unitList) |
ArrayList< String > | getProviderUnitList () |
void | setProviderUnitList (ArrayList< String > unitList) |
String | getProcessLocalName () |
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.
Definition at line 38 of file Oracle.java.
es.upv.dsic.gti_ia.organization.Oracle.Oracle | ( | File | file | ) |
Method to parses an OWL-S file
file |
Definition at line 82 of file Oracle.java.
{ try { doc = parserXML(file); visit(doc, 0); } catch (Exception error) { error.printStackTrace(); } }
Method to parses an OWL-S URL
url |
Definition at line 98 of file Oracle.java.
{ try { doc = parserXML(url); visit(doc, 0); } catch (Exception error) { error.printStackTrace(); } }
es.upv.dsic.gti_ia.organization.Oracle.Oracle | ( | String | s | ) |
Method to parses an OWL-S string
file |
Definition at line 114 of file Oracle.java.
{ try { doc = string2DOM(s); visitNodeProcess(doc, 0); } catch (Exception error) { error.printStackTrace(); } }
Definition at line 125 of file Oracle.java.
{ }
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getClientList | ( | ) |
Returns the list of roles required to use the service
Definition at line 270 of file Oracle.java.
{
return clientList;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getClientUnitList | ( | ) |
Returns providerUnitList is a unit where the role client is defined
Definition at line 289 of file Oracle.java.
{
return this.clientunitList;
}
Map<String, String> es.upv.dsic.gti_ia.organization.Oracle.getElements | ( | ) |
Returns the Elements parameters of owls file parsed
Definition at line 252 of file Oracle.java.
{
return elements;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getOwlsProfileInputs | ( | ) |
Returns the profile input parameters of an OWL-S parsed file
Definition at line 144 of file Oracle.java.
{
return owlsProfileInputs;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getOwlsProfileOutputs | ( | ) |
Returns the profile output parameters of an OWL-S parsed file
Definition at line 153 of file Oracle.java.
{
return owlsProfileOutputs;
}
Returns the process local name
Definition at line 328 of file Oracle.java.
{
return processLocalName;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getProviderList | ( | ) |
Returns the list of roles available to provide the service
Definition at line 261 of file Oracle.java.
{
return providerList;
}
ArrayList<Provider> es.upv.dsic.gti_ia.organization.Oracle.getProviders | ( | ) |
Returns the list of providers (agents or organizations) of the service
Definition at line 198 of file Oracle.java.
{
return providers;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getProvidersGroundingWSDL | ( | ) |
Returns the list of WSDL grounding providers of the service
Definition at line 207 of file Oracle.java.
{
return providersGroundingWSDL;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getProviderUnitList | ( | ) |
Returns providerUnitList is a unit where the role provider is defined
Definition at line 309 of file Oracle.java.
{
return this.providerunitList;
}
Returns the behaviour name to execute on provider
Definition at line 280 of file Oracle.java.
{
return serviceName;
}
Returns the WSDL parameter of owls file parsed
Definition at line 243 of file Oracle.java.
{
return wsdl;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getWSDLInputs | ( | ) |
Returns the WSDL input parameters of WSDL parsed file
Definition at line 180 of file Oracle.java.
{
return wsdlInputParams;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getWsdlInputsTypes | ( | ) |
Returns the WSDL input type parameters of WSDL parsed file
Definition at line 162 of file Oracle.java.
{
return wsdlInputTypes;
}
Returns the Name Port parameter of WSDL file parsed
Definition at line 225 of file Oracle.java.
{
return qnamePort;
}
Returns the Name Service parameter of WSDL file parsed
Definition at line 216 of file Oracle.java.
{
return qnameService;
}
Returns the Operation parameter of WSDL file parsed
Definition at line 234 of file Oracle.java.
{
return operation;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getWSDLOutputs | ( | ) |
Returns the WSDL output parameters of WSDL parsed file
Definition at line 189 of file Oracle.java.
{
return wsdlOutputParams;
}
ArrayList<String> es.upv.dsic.gti_ia.organization.Oracle.getWsdlOutputsTypes | ( | ) |
Returns the WSDL output type parameters of WSDL parsed file
Definition at line 171 of file Oracle.java.
{
return wsdlOutputTypes;
}
void es.upv.dsic.gti_ia.organization.Oracle.parseWSDL | ( | String | wsdlURL | ) |
Parses only a WSDL file
wsdlURL | to parse |
Definition at line 135 of file Oracle.java.
{ visitWSDL(wsdlURL); }
void es.upv.dsic.gti_ia.organization.Oracle.setClientUnitList | ( | ArrayList< String > | unitList | ) |
Returns unitList this parameter is a unit where the role client is defined
unitList | this parameter is a unit where the role client is defined |
Definition at line 300 of file Oracle.java.
{ this.clientunitList = unitList; }
void es.upv.dsic.gti_ia.organization.Oracle.setProviderUnitList | ( | ArrayList< String > | unitList | ) |
Sets unitList
unitList | this parameter is a unit where the role provider is defined |
Definition at line 319 of file Oracle.java.
{ this.providerunitList = unitList; }