Magentix2  2.1.1
es.upv.dsic.gti_ia.organization.Oracle Class Reference

List of all members.

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< ProvidergetProviders ()
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 ()

Detailed Description

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.


Constructor & Destructor Documentation

Method to parses an OWL-S file

Parameters:
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

Parameters:
url

Definition at line 98 of file Oracle.java.

                               {
                try {
                        doc = parserXML(url);

                        visit(doc, 0);

                } catch (Exception error) {
                        error.printStackTrace();
                }
        }

Method to parses an OWL-S string

Parameters:
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.

                        {

        }

Member Function Documentation

Returns the list of roles required to use the service

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

Definition at line 270 of file Oracle.java.

                                                 {
                return clientList;
        }

Returns providerUnitList is a unit where the role client is defined

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

Definition at line 289 of file Oracle.java.

                                                     {
                return this.clientunitList;
        }

Returns the Elements parameters of owls file parsed

Returns:
Returns the Elements of owls file parsed

Definition at line 252 of file Oracle.java.

                                                 {
                return elements;
        }

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

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

Definition at line 144 of file Oracle.java.

                                                        {
                return owlsProfileInputs;
        }

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

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

Returns:
the process local name

Definition at line 328 of file Oracle.java.

                                            {
                return processLocalName;
        }

Returns the list of roles available to provide the service

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

Definition at line 261 of file Oracle.java.

                                                   {
                return providerList;
        }

Returns the list of providers (agents or organizations) of the service

Returns:
Returns the list of providers of the service

Definition at line 198 of file Oracle.java.

                                                  {
                return providers;
        }

Returns the list of WSDL grounding providers of the service

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

Definition at line 207 of file Oracle.java.

                                                             {
                return providersGroundingWSDL;
        }

Returns providerUnitList is a unit where the role provider is defined

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

Returns:
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

Returns:
Returns the WSDL parameter of owls file parsed

Definition at line 243 of file Oracle.java.

                                {
                return wsdl;
        }

Returns the WSDL input parameters of WSDL parsed file

Returns:
the WSDL input parameters of WSDL parsed file

Definition at line 180 of file Oracle.java.

                                                 {
                return wsdlInputParams;
        }

Returns the WSDL input type parameters of WSDL parsed file

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

Returns:
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

Returns:
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

Returns:
Returns the Operation parameter of WSDL file parsed

Definition at line 234 of file Oracle.java.

                                         {
                return operation;
        }

Returns the WSDL output parameters of WSDL parsed file

Returns:
the WSDL output parameters of WSDL parsed file

Definition at line 189 of file Oracle.java.

                                                  {
                return wsdlOutputParams;
        }

Returns the WSDL output type parameters of WSDL parsed file

Returns:
the WSDL output type parameters of WSDL parsed file

Definition at line 171 of file Oracle.java.

                                                       {
                return wsdlOutputTypes;
        }

Parses only a WSDL file

Parameters:
wsdlURLto 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

Parameters:
unitListthis 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

Parameters:
unitListthis parameter is a unit where the role provider is defined

Definition at line 319 of file Oracle.java.

                                                                    {
                this.providerunitList = unitList;
        }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables