net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.tx
Interface AttributesType

All Known Implementing Classes:
AttributesTypeImpl

public interface AttributesType

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>
 


Nested Class Summary
static interface AttributesType.Method
          Java class for anonymous complex type.
 
Method Summary
 List<AttributesType.Method> getMethod()
          Gets the value of the method property.
 

Method Detail

getMethod

List<AttributesType.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 AttributesType.Method



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