net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.javaee
Interface ApplicationExceptionType

All Known Implementing Classes:
ApplicationExceptionTypeImpl

public interface ApplicationExceptionType

The application-exceptionType declares an application exception. The declaration consists of: - the exception class. When the container receives an exception of this type, it is required to forward this exception as an applcation exception to the client regardless of whether it is a checked or unchecked exception. - an optional rollback element. If this element is set to true, the container must rollback the current transaction before forwarding the exception to the client. If not specified, it defaults to false.

Java class for application-exceptionType complex type.

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

 <complexType name="application-exceptionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="exception-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="rollback" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 FullyQualifiedClassType getExceptionClass()
          Gets the value of the exceptionClass property.
 String getId()
          Gets the value of the id property.
 TrueFalseType getRollback()
          Gets the value of the rollback property.
 void setExceptionClass(FullyQualifiedClassType value)
          Sets the value of the exceptionClass property.
 void setId(String value)
          Sets the value of the id property.
 void setRollback(TrueFalseType value)
          Sets the value of the rollback property.
 

Method Detail

getExceptionClass

FullyQualifiedClassType getExceptionClass()
Gets the value of the exceptionClass property.

Returns:
possible object is FullyQualifiedClassType

setExceptionClass

void setExceptionClass(FullyQualifiedClassType value)
Sets the value of the exceptionClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getRollback

TrueFalseType getRollback()
Gets the value of the rollback property.

Returns:
possible object is TrueFalseType

setRollback

void setRollback(TrueFalseType value)
Sets the value of the rollback property.

Parameters:
value - allowed object is TrueFalseType

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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