net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tx
Class Advice

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.beans.IdentifiedType
      extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tx.Advice
All Implemented Interfaces:
Serializable, Cloneable

public class Advice
extends IdentifiedType
implements Serializable, Cloneable

Defines the transactional semantics of the AOP advice that is to be executed. That is, this advice element is where the transactional semantics of any number of methods are defined (where transactional semantics includes the propagation settings, the isolation level, the rollback rules, and suchlike).

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{http://www.springframework.org/schema/beans}identifiedType">
       <sequence>
         <element name="attributes" type="{http://www.springframework.org/schema/tx}attributesType" minOccurs="0"/>
       </sequence>
       <attribute name="transaction-manager" type="{http://www.w3.org/2001/XMLSchema}string" default="transactionManager" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AttributesType attributes
           
protected  String transactionManager
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.beans.IdentifiedType
id
 
Constructor Summary
Advice()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tx.Advice instance.
Advice(Advice o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tx.Advice instance by copying a given instance.
 
Method Summary
 Advice clone()
          Creates and returns a copy of this object.
 AttributesType getAttributes()
          Gets the value of the attributes property.
 String getTransactionManager()
          Gets the value of the transactionManager property.
 void setAttributes(AttributesType value)
          Sets the value of the attributes property.
 void setTransactionManager(String value)
          Sets the value of the transactionManager property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.beans.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected AttributesType attributes

transactionManager

protected String transactionManager
Constructor Detail

Advice

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


Advice

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

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

getAttributes

public AttributesType getAttributes()
Gets the value of the attributes property.

Returns:
possible object is AttributesType

setAttributes

public void setAttributes(AttributesType value)
Sets the value of the attributes property.

Parameters:
value - allowed object is AttributesType

getTransactionManager

public String getTransactionManager()
Gets the value of the transactionManager property.

Returns:
possible object is String

setTransactionManager

public void setTransactionManager(String value)
Sets the value of the transactionManager property.

Parameters:
value - allowed object is String

clone

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

Specified by:
clone in class IdentifiedType
Returns:
A clone of this instance.


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