org.universAAL.middleware.service.impl
Class ServiceWrapper

Package class diagram package ServiceWrapper
java.lang.Object
  extended by org.universAAL.middleware.service.impl.ServiceWrapper
Direct Known Subclasses:
ServiceProfileWrapper, ServiceRequestWrapper

public abstract class ServiceWrapper
extends Object

A wrapper class that provides a unified interface to get properties from ServiceRequests as well as ServiceProfiles.

Author:
Carsten Stockloew

Constructor Summary
protected ServiceWrapper()
           
 
Method Summary
static ServiceWrapper create(ServiceProfile profile)
           
static ServiceWrapper create(ServiceRequest request)
           
abstract  Resource[] getEffects()
           
abstract  Object getInitialServiceDialogProperty(String propURI)
           
 Hashtable getNonSemanticInput()
           
abstract  Resource[] getOutputs()
           
abstract  Object getProperty(String propURI)
           
abstract  Service getService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceWrapper

protected ServiceWrapper()
Method Detail

create

public static ServiceWrapper create(ServiceRequest request)

create

public static ServiceWrapper create(ServiceProfile profile)

getService

public abstract Service getService()

getProperty

public abstract Object getProperty(String propURI)

getEffects

public abstract Resource[] getEffects()

getOutputs

public abstract Resource[] getOutputs()

getNonSemanticInput

public Hashtable getNonSemanticInput()

getInitialServiceDialogProperty

public abstract Object getInitialServiceDialogProperty(String propURI)


Copyright © 2014 universAAL Consortium. All Rights Reserved.