|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.hyades.logging.events.cbe.util.EventSwitch
The Switch for the model's inheritance hierarchy.
It supports the call doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
EventPackage
Field Summary | |
---|---|
protected static EventPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
EventSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
java.lang.Object |
caseAssociatedEvent(AssociatedEvent object)
Returns the result of interpretting the object as an instance of 'Associated Event'. |
java.lang.Object |
caseAssociationEngine(AssociationEngine object)
Returns the result of interpretting the object as an instance of 'Association Engine'. |
java.lang.Object |
caseAvailableSituation(AvailableSituation object)
Returns the result of interpretting the object as an instance of 'Available Situation'. |
java.lang.Object |
caseCommonBaseEvent(CommonBaseEvent object)
Returns the result of interpretting the object as an instance of 'Common Base Event'. |
java.lang.Object |
caseComponentIdentification(ComponentIdentification object)
Returns the result of interpretting the object as an instance of 'Component Identification'. |
java.lang.Object |
caseConfigureSituation(ConfigureSituation object)
Returns the result of interpretting the object as an instance of 'Configure Situation'. |
java.lang.Object |
caseConnectSituation(ConnectSituation object)
Returns the result of interpretting the object as an instance of 'Connect Situation'. |
java.lang.Object |
caseContextDataElement(ContextDataElement object)
Returns the result of interpretting the object as an instance of 'Context Data Element'. |
java.lang.Object |
caseCreateSituation(CreateSituation object)
Returns the result of interpretting the object as an instance of 'Create Situation'. |
java.lang.Object |
caseDependencySituation(DependencySituation object)
Returns the result of interpretting the object as an instance of 'Dependency Situation'. |
java.lang.Object |
caseDestroySituation(DestroySituation object)
Returns the result of interpretting the object as an instance of 'Destroy Situation'. |
java.lang.Object |
caseExtendedDataElement(ExtendedDataElement object)
Returns the result of interpretting the object as an instance of 'Extended Data Element'. |
java.lang.Object |
caseFeatureSituation(FeatureSituation object)
Returns the result of interpretting the object as an instance of 'Feature Situation'. |
java.lang.Object |
caseMsgCatalogToken(MsgCatalogToken object)
Returns the result of interpretting the object as an instance of 'Msg Catalog Token'. |
java.lang.Object |
caseMsgDataElement(MsgDataElement object)
Returns the result of interpretting the object as an instance of 'Msg Data Element'. |
java.lang.Object |
caseOtherSituation(OtherSituation object)
Returns the result of interpretting the object as an instance of 'Other Situation'. |
java.lang.Object |
caseReportSituation(ReportSituation object)
Returns the result of interpretting the object as an instance of 'Report Situation'. |
java.lang.Object |
caseRequestSituation(RequestSituation object)
Returns the result of interpretting the object as an instance of 'Request Situation'. |
java.lang.Object |
caseSerializable(java.io.Serializable object)
Returns the result of interpretting the object as an instance of 'Serializable'. |
java.lang.Object |
caseSituation(Situation object)
Returns the result of interpretting the object as an instance of 'Situation'. |
java.lang.Object |
caseSituationType(SituationType object)
Returns the result of interpretting the object as an instance of 'Situation Type'. |
java.lang.Object |
caseStartSituation(StartSituation object)
Returns the result of interpretting the object as an instance of 'Start Situation'. |
java.lang.Object |
caseStopSituation(StopSituation object)
Returns the result of interpretting the object as an instance of 'Stop Situation'. |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static EventPackage modelPackage
Constructor Detail |
public EventSwitch()
Method Detail |
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public java.lang.Object caseAssociatedEvent(AssociatedEvent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAssociationEngine(AssociationEngine object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAvailableSituation(AvailableSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCommonBaseEvent(CommonBaseEvent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentIdentification(ComponentIdentification object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConfigureSituation(ConfigureSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConnectSituation(ConnectSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseContextDataElement(ContextDataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCreateSituation(CreateSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDependencySituation(DependencySituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDestroySituation(DestroySituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseExtendedDataElement(ExtendedDataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFeatureSituation(FeatureSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMsgCatalogToken(MsgCatalogToken object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMsgDataElement(MsgDataElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseOtherSituation(OtherSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReportSituation(ReportSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRequestSituation(RequestSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSituation(Situation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSituationType(SituationType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStartSituation(StartSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseStopSituation(StopSituation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSerializable(java.io.Serializable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |