org.eclipse.modisco.jee.ejbjar.EjbJar31
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. - an optional inherited element. If this element is set to true, subclasses of the exception class type are also automatically considered application exceptions (unless overriden at a lower level). If set to false, only the exception class type is considered an application-exception, not its exception subclasses. If not specified, this value defaults to true.

The following features are supported:

See Also:
EjbJar31Package.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 getInherited()
          Returns the value of the 'Inherited' containment reference.
 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 setInherited(TrueFalseType value)
          Sets the value of the 'Inherited' containment reference.
 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), EjbJar31Package.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), EjbJar31Package.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:

getInherited

TrueFalseType getInherited()
Returns the value of the 'Inherited' containment reference.

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

Returns:
the value of the 'Inherited' containment reference.
See Also:
setInherited(TrueFalseType), EjbJar31Package.getApplicationExceptionType_Inherited()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='inherited' namespace='http://java.sun.com/xml/ns/javaee'"

setInherited

void setInherited(TrueFalseType value)
Sets the value of the 'Inherited' containment reference.

Parameters:
value - the new value of the 'Inherited' containment reference.
See Also:
getInherited()
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), EjbJar31Package.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: