|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.repository.model.util.ModelSwitch<T>
public class ModelSwitch<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.
ModelPackage
Field Summary | |
---|---|
protected static ModelPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ModelSwitch()
Creates an instance of the switch |
Method Summary | |
---|---|
T |
caseAnnotation(Annotation object)
Returns the result of interpreting the object as an instance of 'Annotation' |
T |
caseArchitecture(Architecture object)
Returns the result of interpreting the object as an instance of 'Architecture' |
T |
caseAspect(Aspect object)
Returns the result of interpreting the object as an instance of 'Aspect' |
T |
caseAssemblyDescriptor(AssemblyDescriptor object)
Returns the result of interpreting the object as an instance of 'Assembly Descriptor' |
T |
caseCodeBundle(CodeBundle object)
Returns the result of interpreting the object as an instance of 'Code Bundle' |
T |
caseComponentInterfaceEndpoint(ComponentInterfaceEndpoint object)
Returns the result of interpreting the object as an instance of 'Component Interface Endpoint' |
T |
caseComponentSelect(ComponentSelect object)
Returns the result of interpreting the object as an instance of 'Component Select' |
T |
caseConnection(Connection object)
Returns the result of interpreting the object as an instance of 'Connection' |
T |
caseConnectionEndpoint(ConnectionEndpoint object)
Returns the result of interpreting the object as an instance of 'Connection Endpoint' |
T |
caseConnectorManagerConfiguration(ConnectorManagerConfiguration object)
Returns the result of interpreting the object as an instance of 'Connector Manager Configuration' |
T |
caseConnectorUnitDeploymentDescription(ConnectorUnitDeploymentDescription object)
Returns the result of interpreting the object as an instance of 'Connector Unit Deployment Description' |
T |
caseControlInterface(ControlInterface object)
Returns the result of interpreting the object as an instance of 'Control Interface' |
T |
caseDeploymentPlan(DeploymentPlan object)
Returns the result of interpreting the object as an instance of 'Deployment Plan' |
T |
caseDockRegistryConfiguration(DockRegistryConfiguration object)
Returns the result of interpreting the object as an instance of 'Dock Registry Configuration' |
T |
caseEnvironmentAssumption(EnvironmentAssumption object)
Returns the result of interpreting the object as an instance of 'Environment Assumption' |
T |
caseFactory(Factory object)
Returns the result of interpreting the object as an instance of 'Factory' |
T |
caseFeature(Feature object)
Returns the result of interpreting the object as an instance of 'Feature' |
T |
caseFrame(Frame object)
Returns the result of interpreting the object as an instance of 'Frame' |
T |
caseInfo(Info object)
Returns the result of interpreting the object as an instance of 'Info' |
T |
caseInstanceAssemblyDescription(InstanceAssemblyDescription object)
Returns the result of interpreting the object as an instance of 'Instance Assembly Description' |
T |
caseInstanceDeploymentDescription(InstanceDeploymentDescription object)
Returns the result of interpreting the object as an instance of 'Instance Deployment Description' |
T |
caseInterface(Interface object)
Returns the result of interpreting the object as an instance of 'Interface' |
T |
caseInterfaceSelect(InterfaceSelect object)
Returns the result of interpreting the object as an instance of 'Interface Select' |
T |
caseInterfaceType(InterfaceType object)
Returns the result of interpreting the object as an instance of 'Interface Type' |
T |
caseMappedProperty(MappedProperty object)
Returns the result of interpreting the object as an instance of 'Mapped Property' |
T |
caseMicroBinding(MicroBinding object)
Returns the result of interpreting the object as an instance of 'Micro Binding' |
T |
caseMicroBindingEndpoint(MicroBindingEndpoint object)
Returns the result of interpreting the object as an instance of 'Micro Binding Endpoint' |
T |
caseMicroComponent(MicroComponent object)
Returns the result of interpreting the object as an instance of 'Micro Component' |
T |
caseMicroComponentInstance(MicroComponentInstance object)
Returns the result of interpreting the object as an instance of 'Micro Component Instance' |
T |
caseMicroContent(MicroContent object)
Returns the result of interpreting the object as an instance of 'Micro Content' |
T |
caseMicroContentClass(MicroContentClass object)
Returns the result of interpreting the object as an instance of 'Micro Content Class' |
T |
caseMicroContentGenerator(MicroContentGenerator object)
Returns the result of interpreting the object as an instance of 'Micro Content Generator' |
T |
caseMicroInterface(MicroInterface object)
Returns the result of interpreting the object as an instance of 'Micro Interface' |
T |
caseMicroInterfaceType(MicroInterfaceType object)
Returns the result of interpreting the object as an instance of 'Micro Interface Type' |
T |
caseNamedEntity(NamedEntity object)
Returns the result of interpreting the object as an instance of 'Named Entity' |
T |
caseNodeConfiguration(NodeConfiguration object)
Returns the result of interpreting the object as an instance of 'Node Configuration' |
T |
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter' |
T |
caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property' |
T |
casePropertyValue(PropertyValue object)
Returns the result of interpreting the object as an instance of 'Property Value' |
T |
casePublish(Publish object)
Returns the result of interpreting the object as an instance of 'Publish' |
T |
caseRBMBinding(RBMBinding object)
Returns the result of interpreting the object as an instance of 'RBM Binding' |
T |
caseRBMConnectorArchitecture(RBMConnectorArchitecture object)
Returns the result of interpreting the object as an instance of 'RBM Connector Architecture' |
T |
caseRBMPort(RBMPort object)
Returns the result of interpreting the object as an instance of 'RBM Port' |
T |
caseRepositoryConfiguration(RepositoryConfiguration object)
Returns the result of interpreting the object as an instance of 'Repository Configuration' |
T |
caseRepositoryData(RepositoryData object)
Returns the result of interpreting the object as an instance of 'Repository Data' |
T |
caseRepositoryInfo(RepositoryInfo object)
Returns the result of interpreting the object as an instance of 'Repository Info' |
T |
caseResourceDeploymentDescription(ResourceDeploymentDescription object)
Returns the result of interpreting the object as an instance of 'Resource Deployment Description' |
T |
caseService(Service object)
Returns the result of interpreting the object as an instance of 'Service' |
T |
caseServicePublisher(ServicePublisher object)
Returns the result of interpreting the object as an instance of 'Service Publisher' |
T |
caseServiceTracker(ServiceTracker object)
Returns the result of interpreting the object as an instance of 'Service Tracker' |
T |
caseSharedConnectorUnit(SharedConnectorUnit object)
Returns the result of interpreting the object as an instance of 'Shared Connector Unit' |
T |
caseSubcomponentAssemblyInstance(SubcomponentAssemblyInstance object)
Returns the result of interpreting the object as an instance of 'Subcomponent Assembly Instance' |
T |
caseSubcomponentDeploymentInstance(SubcomponentDeploymentInstance object)
Returns the result of interpreting the object as an instance of 'Subcomponent Deployment Instance' |
T |
caseSubcomponentInstance(SubcomponentInstance object)
Returns the result of interpreting the object as an instance of 'Subcomponent Instance' |
T |
caseSubcomponentInterfaceEndpoint(SubcomponentInterfaceEndpoint object)
Returns the result of interpreting the object as an instance of 'Subcomponent Interface Endpoint' |
T |
caseTopLevel(TopLevel object)
Returns the result of interpreting the object as an instance of 'Top Level' |
T |
caseVersion(Version object)
Returns the result of interpreting the object as an instance of 'Version' |
T |
caseVersionedEntity(VersionedEntity object)
Returns the result of interpreting the object as an instance of 'Versioned Entity' |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject' |
protected T |
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 |
T |
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 T |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static ModelPackage modelPackage
Constructor Detail |
---|
public ModelSwitch()
Method Detail |
---|
public T 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 T 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 T 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 T caseNamedEntity(NamedEntity object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVersionedEntity(VersionedEntity object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVersion(Version object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInterfaceType(InterfaceType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInterface(Interface object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFrame(Frame object)
object
- the target of the switch.
doSwitch(EObject)
public T caseArchitecture(Architecture object)
object
- the target of the switch.
doSwitch(EObject)
public T caseProperty(Property object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSubcomponentInstance(SubcomponentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnection(Connection object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSubcomponentInterfaceEndpoint(SubcomponentInterfaceEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public T caseComponentInterfaceEndpoint(ComponentInterfaceEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAnnotation(Annotation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFactory(Factory object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTopLevel(TopLevel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRepositoryData(RepositoryData object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroComponent(MicroComponent object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroInterface(MicroInterface object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroInterfaceType(MicroInterfaceType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAspect(Aspect object)
object
- the target of the switch.
doSwitch(EObject)
public T caseComponentSelect(ComponentSelect object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInterfaceSelect(InterfaceSelect object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroComponentInstance(MicroComponentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroContent(MicroContent object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroContentClass(MicroContentClass object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroContentGenerator(MicroContentGenerator object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroBinding(MicroBinding object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMicroBindingEndpoint(MicroBindingEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeature(Feature object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMappedProperty(MappedProperty object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDeploymentPlan(DeploymentPlan object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstanceDeploymentDescription(InstanceDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSubcomponentDeploymentInstance(SubcomponentDeploymentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseResourceDeploymentDescription(ResourceDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public T casePropertyValue(PropertyValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectorUnitDeploymentDescription(ConnectorUnitDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRBMConnectorArchitecture(RBMConnectorArchitecture object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRBMBinding(RBMBinding object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRBMPort(RBMPort object)
object
- the target of the switch.
doSwitch(EObject)
public T caseControlInterface(ControlInterface object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRepositoryConfiguration(RepositoryConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeConfiguration(NodeConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAssemblyDescriptor(AssemblyDescriptor object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstanceAssemblyDescription(InstanceAssemblyDescription object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCodeBundle(CodeBundle object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSubcomponentAssemblyInstance(SubcomponentAssemblyInstance object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRepositoryInfo(RepositoryInfo object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDockRegistryConfiguration(DockRegistryConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectorManagerConfiguration(ConnectorManagerConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public T caseParameter(Parameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSharedConnectorUnit(SharedConnectorUnit object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConnectionEndpoint(ConnectionEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInfo(Info object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEnvironmentAssumption(EnvironmentAssumption object)
object
- the target of the switch.
doSwitch(EObject)
public T caseService(Service object)
object
- the target of the switch.
doSwitch(EObject)
public T casePublish(Publish object)
object
- the target of the switch.
doSwitch(EObject)
public T caseServiceTracker(ServiceTracker object)
object
- the target of the switch.
doSwitch(EObject)
public T caseServicePublisher(ServicePublisher object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.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 |