Bus

org.topcased.externalbus.core
Class ExternalService

java.lang.Object
  extended by org.topcased.externalbus.core.ExternalService

public class ExternalService
extends java.lang.Object

Handle the class ExternalService defined by : "id", "name", "class", "typeId", "paramInId", "paramOutId"


Constructor Summary
ExternalService(java.lang.String serviceId, java.lang.String serviceName, IExternalService externalServiceClass, java.lang.String idType, java.util.Set<java.lang.String> idParameterIn, java.lang.String idParameterOut)
          Constructor
ExternalService(java.lang.String serviceId, java.lang.String serviceName, java.lang.String serviceClassName, IExternalService externalServiceClass)
          Constructor
 
Method Summary
 java.lang.String getClassName()
          Returns service class name of this service
 IExternalService getClazz()
          Returns external 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)
          Set input ExternalParameter id of this Service.
 void setParamOutId(java.lang.String idParamOut)
          Set output ExternalParameter id of this Service
 void setTypeId(java.lang.String idType)
          Set 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

ExternalService

public ExternalService(java.lang.String serviceId,
                       java.lang.String serviceName,
                       java.lang.String serviceClassName,
                       IExternalService externalServiceClass)
Constructor

Parameters:
serviceId - : String of the service id
serviceName - : String of the service name
serviceClassName - : String of the service class name
externalServiceClass - : IExternalService of the class

ExternalService

public ExternalService(java.lang.String serviceId,
                       java.lang.String serviceName,
                       IExternalService externalServiceClass,
                       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
externalServiceClass - : IExternalService 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)
Set type id of this Service

Parameters:
idType - : Type id

setParamOutId

public void setParamOutId(java.lang.String idParamOut)
Set output ExternalParameter id of this Service

Parameters:
idParamOut - : output ExternalParameter id

setParamInId

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

Parameters:
idParamIn - : output ExternalParameter 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

getClassName

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

Returns:
service class name

getClazz

public IExternalService getClazz()
Returns external 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.