org.apache.openejb.jee
Class Timeout

java.lang.Object
  extended by org.apache.openejb.jee.Timeout

public class Timeout
extends Object

ejb-jar_3_1.xsd class that combines the access-timeoutType and session-timeoutType xml types which have the same structure.

Java class for access-timeoutType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="access-timeoutType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType"/>
         <element name="unit" type="{http://java.sun.com/xml/ns/javaee}time-unit-typeType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

Java class for stateful-timeoutType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="stateful-timeoutType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="timeout" type="{http://java.sun.com/xml/ns/javaee}xsdIntegerType"/>
         <element name="unit" type="{http://java.sun.com/xml/ns/javaee}time-unit-typeType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  long timeout
           
protected  TimeUnit unit
           
 
Constructor Summary
Timeout()
           
 
Method Summary
 String getId()
           
 long getTimeout()
           
 TimeUnit getUnit()
           
 void setId(String value)
           
 void setTimeout(long value)
           
 void setUnit(TimeUnit value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

protected long timeout

unit

protected TimeUnit unit

id

protected String id
Constructor Detail

Timeout

public Timeout()
Method Detail

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long value)

getUnit

public TimeUnit getUnit()

setUnit

public void setUnit(TimeUnit value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.