|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.core.util.CoreSwitch
public class CoreSwitch
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.
CorePackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static CoreSwitch |
INSTANCE
|
protected static CorePackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
CoreSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAadlPackage(AadlPackage object)
Returns the result of interpretting the object as an instance of 'Aadl Package' |
java.lang.Object |
caseAadlPackageSection(AadlPackageSection object)
Returns the result of interpretting the object as an instance of 'Aadl Package Section' |
java.lang.Object |
caseAadlPrivate(AadlPrivate object)
Returns the result of interpretting the object as an instance of 'Aadl Private' |
java.lang.Object |
caseAadlPublic(AadlPublic object)
Returns the result of interpretting the object as an instance of 'Aadl Public' |
java.lang.Object |
caseAadlSpec(AadlSpec object)
Returns the result of interpretting the object as an instance of 'Aadl Spec' |
java.lang.Object |
caseAnnexLibrary(AnnexLibrary object)
Returns the result of interpretting the object as an instance of 'Annex Library' |
java.lang.Object |
caseAnnexSubclause(AnnexSubclause object)
Returns the result of interpretting the object as an instance of 'Annex Subclause' |
java.lang.Object |
caseAObject(AObject object)
Returns the result of interpretting the object as an instance of 'AObject' |
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 |
caseConnection(Connection object)
Returns the result of interpretting the object as an instance of 'Connection' |
java.lang.Object |
caseDefaultAnnexLibrary(DefaultAnnexLibrary object)
Returns the result of interpretting the object as an instance of 'Default Annex Library' |
java.lang.Object |
caseDefaultAnnexSubclause(DefaultAnnexSubclause object)
Returns the result of interpretting the object as an instance of 'Default Annex Subclause' |
java.lang.Object |
caseFeature(Feature object)
Returns the result of interpretting the object as an instance of 'Feature' |
java.lang.Object |
caseFeatureContext(FeatureContext object)
Returns the result of interpretting the object as an instance of 'Feature Context' |
java.lang.Object |
caseFeatures(Features object)
Returns the result of interpretting the object as an instance of 'Features' |
java.lang.Object |
caseMode(Mode object)
Returns the result of interpretting the object as an instance of 'Mode' |
java.lang.Object |
caseModeMember(ModeMember object)
Returns the result of interpretting the object as an instance of 'Mode Member' |
java.lang.Object |
caseModes(Modes object)
Returns the result of interpretting the object as an instance of 'Modes' |
java.lang.Object |
caseModeTransition(ModeTransition object)
Returns the result of interpretting the object as an instance of 'Mode Transition' |
java.lang.Object |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element' |
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 |
caseRefinesType(RefinesType object)
Returns the result of interpretting the object as an instance of 'Refines Type' |
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 |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
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 CoreSwitch INSTANCE
protected static CorePackage modelPackage
Constructor Detail |
---|
public CoreSwitch()
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 caseConnection(Connection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFeature(Feature object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFeatures(Features object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAadlSpec(AadlSpec 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 caseComponentImpl(ComponentImpl object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAadlPackage(AadlPackage 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 caseModes(Modes object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMode(Mode 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 caseClassifier(Classifier 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 caseAadlPublic(AadlPublic object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAadlPrivate(AadlPrivate object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAadlPackageSection(AadlPackageSection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAnnexSubclause(AnnexSubclause object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModeTransition(ModeTransition object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRefinesType(RefinesType 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 java.lang.Object caseAObject(AObject 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 caseAnnexLibrary(AnnexLibrary object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDefaultAnnexSubclause(DefaultAnnexSubclause object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDefaultAnnexLibrary(DefaultAnnexLibrary 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 caseReferenceElement(ReferenceElement 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)
public void setAadlProcessingSwitch(AadlProcessingSwitch cs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |