|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.component.util.ComponentSwitch
public class ComponentSwitch
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.
ComponentPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static ComponentSwitch |
INSTANCE
|
protected static ComponentPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ComponentSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseBusAccessEnd(BusAccessEnd object)
Returns the result of interpretting the object as an instance of 'Bus Access End' |
java.lang.Object |
caseBusClassifier(BusClassifier object)
Returns the result of interpretting the object as an instance of 'Bus Classifier' |
java.lang.Object |
caseBusImpl(BusImpl object)
Returns the result of interpretting the object as an instance of 'Bus Impl' |
java.lang.Object |
caseBusSubcomponent(BusSubcomponent object)
Returns the result of interpretting the object as an instance of 'Bus Subcomponent' |
java.lang.Object |
caseBusSubcomponents(BusSubcomponents object)
Returns the result of interpretting the object as an instance of 'Bus Subcomponents' |
java.lang.Object |
caseBusType(BusType object)
Returns the result of interpretting the object as an instance of 'Bus Type' |
java.lang.Object |
caseCallSequence(CallSequence object)
Returns the result of interpretting the object as an instance of 'Call Sequence' |
java.lang.Object |
caseCallSequences(CallSequences object)
Returns the result of interpretting the object as an instance of 'Call Sequences' |
java.lang.Object |
caseClassifier(Classifier object)
Returns the result of interpretting the object as an instance of 'Classifier' |
java.lang.Object |
caseComponentClassifier(ComponentClassifier object)
Returns the result of interpretting the object as an instance of 'Component Classifier' |
java.lang.Object |
caseComponentImpl(ComponentImpl object)
Returns the result of interpretting the object as an instance of 'Component Impl' |
java.lang.Object |
caseComponentType(ComponentType object)
Returns the result of interpretting the object as an instance of 'Component Type' |
java.lang.Object |
caseDataAccessEnd(DataAccessEnd object)
Returns the result of interpretting the object as an instance of 'Data Access End' |
java.lang.Object |
caseDataClassifier(DataClassifier object)
Returns the result of interpretting the object as an instance of 'Data Classifier' |
java.lang.Object |
caseDataImpl(DataImpl object)
Returns the result of interpretting the object as an instance of 'Data Impl' |
java.lang.Object |
caseDataSubcomponent(DataSubcomponent object)
Returns the result of interpretting the object as an instance of 'Data Subcomponent' |
java.lang.Object |
caseDataSubcomponents(DataSubcomponents object)
Returns the result of interpretting the object as an instance of 'Data Subcomponents' |
java.lang.Object |
caseDataType(DataType object)
Returns the result of interpretting the object as an instance of 'Data Type' |
java.lang.Object |
caseDeviceClassifier(DeviceClassifier object)
Returns the result of interpretting the object as an instance of 'Device Classifier' |
java.lang.Object |
caseDeviceImpl(DeviceImpl object)
Returns the result of interpretting the object as an instance of 'Device Impl' |
java.lang.Object |
caseDeviceSubcomponent(DeviceSubcomponent object)
Returns the result of interpretting the object as an instance of 'Device Subcomponent' |
java.lang.Object |
caseDeviceSubcomponents(DeviceSubcomponents object)
Returns the result of interpretting the object as an instance of 'Device Subcomponents' |
java.lang.Object |
caseDeviceType(DeviceType object)
Returns the result of interpretting the object as an instance of 'Device Type' |
java.lang.Object |
caseFeatureContext(FeatureContext object)
Returns the result of interpretting the object as an instance of 'Feature Context' |
java.lang.Object |
caseMemoryClassifier(MemoryClassifier object)
Returns the result of interpretting the object as an instance of 'Memory Classifier' |
java.lang.Object |
caseMemoryImpl(MemoryImpl object)
Returns the result of interpretting the object as an instance of 'Memory Impl' |
java.lang.Object |
caseMemorySubcomponent(MemorySubcomponent object)
Returns the result of interpretting the object as an instance of 'Memory Subcomponent' |
java.lang.Object |
caseMemorySubcomponents(MemorySubcomponents object)
Returns the result of interpretting the object as an instance of 'Memory Subcomponents' |
java.lang.Object |
caseMemoryType(MemoryType object)
Returns the result of interpretting the object as an instance of 'Memory Type' |
java.lang.Object |
caseModeMember(ModeMember object)
Returns the result of interpretting the object as an instance of 'Mode Member' |
java.lang.Object |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element' |
java.lang.Object |
caseProcessClassifier(ProcessClassifier object)
Returns the result of interpretting the object as an instance of 'Process Classifier' |
java.lang.Object |
caseProcessImpl(ProcessImpl object)
Returns the result of interpretting the object as an instance of 'Process Impl' |
java.lang.Object |
caseProcessorClassifier(ProcessorClassifier object)
Returns the result of interpretting the object as an instance of 'Processor Classifier' |
java.lang.Object |
caseProcessorImpl(ProcessorImpl object)
Returns the result of interpretting the object as an instance of 'Processor Impl' |
java.lang.Object |
caseProcessorSubcomponent(ProcessorSubcomponent object)
Returns the result of interpretting the object as an instance of 'Processor Subcomponent' |
java.lang.Object |
caseProcessorSubcomponents(ProcessorSubcomponents object)
Returns the result of interpretting the object as an instance of 'Processor Subcomponents' |
java.lang.Object |
caseProcessorType(ProcessorType object)
Returns the result of interpretting the object as an instance of 'Processor Type' |
java.lang.Object |
caseProcessSubcomponent(ProcessSubcomponent object)
Returns the result of interpretting the object as an instance of 'Process Subcomponent' |
java.lang.Object |
caseProcessSubcomponents(ProcessSubcomponents object)
Returns the result of interpretting the object as an instance of 'Process Subcomponents' |
java.lang.Object |
caseProcessType(ProcessType object)
Returns the result of interpretting the object as an instance of 'Process Type' |
java.lang.Object |
casePropertyHolder(PropertyHolder object)
Returns the result of interpretting the object as an instance of 'Property Holder' |
java.lang.Object |
caseReferenceElement(ReferenceElement object)
Returns the result of interpretting the object as an instance of 'Reference Element' |
java.lang.Object |
caseSubcomponent(Subcomponent object)
Returns the result of interpretting the object as an instance of 'Subcomponent' |
java.lang.Object |
caseSubcomponents(Subcomponents object)
Returns the result of interpretting the object as an instance of 'Subcomponents' |
java.lang.Object |
caseSubprogramClassifier(SubprogramClassifier object)
Returns the result of interpretting the object as an instance of 'Subprogram Classifier' |
java.lang.Object |
caseSubprogramImpl(SubprogramImpl object)
Returns the result of interpretting the object as an instance of 'Subprogram Impl' |
java.lang.Object |
caseSubprogramSubcomponent(SubprogramSubcomponent object)
Returns the result of interpretting the object as an instance of 'Subprogram Subcomponent' |
java.lang.Object |
caseSubprogramSubcomponents(SubprogramSubcomponents object)
Returns the result of interpretting the object as an instance of 'Subprogram Subcomponents' |
java.lang.Object |
caseSubprogramType(SubprogramType object)
Returns the result of interpretting the object as an instance of 'Subprogram Type' |
java.lang.Object |
caseSystemClassifier(SystemClassifier object)
Returns the result of interpretting the object as an instance of 'System Classifier' |
java.lang.Object |
caseSystemImpl(SystemImpl object)
Returns the result of interpretting the object as an instance of 'System Impl' |
java.lang.Object |
caseSystemSubcomponent(SystemSubcomponent object)
Returns the result of interpretting the object as an instance of 'System Subcomponent' |
java.lang.Object |
caseSystemSubcomponents(SystemSubcomponents object)
Returns the result of interpretting the object as an instance of 'System Subcomponents' |
java.lang.Object |
caseSystemType(SystemType object)
Returns the result of interpretting the object as an instance of 'System Type' |
java.lang.Object |
caseThreadClassifier(ThreadClassifier object)
Returns the result of interpretting the object as an instance of 'Thread Classifier' |
java.lang.Object |
caseThreadGroupClassifier(ThreadGroupClassifier object)
Returns the result of interpretting the object as an instance of 'Thread Group Classifier' |
java.lang.Object |
caseThreadGroupImpl(ThreadGroupImpl object)
Returns the result of interpretting the object as an instance of 'Thread Group Impl' |
java.lang.Object |
caseThreadGroupSubcomponent(ThreadGroupSubcomponent object)
Returns the result of interpretting the object as an instance of 'Thread Group Subcomponent' |
java.lang.Object |
caseThreadGroupSubcomponents(ThreadGroupSubcomponents object)
Returns the result of interpretting the object as an instance of 'Thread Group Subcomponents' |
java.lang.Object |
caseThreadGroupType(ThreadGroupType object)
Returns the result of interpretting the object as an instance of 'Thread Group Type' |
java.lang.Object |
caseThreadImpl(ThreadImpl object)
Returns the result of interpretting the object as an instance of 'Thread Impl' |
java.lang.Object |
caseThreadSubcomponent(ThreadSubcomponent object)
Returns the result of interpretting the object as an instance of 'Thread Subcomponent' |
java.lang.Object |
caseThreadSubcomponents(ThreadSubcomponents object)
Returns the result of interpretting the object as an instance of 'Thread Subcomponents' |
java.lang.Object |
caseThreadType(ThreadType object)
Returns the result of interpretting the object as an instance of 'Thread Type' |
protected java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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 |
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 |
protected java.lang.Object |
doSwitch(int classifierID,
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 |
void |
setAadlProcessingSwitch(AadlProcessingSwitch cs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
public static ComponentSwitch INSTANCE
protected static ComponentPackage modelPackage
Constructor Detail |
---|
public ComponentSwitch()
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.protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass, 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.protected java.lang.Object doSwitch(int classifierID, 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 caseSystemType(SystemType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataType(DataType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadType(ThreadType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupType(ThreadGroupType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessType(ProcessType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramType(SubprogramType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorType(ProcessorType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemoryType(MemoryType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusType(BusType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceType(DeviceType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemImpl(SystemImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataImpl(DataImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadImpl(ThreadImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupImpl(ThreadGroupImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessImpl(ProcessImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramImpl(SubprogramImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorImpl(ProcessorImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemoryImpl(MemoryImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusImpl(BusImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceImpl(DeviceImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemSubcomponent(SystemSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataSubcomponent(DataSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadSubcomponent(ThreadSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupSubcomponent(ThreadGroupSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessSubcomponent(ProcessSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramSubcomponent(SubprogramSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorSubcomponent(ProcessorSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemorySubcomponent(MemorySubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusSubcomponent(BusSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceSubcomponent(DeviceSubcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemSubcomponents(SystemSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataSubcomponents(DataSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadSubcomponents(ThreadSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupSubcomponents(ThreadGroupSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessSubcomponents(ProcessSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorSubcomponents(ProcessorSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemorySubcomponents(MemorySubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceSubcomponents(DeviceSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataClassifier(DataClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusClassifier(BusClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramSubcomponents(SubprogramSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCallSequence(CallSequence object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramClassifier(SubprogramClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCallSequences(CallSequences object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemClassifier(SystemClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadClassifier(ThreadClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupClassifier(ThreadGroupClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessClassifier(ProcessClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorClassifier(ProcessorClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemoryClassifier(MemoryClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceClassifier(DeviceClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusSubcomponents(BusSubcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNamedElement(NamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertyHolder(PropertyHolder object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseClassifier(Classifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentClassifier(ComponentClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentType(ComponentType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFeatureContext(FeatureContext object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentImpl(ComponentImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeMember(ModeMember object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReferenceElement(ReferenceElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubcomponent(Subcomponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataAccessEnd(DataAccessEnd object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusAccessEnd(BusAccessEnd object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubcomponents(Subcomponents object)
object
- the target of the switch.
doSwitch(EObject)
public void setAadlProcessingSwitch(AadlProcessingSwitch cs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |