Searched refs:service (Results 1 - 25 of 48) sorted by relevance

12

/owl-s/src/examples/
H A DServiceExtension.java7 import impl.owls.service.ServiceImpl;
25 import org.mindswap.owls.service.Service;
33 * custom defined extensions of the service.
58 // create extended service
60 ExtendedService service = (ExtendedService) s.castTo(ExtendedService.class);
64 service.setProfile(profile);
65 service.setProcess(process);
66 service.setGrounding(grounding);
67 service.setAdditionalProperty("test");
70 System.out.println("Wrote and re-read service
[all...]
H A DRunService.java44 import org.mindswap.owls.service.Service;
57 Service service; field in class:RunService
82 // read the service description
83 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FrenchDictionary.owl");
84 process = service.getProcess();
140 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/ZipCodeFinder.owl");
141 process = service.getProcess();
161 // read the service description
162 service = kb.readService("http://www.ifi.unizh.ch/ddis/ont/owl-s/JGroundingTest.owl");
163 process = service
[all...]
H A DServiceParameterExample.java15 import org.mindswap.owls.service.Service;
37 System.out.print("Reading service...");
38 Service service = kb.readService("http://www.daml.org/services/owl-s/1.1/BravoAirService.owl");
41 printProfileInfo( service, null );
43 printProfileInfo( service, "RDFS" );
45 printProfileInfo( service, "Pellet" );
49 printProfileInfo( service, null );
67 System.out.println("Display service parameters");
79 System.out.println("Display service categories");
H A DTranslator.java38 * Read a service description written in one version and print the description in another
58 public void run(String service) throws Exception { argument
60 translator.translate(service, new PrintWriter(System.out));
H A DOWLSValidator.java38 import org.mindswap.owls.service.Service;
44 * Validate OWL-S service descriptions to find errors such as flaws in the data flow specification,
92 Service service = (Service) services.get(i);
93 out.printBold("Service: ").printLink(service.getURI().toString());
94 // out.print(" (Version: ").print(service.getOWLSVersion()).print(")").println();
95 out.printBold("Name: ").println(service.getLabel());
96 out.printBold("Description: ").println(service.getProfile().getTextDescription());
H A DCreateSequence.java48 import org.mindswap.owls.service.Service;
54 * An example to show how service descriptions can be created on the fly, saved and executed.
70 * each service in the list has exactly one input and one output (except the first and
71 * last one) such that in the resulting Service the output of each service will be fed
72 * as input to the next one. The first service does not have to have an input and the
73 * last one does not need to have an output. The resulting service will have an input
77 * @param baseURI The base URI for the generated service
81 Service service = ont.createService(URIUtils.createURI(baseURI, "TestService"));
88 service.setProfile(profile);
89 service
[all...]
H A DCreateJavaGrounding.java20 import org.mindswap.owls.service.Service;
26 * This example shows how to create a service grounded to a simple Java method.
27 * A sample service is generated and a grounding is created, which matches to
48 Service service = ont.createService(URI.create(baseURI + "MyService"));
50 service.setProcess(process);
74 jGrounding.setService(service);
79 System.out.println( "Executing service:" );
H A DForEachExample.java47 import org.mindswap.owls.service.Service;
69 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FindLatLong.owl");
70 Process process = service.getProcess();
H A DPreconditionCheck.java38 import org.mindswap.owls.service.Service;
57 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
58 Process process = service.getProcess();
H A DPreconditionUsage.java38 import org.mindswap.owls.service.Service;
57 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
58 Process process = service.getProcess();
H A DCreateComplexProcess.java37 import org.mindswap.owls.service.Service;
50 * </a>. The process model contains a sequence that starts with a service that gets the
65 // ontology where service descirption is saved
101 Service service = ont.createService( uri( "TestService" ) );
107 service.setProfile( profile );
108 service.setProcess( process );
109 service.setGrounding( grounding );
111 return service;
321 // create the service
324 // print the description of new service t
[all...]
/owl-s/src/impl/owls/process/
H A DAtomicProcessImpl.java34 import org.mindswap.owls.service.Service;
55 Service service = getService();
56 if( service == null )
58 Grounding grounding = service.getGrounding();
/owl-s/src/org/mindswap/owls/grounding/
H A DGrounding.java31 import org.mindswap.owls.service.Service;
48 * @param service
50 public void setService(Service service); argument
60 * Removes the service from this grounding by breaking the link
61 * <code>service:supportedBy</code>. The service itself remains untouched.2
H A DUPnPAtomicGrounding.java29 public void setUPnPService(String service); argument
/owl-s/src/test/
H A DRemovalTests.java16 import org.mindswap.owls.service.Service;
43 Service service;
45 service = kb.readService("http://www.ifi.unizh.ch/ddis/ont/next/ProcessSpace/Projectgigimgii.owl#gigimgii");
46 service.getOntology().write(System.out);
47 service.deleteProcess();
48 service.getOntology().write(System.out);
80 Service service = kb.createService(URIUtils.createURI(uri + "Service"));
81 service.setProcess(process);
83 service.deleteProcess();
/owl-s/src/org/mindswap/wsdl/
H A DWSDLTranslator.java40 import org.mindswap.owls.service.Service;
44 private Service service; field in class:WSDLTranslator
55 service = ont.createService(URIUtils.createURI(baseURI, prefix + "Service"));
65 service.setProfile(profile);
66 service.setProcess(process);
67 service.setGrounding(grounding);
77 // add the atomic process grounding to service grounding
82 service.getProfile().setServiceName(serviceName);
86 service.getProfile().setTextDescription(textDescription);
87 System.out.println(service
[all...]
/owl-s/src/org/mindswap/owl/
H A DOWLOntology.java10 import org.mindswap.owls.service.Service;
/owl-s/src/org/mindswap/owls/process/
H A DParameter.java33 import org.mindswap.owls.service.Service;
69 * Get the service object where this parameter occurs
H A DProcess.java35 import org.mindswap.owls.service.Service;
53 * Set the service this process belongs to.
55 * @param service
57 public void setService(Service service); argument
60 * Get the service this process belongs to. Actually a process may be used in multiple service
63 * a process occurence and returns the service object this process is used in.
65 * @return the service to which this process is bound
70 * Removes the service from this process by breaking the link
71 * <code>service
[all...]
/owl-s/src/impl/owls/grounding/
H A DGroundingImpl.java38 import org.mindswap.owls.service.Service;
98 * @return Returns the service.
105 * @param service The service to set.
107 public void setService(Service service) { argument
108 if(hasProperty(OWLS.Service.supportedBy, service))
111 setProperty(OWLS.Service.supportedBy, service);
112 service.setGrounding(this);
H A DUPnPAtomicGroundingImpl.java73 public void setUPnPService(String service) { argument
74 setProperty(FLAServiceOnt.upnpServiceID, service);
134 Service service = device.getService(getUPnPService());
135 Action action = service.getAction(getUPnPAction());
/owl-s/src/org/mindswap/owls/service/
H A DService.java27 package org.mindswap.owls.service;
37 * Represents the OWL-S service.
48 * for the same service is not supported.
50 * @return the profile of the service
58 * @return the process of the service
63 * Return the Grounding that belongs to this service
65 * @return the grounding of the service
70 * Set the Profile for this service
77 * Set the Process for this service
84 * Set the Grounding for this service
[all...]
/owl-s/src/org/mindswap/shop/
H A DSHOPTranslator.java26 import org.mindswap.owls.service.Service;
51 * @see org.mindswap.owls.io.OWLSWriter#write(org.mindswap.owls.service.Service, java.io.OutputStream)
53 public void write(Service service, OutputStream out) throws IOException { argument
54 write(service, new OutputStreamWriter(out, "UTF8"));
58 * @see org.mindswap.owls.io.OWLSWriter#write(org.mindswap.owls.service.Service, java.io.Writer)
60 public void write(Service service, Writer writer) { argument
65 processes.add(service.getProcess());
/owl-s/src/org/mindswap/owls/validator/
H A DOWLSValidatorReport.java9 import org.mindswap.owls.service.Service;
/owl-s/lib/
H A Dupnp.jar ... StateVariable getRelatedStateVariable () com.fujitsu.fla.upnp.Service service String relatedStatVarName private com.fujitsu.fla. ...

Completed in 36 milliseconds

12