Sun Adapter for TCP/IP HL7

com.stc.connector.tcpip.model.server
Class TCPIPServerWorkerScheduleInfo

java.lang.Object
  extended by com.stc.connector.tcpip.model.server.TCPIPServerWorkerScheduleInfo
All Implemented Interfaces:
TCPIPServerWorkerScheduleInfoInterface

public class TCPIPServerWorkerScheduleInfo
extends java.lang.Object
implements TCPIPServerWorkerScheduleInfoInterface

This class wraps TCPIPServerScheduleInfo for BPEL usage.

Version:
cvs revision: $Revision: 1.3 $ Last Modified: $Date: 2008/04/23 07:15:26 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Constructor Summary
TCPIPServerWorkerScheduleInfo(TCPIPServerScheduleInfo serverScheduleInfo)
          Constructor
 
Method Summary
 boolean getAtFixedRate()
           
 long getDelay()
           
 long getPeriod()
           
 java.lang.String getScheduler()
           
 java.lang.String getScheduleType()
           
 void setAtFixedRate(boolean workerAtFixedRate)
           
 void setDelay(long workerDelay)
           
 void setPeriod(long workerPeriod)
           
 void setScheduler(java.lang.String string)
           
 void setScheduleType(java.lang.String string)
           
 void validate()
          Validates the scheduler configuration settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

TCPIPServerWorkerScheduleInfo

public TCPIPServerWorkerScheduleInfo(TCPIPServerScheduleInfo serverScheduleInfo)
Constructor

Parameters:
serverScheduleInfo - instance of TCPIPServerScheduleInfo
Method Detail

getAtFixedRate

public boolean getAtFixedRate()
Specified by:
getAtFixedRate in interface TCPIPServerWorkerScheduleInfoInterface
Returns:
boolean

getDelay

public long getDelay()
Specified by:
getDelay in interface TCPIPServerWorkerScheduleInfoInterface
Returns:
long

getPeriod

public long getPeriod()
Specified by:
getPeriod in interface TCPIPServerWorkerScheduleInfoInterface
Returns:
long

getScheduler

public java.lang.String getScheduler()
Specified by:
getScheduler in interface TCPIPServerWorkerScheduleInfoInterface
Returns:
String

getScheduleType

public java.lang.String getScheduleType()
Specified by:
getScheduleType in interface TCPIPServerWorkerScheduleInfoInterface
Returns:
String

setAtFixedRate

public void setAtFixedRate(boolean workerAtFixedRate)
Parameters:
workerAtFixedRate - the value to set

setDelay

public void setDelay(long workerDelay)
              throws TCPIPApplicationException
Parameters:
workerDelay - the value to set
Throws:
TCPIPApplicationException

setPeriod

public void setPeriod(long workerPeriod)
               throws TCPIPApplicationException
Parameters:
workerPeriod - the value to set
Throws:
TCPIPApplicationException

setScheduler

public void setScheduler(java.lang.String string)
                  throws TCPIPApplicationException
Parameters:
string - the value to set
Throws:
TCPIPApplicationException

setScheduleType

public void setScheduleType(java.lang.String string)
                     throws TCPIPApplicationException
Parameters:
string - the value to set
Throws:
TCPIPApplicationException

validate

public void validate()
              throws TCPIPApplicationException
Validates the scheduler configuration settings.

Throws:
TCPIPApplicationException - on error

Sun Adapter for TCP/IP HL7