|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uka.ipd.sdq.completions.util.CompletionsSwitch<T>
public class CompletionsSwitch<T>
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.
CompletionsPackage| Field Summary | |
|---|---|
protected static CompletionsPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
CompletionsSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseAbstractAction(AbstractAction object)
Returns the result of interpreting the object as an instance of 'Abstract Action'. |
T |
caseCompletion(Completion object)
Returns the result of interpreting the object as an instance of 'Completion'. |
T |
caseCompletionRepository(CompletionRepository object)
Returns the result of interpreting the object as an instance of 'Completion Repository'. |
T |
caseComposedProvidingRequiringEntity(ComposedProvidingRequiringEntity object)
Returns the result of interpreting the object as an instance of 'Composed Providing Requiring Entity'. |
T |
caseComposedStructure(ComposedStructure object)
Returns the result of interpreting the object as an instance of 'Composed Structure'. |
T |
caseDelegatingExternalCallAction(DelegatingExternalCallAction object)
Returns the result of interpreting the object as an instance of 'Delegating External Call Action'. |
T |
caseEntity(Entity object)
Returns the result of interpreting the object as an instance of 'Entity'. |
T |
caseExternalCallAction(ExternalCallAction object)
Returns the result of interpreting the object as an instance of 'External Call Action'. |
T |
caseIdentifier(Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'. |
T |
caseImplementationComponentType(ImplementationComponentType object)
Returns the result of interpreting the object as an instance of 'Implementation Component Type'. |
T |
caseInterfaceProvidingEntity(InterfaceProvidingEntity object)
Returns the result of interpreting the object as an instance of 'Interface Providing Entity'. |
T |
caseInterfaceProvidingRequiringEntity(InterfaceProvidingRequiringEntity object)
Returns the result of interpreting the object as an instance of 'Interface Providing Requiring Entity'. |
T |
caseInterfaceRequiringEntity(InterfaceRequiringEntity object)
Returns the result of interpreting the object as an instance of 'Interface Requiring Entity'. |
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'. |
T |
caseRepositoryComponent(RepositoryComponent object)
Returns the result of interpreting the object as an instance of 'Component'. |
T |
caseResourceInterfaceRequiringEntity(ResourceInterfaceRequiringEntity object)
Returns the result of interpreting the object as an instance of 'Resource Interface Requiring Entity'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
T |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected T |
doSwitch(int classifierID,
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static CompletionsPackage modelPackage
| Constructor Detail |
|---|
public CompletionsSwitch()
| Method Detail |
|---|
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected T doSwitch(EClass theEClass,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected T doSwitch(int classifierID,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseCompletion(Completion object)
object - the target of the switch.
doSwitch(EObject)public T caseCompletionRepository(CompletionRepository object)
object - the target of the switch.
doSwitch(EObject)public T caseDelegatingExternalCallAction(DelegatingExternalCallAction object)
object - the target of the switch.
doSwitch(EObject)public T caseIdentifier(Identifier object)
object - the target of the switch.
doSwitch(EObject)public T caseNamedElement(NamedElement object)
object - the target of the switch.
doSwitch(EObject)public T caseEntity(Entity object)
object - the target of the switch.
doSwitch(EObject)public T caseComposedStructure(ComposedStructure object)
object - the target of the switch.
doSwitch(EObject)public T caseInterfaceProvidingEntity(InterfaceProvidingEntity object)
object - the target of the switch.
doSwitch(EObject)public T caseInterfaceRequiringEntity(InterfaceRequiringEntity object)
object - the target of the switch.
doSwitch(EObject)public T caseResourceInterfaceRequiringEntity(ResourceInterfaceRequiringEntity object)
object - the target of the switch.
doSwitch(EObject)public T caseInterfaceProvidingRequiringEntity(InterfaceProvidingRequiringEntity object)
object - the target of the switch.
doSwitch(EObject)public T caseComposedProvidingRequiringEntity(ComposedProvidingRequiringEntity object)
object - the target of the switch.
doSwitch(EObject)public T caseRepositoryComponent(RepositoryComponent object)
object - the target of the switch.
doSwitch(EObject)public T caseImplementationComponentType(ImplementationComponentType object)
object - the target of the switch.
doSwitch(EObject)public T caseAbstractAction(AbstractAction object)
object - the target of the switch.
doSwitch(EObject)public T caseExternalCallAction(ExternalCallAction object)
object - the target of the switch.
doSwitch(EObject)public T 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 | |||||||||