|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.feature.util.FeatureSwitch
public class FeatureSwitch
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.
FeaturePackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static FeatureSwitch |
INSTANCE
|
protected static FeaturePackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
FeatureSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
java.lang.Object |
caseAbstractPort(AbstractPort object)
Returns the result of interpretting the object as an instance of 'Abstract Port' |
java.lang.Object |
caseAObject(AObject object)
Returns the result of interpretting the object as an instance of 'AObject' |
java.lang.Object |
caseBusAccess(BusAccess object)
Returns the result of interpretting the object as an instance of 'Bus Access' |
java.lang.Object |
caseBusAccessEnd(BusAccessEnd object)
Returns the result of interpretting the object as an instance of 'Bus Access End' |
java.lang.Object |
caseBusFeatures(BusFeatures object)
Returns the result of interpretting the object as an instance of 'Bus Features' |
java.lang.Object |
caseClassifier(Classifier object)
Returns the result of interpretting the object as an instance of 'Classifier' |
java.lang.Object |
caseComponentAccess(ComponentAccess object)
Returns the result of interpretting the object as an instance of 'Component Access' |
java.lang.Object |
caseComponentClassifier(ComponentClassifier object)
Returns the result of interpretting the object as an instance of 'Component Classifier' |
java.lang.Object |
caseDataAccess(DataAccess object)
Returns the result of interpretting the object as an instance of 'Data Access' |
java.lang.Object |
caseDataAccessEnd(DataAccessEnd object)
Returns the result of interpretting the object as an instance of 'Data Access End' |
java.lang.Object |
caseDataFeatures(DataFeatures object)
Returns the result of interpretting the object as an instance of 'Data Features' |
java.lang.Object |
caseDataPort(DataPort object)
Returns the result of interpretting the object as an instance of 'Data Port' |
java.lang.Object |
caseDeviceFeatures(DeviceFeatures object)
Returns the result of interpretting the object as an instance of 'Device Features' |
java.lang.Object |
caseEventDataPort(EventDataPort object)
Returns the result of interpretting the object as an instance of 'Event Data Port' |
java.lang.Object |
caseEventPort(EventPort object)
Returns the result of interpretting the object as an instance of 'Event Port' |
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 |
caseFlowPoint(FlowPoint object)
Returns the result of interpretting the object as an instance of 'Point' |
java.lang.Object |
caseMemoryFeatures(MemoryFeatures object)
Returns the result of interpretting the object as an instance of 'Memory Features' |
java.lang.Object |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element' |
java.lang.Object |
caseParameter(Parameter object)
Returns the result of interpretting the object as an instance of 'Parameter' |
java.lang.Object |
caseParameterEnd(ParameterEnd object)
Returns the result of interpretting the object as an instance of 'Parameter End' |
java.lang.Object |
casePort(Port object)
Returns the result of interpretting the object as an instance of 'Port' |
java.lang.Object |
casePortGroup(PortGroup object)
Returns the result of interpretting the object as an instance of 'Port Group' |
java.lang.Object |
casePortGroupFeatures(PortGroupFeatures object)
Returns the result of interpretting the object as an instance of 'Port Group Features' |
java.lang.Object |
casePortGroupType(PortGroupType object)
Returns the result of interpretting the object as an instance of 'Port Group Type' |
java.lang.Object |
caseProcessFeatures(ProcessFeatures object)
Returns the result of interpretting the object as an instance of 'Process Features' |
java.lang.Object |
caseProcessorFeatures(ProcessorFeatures object)
Returns the result of interpretting the object as an instance of 'Processor Features' |
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 |
caseServerSubprogram(ServerSubprogram object)
Returns the result of interpretting the object as an instance of 'Server Subprogram' |
java.lang.Object |
caseSoftwareFeatures(SoftwareFeatures object)
Returns the result of interpretting the object as an instance of 'Software Features' |
java.lang.Object |
caseSubprogram(Subprogram object)
Returns the result of interpretting the object as an instance of 'Subprogram' |
java.lang.Object |
caseSubprogramFeatures(SubprogramFeatures object)
Returns the result of interpretting the object as an instance of 'Subprogram Features' |
java.lang.Object |
caseSystemFeatures(SystemFeatures object)
Returns the result of interpretting the object as an instance of 'System Features' |
java.lang.Object |
caseThreadFeatures(ThreadFeatures object)
Returns the result of interpretting the object as an instance of 'Thread Features' |
java.lang.Object |
caseThreadGroupFeatures(ThreadGroupFeatures object)
Returns the result of interpretting the object as an instance of 'Thread Group Features' |
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 FeatureSwitch INSTANCE
protected static FeaturePackage modelPackage
Constructor Detail |
---|
public FeatureSwitch()
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 caseSubprogram(Subprogram object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseServerSubprogram(ServerSubprogram object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataAccess(DataAccess object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusAccess(BusAccess object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePort(Port object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataPort(DataPort object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEventPort(EventPort object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEventDataPort(EventDataPort object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseParameter(Parameter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePortGroupType(PortGroupType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePortGroup(PortGroup object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDataFeatures(DataFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubprogramFeatures(SubprogramFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSoftwareFeatures(SoftwareFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadFeatures(ThreadFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseThreadGroupFeatures(ThreadGroupFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessFeatures(ProcessFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProcessorFeatures(ProcessorFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMemoryFeatures(MemoryFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBusFeatures(BusFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeviceFeatures(DeviceFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemFeatures(SystemFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentAccess(ComponentAccess object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePortGroupFeatures(PortGroupFeatures object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAbstractPort(AbstractPort 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 caseFeature(Feature 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 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 caseFlowPoint(FlowPoint 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 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 caseFeatureContext(FeatureContext 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 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 |