org.eclipse.modisco.jee.ejbjar.EjbJar30
Interface ApplicationExceptionType


public interface ApplicationExceptionType

A representation of the model object 'Application Exception Type'. 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.

The following features are supported:

See Also:
EjbJar30Package.getApplicationExceptionType()
Generated:
Model:
extendedMetaData="name='application-exceptionType' kind='elementOnly'"

Method Summary
 FullyQualifiedClassType getExceptionClass()
          Returns the value of the 'Exception Class' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 TrueFalseType getRollback()
          Returns the value of the 'Rollback' containment reference.
 void setExceptionClass(FullyQualifiedClassType value)
          Sets the value of the 'Exception Class' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setRollback(TrueFalseType value)
          Sets the value of the 'Rollback' containment reference.
 

Method Detail

getExceptionClass

FullyQualifiedClassType getExceptionClass()
Returns the value of the 'Exception Class' containment reference.

If the meaning of the 'Exception Class' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Exception Class' containment reference.
See Also:
setExceptionClass(FullyQualifiedClassType), EjbJar30Package.getApplicationExceptionType_ExceptionClass()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='exception-class' namespace='http://java.sun.com/xml/ns/javaee'"

setExceptionClass

void setExceptionClass(FullyQualifiedClassType value)
Sets the value of the 'Exception Class' containment reference.

Parameters:
value - the new value of the 'Exception Class' containment reference.
See Also:
getExceptionClass()
Generated:

getRollback

TrueFalseType getRollback()
Returns the value of the 'Rollback' containment reference.

If the meaning of the 'Rollback' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Rollback' containment reference.
See Also:
setRollback(TrueFalseType), EjbJar30Package.getApplicationExceptionType_Rollback()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='rollback' namespace='http://java.sun.com/xml/ns/javaee'"

setRollback

void setRollback(TrueFalseType value)
Sets the value of the 'Rollback' containment reference.

Parameters:
value - the new value of the 'Rollback' containment reference.
See Also:
getRollback()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar30Package.getApplicationExceptionType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: