Bus

org.topcased.bus.core
Class Service

java.lang.Object
  extended by org.topcased.bus.core.Service

public class Service
extends java.lang.Object

This code handles the class Service defined by :


Constructor Summary
Service(java.lang.String serviceId, java.lang.String serviceName, IService serviceClass)
          Constructor
Service(java.lang.String serviceId, java.lang.String serviceName, IService serviceClass, java.lang.String idType, java.util.Set<java.lang.String> idParameterIn, java.lang.String IdParameterOut)
          Constructor
 
Method Summary
 IService getClass_()
          Returns service class of this service
 java.lang.String getId()
          Returns service id of this service
 java.util.Set<java.lang.String> getIdParameterIn()
          Returns service input parameter ids of this service
 java.lang.String getIdParameterOut()
          Returns service output parameter id of this service
 java.lang.String getIdType()
          Returns service type id of this service
 java.lang.String getName()
          Returns service name of this service
 void setParamInId(java.lang.String idParamIn)
          Sets input Parameter id of this Service.
 void setParamOutId(java.lang.String idParamOut)
          Sets output Parameter id of this Service
 void setTypeId(java.lang.String idType)
          Sets type id of this Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service(java.lang.String serviceId,
               java.lang.String serviceName,
               IService serviceClass)
Constructor

Parameters:
serviceId - : String of the service id
serviceName - : String of the service name
serviceClass - : IService of the class

Service

public Service(java.lang.String serviceId,
               java.lang.String serviceName,
               IService serviceClass,
               java.lang.String idType,
               java.util.Set<java.lang.String> idParameterIn,
               java.lang.String IdParameterOut)
Constructor

Parameters:
serviceId - : String of the service id
serviceName - : String of the service name
serviceClass - : IService of the class
idType - : String of the type id
idParameterIn - : set (of String) of parameter input id
IdParameterOut - : parameter output id
Method Detail

setTypeId

public void setTypeId(java.lang.String idType)
Sets type id of this Service

Parameters:
idType - : Type id

setParamOutId

public void setParamOutId(java.lang.String idParamOut)
Sets output Parameter id of this Service

Parameters:
idParamOut - : output Parameter id

setParamInId

public void setParamInId(java.lang.String idParamIn)
Sets input Parameter id of this Service. Add this id in the Set of input Paramter ids

Parameters:
idParamIn - : output Parameter id

getId

public java.lang.String getId()
Returns service id of this service

Returns:
service id

getName

public java.lang.String getName()
Returns service name of this service

Returns:
service name

getClass_

public IService getClass_()
Returns service class of this service

Returns:
service class

getIdType

public java.lang.String getIdType()
Returns service type id of this service

Returns:
type id of this service

getIdParameterOut

public java.lang.String getIdParameterOut()
Returns service output parameter id of this service

Returns:
id of output parameter of this service

getIdParameterIn

public java.util.Set<java.lang.String> getIdParameterIn()
Returns service input parameter ids of this service

Returns:
Set of all ids of input parameter of this service

Bus

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.