|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.connection.util.ConnectionSwitch
public class ConnectionSwitch
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.
ConnectionPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static ConnectionSwitch |
INSTANCE
|
protected static ConnectionPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ConnectionSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAObject(AObject object)
Returns the result of interpretting the object as an instance of 'AObject' |
java.lang.Object |
caseBusAccessConnection(BusAccessConnection object)
Returns the result of interpretting the object as an instance of 'Bus Access Connection' |
java.lang.Object |
caseBusAccessEnd(BusAccessEnd object)
Returns the result of interpretting the object as an instance of 'Bus Access End' |
java.lang.Object |
caseConnection(Connection object)
Returns the result of interpretting the object as an instance of 'Connection' |
java.lang.Object |
caseConnections(Connections object)
Returns the result of interpretting the object as an instance of 'Connections' |
java.lang.Object |
caseDataAccessConnection(DataAccessConnection object)
Returns the result of interpretting the object as an instance of 'Data Access Connection' |
java.lang.Object |
caseDataAccessEnd(DataAccessEnd object)
Returns the result of interpretting the object as an instance of 'Data Access End' |
java.lang.Object |
caseDataConnection(DataConnection object)
Returns the result of interpretting the object as an instance of 'Data Connection' |
java.lang.Object |
caseEventConnection(EventConnection object)
Returns the result of interpretting the object as an instance of 'Event Connection' |
java.lang.Object |
caseEventDataConnection(EventDataConnection object)
Returns the result of interpretting the object as an instance of 'Event Data Connection' |
java.lang.Object |
caseFeatureContext(FeatureContext object)
Returns the result of interpretting the object as an instance of 'Feature Context' |
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 |
caseParameterConnection(ParameterConnection object)
Returns the result of interpretting the object as an instance of 'Parameter Connection' |
java.lang.Object |
caseParameterEnd(ParameterEnd object)
Returns the result of interpretting the object as an instance of 'Parameter End' |
java.lang.Object |
casePortGroupConnection(PortGroupConnection object)
Returns the result of interpretting the object as an instance of 'Port Group Connection' |
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 |
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 ConnectionSwitch INSTANCE
protected static ConnectionPackage modelPackage
Constructor Detail |
---|
public ConnectionSwitch()
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 caseConnections(Connections object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataConnection(DataConnection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEventConnection(EventConnection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEventDataConnection(EventDataConnection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePortGroupConnection(PortGroupConnection 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 caseDataAccessConnection(DataAccessConnection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseParameterEnd(ParameterEnd object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseParameterConnection(ParameterConnection object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusAccessConnection(BusAccessConnection 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 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 casePropertyHolder(PropertyHolder 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 caseConnection(Connection 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 |