org.jboss.dtf.testframework.testnode
Class TaskId

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.jboss.dtf.testframework.testnode.TaskId
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, TaskIdInterface

public class TaskId
extends java.rmi.server.UnicastRemoteObject
implements TaskIdInterface

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface org.jboss.dtf.testframework.testnode.TaskIdInterface
UNDEFINED_TEST_ID, UNKNOWN_SERVICE_ID
 
Constructor Summary
TaskId()
           
 
Method Summary
 TaskIdInterface copyTask()
           
 java.lang.String dumpInfo()
           
 java.lang.String getHashCode()
           
 short getServiceId()
           
 short getTaskId()
           
 short getTestId()
           
 TaskIdInterface incrementTaskId()
           
 boolean inSameTest(TaskIdInterface id)
           
 void setServiceId(short id)
           
 void setTaskId(short id)
           
 void setTestId(short id)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskId

public TaskId()
       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

incrementTaskId

public final TaskIdInterface incrementTaskId()
                                      throws java.rmi.RemoteException
Specified by:
incrementTaskId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

getTaskId

public final short getTaskId()
                      throws java.rmi.RemoteException
Specified by:
getTaskId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

getTestId

public final short getTestId()
                      throws java.rmi.RemoteException
Specified by:
getTestId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

setTaskId

public final void setTaskId(short id)
                     throws java.rmi.RemoteException
Specified by:
setTaskId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

setTestId

public final void setTestId(short id)
                     throws java.rmi.RemoteException
Specified by:
setTestId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

getServiceId

public final short getServiceId()
                         throws java.rmi.RemoteException
Specified by:
getServiceId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

setServiceId

public final void setServiceId(short id)
                        throws java.rmi.RemoteException
Specified by:
setServiceId in interface TaskIdInterface
Throws:
java.rmi.RemoteException

dumpInfo

public java.lang.String dumpInfo()
                          throws java.rmi.RemoteException
Specified by:
dumpInfo in interface TaskIdInterface
Throws:
java.rmi.RemoteException

getHashCode

public java.lang.String getHashCode()
                             throws java.rmi.RemoteException
Specified by:
getHashCode in interface TaskIdInterface
Throws:
java.rmi.RemoteException

inSameTest

public boolean inSameTest(TaskIdInterface id)
                   throws java.rmi.RemoteException
Specified by:
inSameTest in interface TaskIdInterface
Throws:
java.rmi.RemoteException

copyTask

public TaskIdInterface copyTask()
                         throws java.rmi.RemoteException
Specified by:
copyTask in interface TaskIdInterface
Throws:
java.rmi.RemoteException