org.ow2.util.ee.metadata.ejbjar.api.struct
Interface IJEjbStatefulTimeout

All Superinterfaces:
Serializable

public interface IJEjbStatefulTimeout
extends Serializable

This interface represents methods which can be call on ClassAnnotationMetadata.
It manages @javax.ejb.StatefulTimeout annotation.

Author:
Loic Albertin

Method Summary
 TimeUnit getUnit()
           
 long getValue()
           
 void setUnit(TimeUnit timeUnit)
          Sets the unit type.
 void setValue(long value)
          Sets the value.
 

Method Detail

getValue

long getValue()
Returns:
value (value to be used).

setValue

void setValue(long value)
Sets the value.

Parameters:
value - the given value.

getUnit

TimeUnit getUnit()
Returns:
the unit type.

setUnit

void setUnit(TimeUnit timeUnit)
Sets the unit type.

Parameters:
timeUnit - value to set.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.