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

All Superinterfaces:
Serializable

public interface IJEjbAccessTimeout
extends Serializable

Manages @javax.ejb.AccessTimeout annotation.

Author:
Florent BENOIT

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.