com.ibm.websphere.models.extensions.eventsejbext
Interface CommonBaseEventMethodPolicy

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CommonBaseEventMethodPolicyImpl

public interface CommonBaseEventMethodPolicy
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Common Base Event Method Policy'. CEI Events attributes for EJB methods.

The following features are supported:

See Also:
EventsejbextPackage.getCommonBaseEventMethodPolicy()

Method Summary
 org.eclipse.emf.common.util.EList getExtendedDataElements()
          Returns the value of the 'Extended Data Elements' containment reference list.
 java.lang.String getExtensionName()
          Returns the value of the 'Extension Name' attribute
 org.eclipse.emf.common.util.EList getMethodElements()
          Returns the value of the 'Method Elements' containment reference list.
 int getPriority()
          Returns the value of the 'Priority' attribute.
 int getSeverity()
          Returns the value of the 'Severity' attribute.
 EventTime getWhen()
          Returns the value of the 'When' attribute.
 boolean isSetPriority()
          Returns whether the value of the 'Priority' attribute is set
 boolean isSetSeverity()
          Returns whether the value of the 'Severity' attribute is set
 boolean isSetWhen()
          Returns whether the value of the 'When' attribute is set
 void setExtensionName(java.lang.String value)
          Sets the value of the 'Extension Name' attribute
 void setPriority(int value)
          Sets the value of the 'Priority' attribute
 void setSeverity(int value)
          Sets the value of the 'Severity' attribute
 void setWhen(EventTime value)
          Sets the value of the 'When' attribute
 void unsetPriority()
          Unsets the value of the 'Priority' attribute
 void unsetSeverity()
          Unsets the value of the 'Severity' attribute
 void unsetWhen()
          Unsets the value of the 'When' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getExtensionName

java.lang.String getExtensionName()
Returns the value of the 'Extension Name' attribute. Identifies the type of event to generate

Returns:
the value of the 'Extension Name' attribute.
See Also:
setExtensionName(String), EventsejbextPackage.getCommonBaseEventMethodPolicy_ExtensionName()

setExtensionName

void setExtensionName(java.lang.String value)
Sets the value of the 'Extension Name' attribute.

Parameters:
value - the new value of the 'Extension Name' attribute.
See Also:
getExtensionName()

getSeverity

int getSeverity()
Returns the value of the 'Severity' attribute. The default value is "0". Valid range: 0-60

Returns:
the value of the 'Severity' attribute.
See Also:
isSetSeverity(), unsetSeverity(), setSeverity(int), EventsejbextPackage.getCommonBaseEventMethodPolicy_Severity()

setSeverity

void setSeverity(int value)
Sets the value of the 'Severity' attribute.

Parameters:
value - the new value of the 'Severity' attribute.
See Also:
isSetSeverity(), unsetSeverity(), getSeverity()

unsetSeverity

void unsetSeverity()
Unsets the value of the 'Severity' attribute.

See Also:
isSetSeverity(), getSeverity(), setSeverity(int)

isSetSeverity

boolean isSetSeverity()
Returns whether the value of the 'Severity' attribute is set.

Returns:
whether the value of the 'Severity' attribute is set.
See Also:
unsetSeverity(), getSeverity(), setSeverity(int)

getPriority

int getPriority()
Returns the value of the 'Priority' attribute. The default value is "0". Valid range: 0-100

Returns:
the value of the 'Priority' attribute.
See Also:
isSetPriority(), unsetPriority(), setPriority(int), EventsejbextPackage.getCommonBaseEventMethodPolicy_Priority()

setPriority

void setPriority(int value)
Sets the value of the 'Priority' attribute.

Parameters:
value - the new value of the 'Priority' attribute.
See Also:
isSetPriority(), unsetPriority(), getPriority()

unsetPriority

void unsetPriority()
Unsets the value of the 'Priority' attribute.

See Also:
isSetPriority(), getPriority(), setPriority(int)

isSetPriority

boolean isSetPriority()
Returns whether the value of the 'Priority' attribute is set.

Returns:
whether the value of the 'Priority' attribute is set.
See Also:
unsetPriority(), getPriority(), setPriority(int)

getWhen

EventTime getWhen()
Returns the value of the 'When' attribute. The default value is "BEFORE". The literals are from the enumeration EventTime. Specifies whether the event is fired before or after the EJB method invocation.

Returns:
the value of the 'When' attribute.
See Also:
EventTime, isSetWhen(), unsetWhen(), setWhen(EventTime), EventsejbextPackage.getCommonBaseEventMethodPolicy_When()

setWhen

void setWhen(EventTime value)
Sets the value of the 'When' attribute.

Parameters:
value - the new value of the 'When' attribute.
See Also:
EventTime, isSetWhen(), unsetWhen(), getWhen()

unsetWhen

void unsetWhen()
Unsets the value of the 'When' attribute.

See Also:
isSetWhen(), getWhen(), setWhen(EventTime)

isSetWhen

boolean isSetWhen()
Returns whether the value of the 'When' attribute is set.

Returns:
whether the value of the 'When' attribute is set.
See Also:
unsetWhen(), getWhen(), setWhen(EventTime)

getMethodElements

org.eclipse.emf.common.util.EList getMethodElements()
Returns the value of the 'Method Elements' containment reference list. The list contents are of type MethodElement. The EJB methods to which this events info applies.

Returns:
the value of the 'Method Elements' containment reference list.
See Also:
EventsejbextPackage.getCommonBaseEventMethodPolicy_MethodElements()

getExtendedDataElements

org.eclipse.emf.common.util.EList getExtendedDataElements()
Returns the value of the 'Extended Data Elements' containment reference list. The list contents are of type CommonBaseEventExtendedDataElement. An optional collection of common base event extended data elements that each apply to a list of EJB methods.

Returns:
the value of the 'Extended Data Elements' containment reference list.
See Also:
EventsejbextPackage.getCommonBaseEventMethodPolicy_ExtendedDataElements()