net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx
Class AttributesType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx.AttributesType
All Implemented Interfaces:
Serializable, Cloneable

public class AttributesType
extends Object
implements Serializable, Cloneable

Java class for attributesType complex type.

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

 <complexType name="attributesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="method" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="propagation" default="REQUIRED">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="REQUIRED"/>
                       <enumeration value="SUPPORTS"/>
                       <enumeration value="MANDATORY"/>
                       <enumeration value="REQUIRES_NEW"/>
                       <enumeration value="NOT_SUPPORTED"/>
                       <enumeration value="NEVER"/>
                       <enumeration value="NESTED"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="isolation" default="DEFAULT">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="DEFAULT"/>
                       <enumeration value="READ_UNCOMMITTED"/>
                       <enumeration value="READ_COMMITTED"/>
                       <enumeration value="REPEATABLE_READ"/>
                       <enumeration value="SERIALIZABLE"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}integer" default="-1" />
                 <attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                 <attribute name="rollback-for" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="no-rollback-for" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class AttributesType.Method
          Java class for anonymous complex type.
 
Field Summary
protected  AttributesType.Method[] method
           
 
Constructor Summary
AttributesType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx.AttributesType instance.
AttributesType(AttributesType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx.AttributesType instance by copying a given instance.
 
Method Summary
 AttributesType clone()
          Creates and returns a copy of this object.
 AttributesType.Method[] getMethod()
           
 AttributesType.Method getMethod(int idx)
           
 int getMethodLength()
           
 void setMethod(AttributesType.Method[] values)
           
 AttributesType.Method setMethod(int idx, AttributesType.Method value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected AttributesType.Method[] method
Constructor Detail

AttributesType

public AttributesType()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx.AttributesType instance.


AttributesType

public AttributesType(AttributesType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.spring.tx.AttributesType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getMethod

public AttributesType.Method[] getMethod()
Returns:
array of AttributesType.Method

getMethod

public AttributesType.Method getMethod(int idx)
Returns:
one of AttributesType.Method

getMethodLength

public int getMethodLength()

setMethod

public void setMethod(AttributesType.Method[] values)
Parameters:
values - allowed objects are AttributesType.Method

setMethod

public AttributesType.Method setMethod(int idx,
                                       AttributesType.Method value)
Parameters:
value - allowed object is AttributesType.Method

clone

public AttributesType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.