org.ow2.jonas.ejb2
Class JTimerHandleInfo

java.lang.Object
  extended by org.ow2.jonas.ejb2.JTimerHandleInfo
All Implemented Interfaces:
Serializable

public class JTimerHandleInfo
extends Object
implements Serializable

Hold TimerHandle datas. Used to retrieve a given Timer.

Author:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
JTimerHandleInfo()
           
 
Method Summary
 boolean equals(Object obj)
          Test equality between 2 JTimerHandleInfo instances.
 String getBeanId()
           
 String getContainerId()
           
 long getDuration()
           
 Serializable getInfo()
           
 long getPeriod()
           
 Serializable getPk()
           
 long getStartTime()
           
 int hashCode()
          
 void setBeanId(String beanId)
           
 void setContainerId(String containerId)
           
 void setDuration(long duration)
           
 void setInfo(Serializable info)
           
 void setPeriod(long period)
           
 void setPk(Serializable pk)
           
 void setStartTime(long startTime)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTimerHandleInfo

public JTimerHandleInfo()
Method Detail

getBeanId

public String getBeanId()
Returns:
the beanId

setBeanId

public void setBeanId(String beanId)
Parameters:
beanId - the beanId to set

getContainerId

public String getContainerId()
Returns:
the containerId

setContainerId

public void setContainerId(String containerId)
Parameters:
containerId - the containerId to set

getDuration

public long getDuration()
Returns:
the duration

setDuration

public void setDuration(long duration)
Parameters:
duration - the duration to set

getInfo

public Serializable getInfo()
Returns:
the info

setInfo

public void setInfo(Serializable info)
Parameters:
info - the info to set

getPeriod

public long getPeriod()
Returns:
the period

setPeriod

public void setPeriod(long period)
Parameters:
period - the period to set

getPk

public Serializable getPk()
Returns:
the pk

setPk

public void setPk(Serializable pk)
Parameters:
pk - the pk to set

getStartTime

public long getStartTime()
Returns:
the startTime

setStartTime

public void setStartTime(long startTime)
Parameters:
startTime - the startTime to set

equals

public boolean equals(Object obj)
Test equality between 2 JTimerHandleInfo instances.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2010 OW2 Consortium. All Rights Reserved.