|
||||||||||
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
public class ModelSwitch
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 | |
---|---|
java.lang.Object |
caseAnnotation(Annotation object)
Returns the result of interpretting the object as an instance of 'Annotation' |
java.lang.Object |
caseArchitecture(Architecture object)
Returns the result of interpretting the object as an instance of 'Architecture' |
java.lang.Object |
caseArtifactDeploymentDescription(ArtifactDeploymentDescription object)
Returns the result of interpretting the object as an instance of 'Artifact Deployment Description' |
java.lang.Object |
caseAspect(Aspect object)
Returns the result of interpretting the object as an instance of 'Aspect' |
java.lang.Object |
caseAssemblyDescriptor(AssemblyDescriptor object)
Returns the result of interpretting the object as an instance of 'Assembly Descriptor' |
java.lang.Object |
caseCodeBundle(CodeBundle object)
Returns the result of interpretting the object as an instance of 'Code Bundle' |
java.lang.Object |
caseComponentInterfaceEndpoint(ComponentInterfaceEndpoint object)
Returns the result of interpretting the object as an instance of 'Component Interface Endpoint' |
java.lang.Object |
caseComponentSelect(ComponentSelect object)
Returns the result of interpretting the object as an instance of 'Component Select' |
java.lang.Object |
caseConnection(Connection object)
Returns the result of interpretting the object as an instance of 'Connection' |
java.lang.Object |
caseConnectionEndpoint(ConnectionEndpoint object)
Returns the result of interpretting the object as an instance of 'Connection Endpoint' |
java.lang.Object |
caseConnectorManagerConfiguration(ConnectorManagerConfiguration object)
Returns the result of interpretting the object as an instance of 'Connector Manager Configuration' |
java.lang.Object |
caseConnectorUnitDeploymentDescription(ConnectorUnitDeploymentDescription object)
Returns the result of interpretting the object as an instance of 'Connector Unit Deployment Description' |
java.lang.Object |
caseControlInterface(ControlInterface object)
Returns the result of interpretting the object as an instance of 'Control Interface' |
java.lang.Object |
caseDeploymentPlan(DeploymentPlan object)
Returns the result of interpretting the object as an instance of 'Deployment Plan' |
java.lang.Object |
caseDockRegistryConfiguration(DockRegistryConfiguration object)
Returns the result of interpretting the object as an instance of 'Dock Registry Configuration' |
java.lang.Object |
caseFactory(Factory object)
Returns the result of interpretting the object as an instance of 'Factory' |
java.lang.Object |
caseFeature(Feature object)
Returns the result of interpretting the object as an instance of 'Feature' |
java.lang.Object |
caseFrame(Frame object)
Returns the result of interpretting the object as an instance of 'Frame' |
java.lang.Object |
caseInfo(Info object)
Returns the result of interpretting the object as an instance of 'Info' |
java.lang.Object |
caseInstanceAssemblyDescription(InstanceAssemblyDescription object)
Returns the result of interpretting the object as an instance of 'Instance Assembly Description' |
java.lang.Object |
caseInstanceDeploymentDescription(InstanceDeploymentDescription object)
Returns the result of interpretting the object as an instance of 'Instance Deployment Description' |
java.lang.Object |
caseInterface(Interface object)
Returns the result of interpretting the object as an instance of 'Interface' |
java.lang.Object |
caseInterfaceSelect(InterfaceSelect object)
Returns the result of interpretting the object as an instance of 'Interface Select' |
java.lang.Object |
caseInterfaceType(InterfaceType object)
Returns the result of interpretting the object as an instance of 'Interface Type' |
java.lang.Object |
caseMappedProperty(MappedProperty object)
Returns the result of interpretting the object as an instance of 'Mapped Property' |
java.lang.Object |
caseMicroBinding(MicroBinding object)
Returns the result of interpretting the object as an instance of 'Micro Binding' |
java.lang.Object |
caseMicroBindingEndpoint(MicroBindingEndpoint object)
Returns the result of interpretting the object as an instance of 'Micro Binding Endpoint' |
java.lang.Object |
caseMicroComponent(MicroComponent object)
Returns the result of interpretting the object as an instance of 'Micro Component' |
java.lang.Object |
caseMicroComponentInstance(MicroComponentInstance object)
Returns the result of interpretting the object as an instance of 'Micro Component Instance' |
java.lang.Object |
caseMicroContent(MicroContent object)
Returns the result of interpretting the object as an instance of 'Micro Content' |
java.lang.Object |
caseMicroContentClass(MicroContentClass object)
Returns the result of interpretting the object as an instance of 'Micro Content Class' |
java.lang.Object |
caseMicroContentGenerator(MicroContentGenerator object)
Returns the result of interpretting the object as an instance of 'Micro Content Generator' |
java.lang.Object |
caseMicroInterface(MicroInterface object)
Returns the result of interpretting the object as an instance of 'Micro Interface' |
java.lang.Object |
caseMicroInterfaceType(MicroInterfaceType object)
Returns the result of interpretting the object as an instance of 'Micro Interface Type' |
java.lang.Object |
caseNamedEntity(NamedEntity object)
Returns the result of interpretting the object as an instance of 'Named Entity' |
java.lang.Object |
caseNodeConfiguration(NodeConfiguration object)
Returns the result of interpretting the object as an instance of 'Node Configuration' |
java.lang.Object |
caseParameter(Parameter object)
Returns the result of interpretting the object as an instance of 'Parameter' |
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 |
caseRBMBinding(RBMBinding object)
Returns the result of interpretting the object as an instance of 'RBM Binding' |
java.lang.Object |
caseRBMConnectorArchitecture(RBMConnectorArchitecture object)
Returns the result of interpretting the object as an instance of 'RBM Connector Architecture' |
java.lang.Object |
caseRBMPort(RBMPort object)
Returns the result of interpretting the object as an instance of 'RBM Port' |
java.lang.Object |
caseRepositoryConfiguration(RepositoryConfiguration object)
Returns the result of interpretting the object as an instance of 'Repository Configuration' |
java.lang.Object |
caseRepositoryData(RepositoryData object)
Returns the result of interpretting the object as an instance of 'Repository Data' |
java.lang.Object |
caseRepositoryInfo(RepositoryInfo object)
Returns the result of interpretting the object as an instance of 'Repository Info' |
java.lang.Object |
caseResourceDeploymentDescription(ResourceDeploymentDescription object)
Returns the result of interpretting the object as an instance of 'Resource Deployment Description' |
java.lang.Object |
caseSharedConnectorUnit(SharedConnectorUnit object)
Returns the result of interpretting the object as an instance of 'Shared Connector Unit' |
java.lang.Object |
caseSubcomponentAssemblyInstance(SubcomponentAssemblyInstance object)
Returns the result of interpretting the object as an instance of 'Subcomponent Assembly Instance' |
java.lang.Object |
caseSubcomponentDeploymentInstance(SubcomponentDeploymentInstance object)
Returns the result of interpretting the object as an instance of 'Subcomponent Deployment Instance' |
java.lang.Object |
caseSubcomponentInstance(SubcomponentInstance object)
Returns the result of interpretting the object as an instance of 'Subcomponent Instance' |
java.lang.Object |
caseSubcomponentInterfaceEndpoint(SubcomponentInterfaceEndpoint object)
Returns the result of interpretting the object as an instance of 'Subcomponent Interface Endpoint' |
java.lang.Object |
caseTopLevel(TopLevel object)
Returns the result of interpretting the object as an instance of 'Top Level' |
java.lang.Object |
caseVersion(Version object)
Returns the result of interpretting the object as an instance of 'Version' |
java.lang.Object |
caseVersionedEntity(VersionedEntity object)
Returns the result of interpretting the object as an instance of 'Versioned Entity' |
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 |
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 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 caseNamedEntity(NamedEntity object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVersionedEntity(VersionedEntity object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVersion(Version object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInterfaceType(InterfaceType 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 caseFrame(Frame object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseArchitecture(Architecture 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 caseSubcomponentInstance(SubcomponentInstance 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 caseSubcomponentInterfaceEndpoint(SubcomponentInterfaceEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentInterfaceEndpoint(ComponentInterfaceEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAnnotation(Annotation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseFactory(Factory object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTopLevel(TopLevel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRepositoryData(RepositoryData object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroComponent(MicroComponent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroInterface(MicroInterface object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroInterfaceType(MicroInterfaceType object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAspect(Aspect object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseComponentSelect(ComponentSelect object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInterfaceSelect(InterfaceSelect object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroComponentInstance(MicroComponentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroContent(MicroContent object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroContentClass(MicroContentClass object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroContentGenerator(MicroContentGenerator object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroBinding(MicroBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseMicroBindingEndpoint(MicroBindingEndpoint 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 caseMappedProperty(MappedProperty object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDeploymentPlan(DeploymentPlan object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInstanceDeploymentDescription(InstanceDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubcomponentDeploymentInstance(SubcomponentDeploymentInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseArtifactDeploymentDescription(ArtifactDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseResourceDeploymentDescription(ResourceDeploymentDescription 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 caseConnectorUnitDeploymentDescription(ConnectorUnitDeploymentDescription object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRBMConnectorArchitecture(RBMConnectorArchitecture object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRBMBinding(RBMBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRBMPort(RBMPort object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseControlInterface(ControlInterface object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRepositoryConfiguration(RepositoryConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseNodeConfiguration(NodeConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseAssemblyDescriptor(AssemblyDescriptor object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInstanceAssemblyDescription(InstanceAssemblyDescription object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseCodeBundle(CodeBundle object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseSubcomponentAssemblyInstance(SubcomponentAssemblyInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseRepositoryInfo(RepositoryInfo object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseDockRegistryConfiguration(DockRegistryConfiguration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConnectorManagerConfiguration(ConnectorManagerConfiguration 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 caseSharedConnectorUnit(SharedConnectorUnit object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseConnectionEndpoint(ConnectionEndpoint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseInfo(Info 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |