org.apache.openejb.jee.wls
Class TransactionIsolation

java.lang.Object
  extended by org.apache.openejb.jee.wls.TransactionIsolation

public class TransactionIsolation
extends Object

Java class for transaction-isolation complex type.

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

 <complexType name="transaction-isolation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="isolation-level" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="method" type="{http://www.bea.com/ns/weblogic/90}method" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  String isolationLevel
           
protected  List<Method> method
           
 
Constructor Summary
TransactionIsolation()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getIsolationLevel()
          Gets the value of the isolationLevel property.
 List<Method> getMethod()
          Gets the value of the method property.
 void setId(String value)
          Sets the value of the id property.
 void setIsolationLevel(String value)
          Sets the value of the isolationLevel property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isolationLevel

protected String isolationLevel

method

protected List<Method> method

id

protected String id
Constructor Detail

TransactionIsolation

public TransactionIsolation()
Method Detail

getIsolationLevel

public String getIsolationLevel()
Gets the value of the isolationLevel property.

Returns:
possible object is String

setIsolationLevel

public void setIsolationLevel(String value)
Sets the value of the isolationLevel property.

Parameters:
value - allowed object is String

getMethod

public List<Method> getMethod()
Gets the value of the method property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the method property.

For example, to add a new item, do as follows:

    getMethod().add(newItem);
 

Objects of the following type(s) are allowed in the list Method


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.