|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.stp.core.sca.util.SCASwitch
public class SCASwitch
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.
SCAPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Constructor Summary | |
---|---|
SCASwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
java.lang.Object |
caseAbstractImplementation(AbstractImplementation object)
Returns the result of interpretting the object as an instance of 'Abstract Implementation'. |
java.lang.Object |
caseBinding(Binding object)
Returns the result of interpretting the object as an instance of 'Binding'. |
java.lang.Object |
caseComponent(Component object)
Returns the result of interpretting the object as an instance of 'Component'. |
java.lang.Object |
caseComponentType(ComponentType object)
Returns the result of interpretting the object as an instance of 'Component Type'. |
java.lang.Object |
caseComposite(Composite object)
Returns the result of interpretting the object as an instance of 'Composite'. |
java.lang.Object |
caseEntryPoint(EntryPoint object)
Returns the result of interpretting the object as an instance of 'Entry Point'. |
java.lang.Object |
caseExternalService(ExternalService object)
Returns the result of interpretting the object as an instance of 'External Service'. |
java.lang.Object |
caseImplementation(Implementation object)
Returns the result of interpretting the object as an instance of 'Implementation'. |
java.lang.Object |
caseImplementationComponent(ImplementationComponent object)
Returns the result of interpretting the object as an instance of 'Implementation Component'. |
java.lang.Object |
caseInterface(Interface object)
Returns the result of interpretting the object as an instance of 'Interface'. |
java.lang.Object |
caseJavaImplementation(JavaImplementation object)
Returns the result of interpretting the object as an instance of 'Java Implementation'. |
java.lang.Object |
caseJavaInterface(JavaInterface object)
Returns the result of interpretting the object as an instance of 'Java Interface'. |
java.lang.Object |
caseModule(Module object)
Returns the result of interpretting the object as an instance of 'Module'. |
java.lang.Object |
caseModuleComponent(ModuleComponent object)
Returns the result of interpretting the object as an instance of 'Module Component'. |
java.lang.Object |
caseModuleFragment(ModuleFragment object)
Returns the result of interpretting the object as an instance of 'Module Fragment'. |
java.lang.Object |
caseModuleReference(ModuleReference object)
Returns the result of interpretting the object as an instance of 'Module Reference'. |
java.lang.Object |
caseModuleService(ModuleService object)
Returns the result of interpretting the object as an instance of 'Module Service'. |
java.lang.Object |
caseModuleWire(ModuleWire object)
Returns the result of interpretting the object as an instance of 'Module Wire'. |
java.lang.Object |
caseProperty(Property object)
Returns the result of interpretting the object as an instance of 'Property'. |
java.lang.Object |
casePropertyValue(PropertyValue object)
Returns the result of interpretting the object as an instance of 'Property Value'. |
java.lang.Object |
casePropertyValuesSet(PropertyValuesSet object)
Returns the result of interpretting the object as an instance of 'Property Values Set'. |
java.lang.Object |
caseReference(Reference object)
Returns the result of interpretting the object as an instance of 'Reference'. |
java.lang.Object |
caseReferenceValue(ReferenceValue object)
Returns the result of interpretting the object as an instance of 'Reference Value'. |
java.lang.Object |
caseReferenceValuesSet(ReferenceValuesSet object)
Returns the result of interpretting the object as an instance of 'Reference Values Set'. |
java.lang.Object |
caseSCABinding(SCABinding object)
Returns the result of interpretting the object as an instance of 'Binding'. |
java.lang.Object |
caseSCACoreRoot(SCACoreRoot object)
Returns the result of interpretting the object as an instance of 'Core Root'. |
java.lang.Object |
caseService(Service object)
Returns the result of interpretting the object as an instance of 'Service'. |
java.lang.Object |
caseSLSBBinding(SLSBBinding object)
Returns the result of interpretting the object as an instance of 'SLSB Binding'. |
java.lang.Object |
caseSubsystem(Subsystem object)
Returns the result of interpretting the object as an instance of 'Subsystem'. |
java.lang.Object |
caseSystemWire(SystemWire object)
Returns the result of interpretting the object as an instance of 'System Wire'. |
java.lang.Object |
caseUnknownImplementation(UnknownImplementation object)
Returns the result of interpretting the object as an instance of 'Unknown Implementation'. |
java.lang.Object |
caseWebServiceBinding(WebServiceBinding object)
Returns the result of interpretting the object as an instance of 'Web Service Binding'. |
java.lang.Object |
caseWSDLPortType(WSDLPortType object)
Returns the result of interpretting the object as an instance of 'WSDL Port Type'. |
java.lang.Object |
defaultCase(EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
java.lang.Object |
doSwitch(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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
Constructor Detail |
---|
public SCASwitch()
Method Detail |
---|
public java.lang.Object doSwitch(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 caseAbstractImplementation(AbstractImplementation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseBinding(Binding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponent(Component 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 caseComposite(Composite object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEntryPoint(EntryPoint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseExternalService(ExternalService object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseImplementation(Implementation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseImplementationComponent(ImplementationComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInterface(Interface object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseJavaImplementation(JavaImplementation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseJavaInterface(JavaInterface object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModule(Module object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModuleComponent(ModuleComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModuleFragment(ModuleFragment object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModuleReference(ModuleReference object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModuleService(ModuleService object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseModuleWire(ModuleWire object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseProperty(Property object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertyValue(PropertyValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object casePropertyValuesSet(PropertyValuesSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReference(Reference object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReferenceValue(ReferenceValue object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseReferenceValuesSet(ReferenceValuesSet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSCABinding(SCABinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSCACoreRoot(SCACoreRoot object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseService(Service object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSLSBBinding(SLSBBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubsystem(Subsystem object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSystemWire(SystemWire object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUnknownImplementation(UnknownImplementation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseWebServiceBinding(WebServiceBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseWSDLPortType(WSDLPortType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(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 |