|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.tx.util.TxSwitch
public class TxSwitch
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.
TxPackage
Constructor Summary | |
---|---|
TxSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
java.lang.Object |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element'. |
java.lang.Object |
caseGDiagram(GDiagram object)
Returns the result of interpretting the object as an instance of 'GDiagram'. |
java.lang.Object |
caseGElement(GElement object)
Returns the result of interpretting the object as an instance of 'GElement'. |
java.lang.Object |
caseGLinkElement(GLinkElement object)
Returns the result of interpretting the object as an instance of 'GLink Element'. |
java.lang.Object |
caseGModelElement(GModelElement object)
Returns the result of interpretting the object as an instance of 'GModel Element'. |
java.lang.Object |
caseGNamedElement(GNamedElement object)
Returns the result of interpretting the object as an instance of 'GNamed Element'. |
java.lang.Object |
caseGNodeElement(GNodeElement object)
Returns the result of interpretting the object as an instance of 'GNode Element'. |
java.lang.Object |
caseGPersistentCoModel(GPersistentCoModel object)
Returns the result of interpretting the object as an instance of 'GPersistent Co Model'. |
java.lang.Object |
caseGPersistentNamedSheetNode(GPersistentNamedSheetNode object)
Returns the result of interpretting the object as an instance of 'GPersistent Named Sheet Node'. |
java.lang.Object |
caseGPersistentSheetLink(GPersistentSheetLink object)
Returns the result of interpretting the object as an instance of 'GPersistent Sheet Link'. |
java.lang.Object |
caseGPersistentSheetNode(GPersistentSheetNode object)
Returns the result of interpretting the object as an instance of 'GPersistent Sheet Node'. |
java.lang.Object |
caseGSheet(GSheet object)
Returns the result of interpretting the object as an instance of 'GSheet'. |
java.lang.Object |
caseGSheetLink(GSheetLink object)
Returns the result of interpretting the object as an instance of 'GSheet Link'. |
java.lang.Object |
caseGSheetNode(GSheetNode object)
Returns the result of interpretting the object as an instance of 'GSheet Node'. |
java.lang.Object |
caseGTransientCoModel(GTransientCoModel object)
Returns the result of interpretting the object as an instance of 'GTransient Co Model'. |
java.lang.Object |
caseGTransientSheetLink(GTransientSheetLink object)
Returns the result of interpretting the object as an instance of 'GTransient Sheet Link'. |
java.lang.Object |
caseTxAttributeVariable2TxExpressionVariable(TxAttributeVariable2TxExpressionVariable object)
Returns the result of interpretting the object as an instance of 'Attribute Variable2 Tx Expression Variable'. |
java.lang.Object |
caseTxBinding(TxBinding object)
Returns the result of interpretting the object as an instance of 'Binding'. |
java.lang.Object |
caseTxClassAttributeVariable(TxClassAttributeVariable object)
Returns the result of interpretting the object as an instance of 'Class Attribute Variable'. |
java.lang.Object |
caseTxClassVariable(TxClassVariable object)
Returns the result of interpretting the object as an instance of 'Class Variable'. |
java.lang.Object |
caseTxClassVariable2TxAttributeVariable(TxClassVariable2TxAttributeVariable object)
Returns the result of interpretting the object as an instance of 'Class Variable2 Tx Attribute Variable'. |
java.lang.Object |
caseTxClassVariable2TxClassVariable(TxClassVariable2TxClassVariable object)
Returns the result of interpretting the object as an instance of 'Class Variable2 Tx Class Variable'. |
java.lang.Object |
caseTxContextSheet(TxContextSheet object)
Returns the result of interpretting the object as an instance of 'Context Sheet'. |
java.lang.Object |
caseTxContextSheetLink(TxContextSheetLink object)
Returns the result of interpretting the object as an instance of 'Context Sheet Link'. |
java.lang.Object |
caseTxDomain(TxDomain object)
Returns the result of interpretting the object as an instance of 'Domain'. |
java.lang.Object |
caseTxDomain2TxTypedModel(TxDomain2TxTypedModel object)
Returns the result of interpretting the object as an instance of 'Domain2 Tx Typed Model'. |
java.lang.Object |
caseTxEvolution(TxEvolution object)
Returns the result of interpretting the object as an instance of 'Evolution'. |
java.lang.Object |
caseTxEvolutionInstance(TxEvolutionInstance object)
Returns the result of interpretting the object as an instance of 'Evolution Instance'. |
java.lang.Object |
caseTxHelper(TxHelper object)
Returns the result of interpretting the object as an instance of 'Helper'. |
java.lang.Object |
caseTxMapping(TxMapping object)
Returns the result of interpretting the object as an instance of 'Mapping'. |
java.lang.Object |
caseTxMapping2TxDomain(TxMapping2TxDomain object)
Returns the result of interpretting the object as an instance of 'Mapping2 Tx Domain'. |
java.lang.Object |
caseTxMappingInstance(TxMappingInstance object)
Returns the result of interpretting the object as an instance of 'Mapping Instance'. |
java.lang.Object |
caseTxOCLConstraint(TxOCLConstraint object)
Returns the result of interpretting the object as an instance of 'OCL Constraint'. |
java.lang.Object |
caseTxOCLConstraint2TxVariable(TxOCLConstraint2TxVariable object)
Returns the result of interpretting the object as an instance of 'OCL Constraint2 Tx Variable'. |
java.lang.Object |
caseTxParameter(TxParameter object)
Returns the result of interpretting the object as an instance of 'Parameter'. |
java.lang.Object |
caseTxPreservation(TxPreservation object)
Returns the result of interpretting the object as an instance of 'Preservation'. |
java.lang.Object |
caseTxPreservationInstance(TxPreservationInstance object)
Returns the result of interpretting the object as an instance of 'Preservation Instance'. |
java.lang.Object |
caseTxRelation(TxRelation object)
Returns the result of interpretting the object as an instance of 'Relation'. |
java.lang.Object |
caseTxRelationInstance(TxRelationInstance object)
Returns the result of interpretting the object as an instance of 'Relation Instance'. |
java.lang.Object |
caseTxRelationship(TxRelationship object)
Returns the result of interpretting the object as an instance of 'Relationship'. |
java.lang.Object |
caseTxRuleSheet(TxRuleSheet object)
Returns the result of interpretting the object as an instance of 'Rule Sheet'. |
java.lang.Object |
caseTxRuleSheetLink(TxRuleSheetLink object)
Returns the result of interpretting the object as an instance of 'Rule Sheet Link'. |
java.lang.Object |
caseTxSheetAttributeVariable(TxSheetAttributeVariable object)
Returns the result of interpretting the object as an instance of 'Sheet Attribute Variable'. |
java.lang.Object |
caseTxSheetExpressionVariable(TxSheetExpressionVariable object)
Returns the result of interpretting the object as an instance of 'Sheet Expression Variable'. |
java.lang.Object |
caseTxSheetVariable(TxSheetVariable object)
Returns the result of interpretting the object as an instance of 'Sheet Variable'. |
java.lang.Object |
caseTxTransformation(TxTransformation object)
Returns the result of interpretting the object as an instance of 'Transformation'. |
java.lang.Object |
caseTxTransformation2TxTransformation(TxTransformation2TxTransformation object)
Returns the result of interpretting the object as an instance of 'Transformation2 Tx Transformation'. |
java.lang.Object |
caseTxTransformation2TxTypedModel(TxTransformation2TxTypedModel object)
Returns the result of interpretting the object as an instance of 'Transformation2 Tx Typed Model'. |
java.lang.Object |
caseTxTypedModel(TxTypedModel object)
Returns the result of interpretting the object as an instance of 'Typed Model'. |
java.lang.Object |
caseTxTypedModel2TxTypedModel(TxTypedModel2TxTypedModel object)
Returns the result of interpretting the object as an instance of 'Typed Model2 Tx Typed Model'. |
java.lang.Object |
caseTxTypedModel2TxUsedPackage(TxTypedModel2TxUsedPackage object)
Returns the result of interpretting the object as an instance of 'Typed Model2 Tx Used Package'. |
java.lang.Object |
caseTxUsedDomain(TxUsedDomain object)
Returns the result of interpretting the object as an instance of 'Used Domain'. |
java.lang.Object |
caseTxUsedDomain2TxVariable(TxUsedDomain2TxVariable object)
Returns the result of interpretting the object as an instance of 'Used Domain2 Tx Variable'. |
java.lang.Object |
caseTxUsedPackage(TxUsedPackage object)
Returns the result of interpretting the object as an instance of 'Used Package'. |
java.lang.Object |
caseTxVariable(TxVariable object)
Returns the result of interpretting the object as an instance of 'Variable'. |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TxSwitch()
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.public java.lang.Object caseTxRuleSheet(TxRuleSheet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxClassVariable(TxClassVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxEvolution(TxEvolution object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxEvolutionInstance(TxEvolutionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxRelation(TxRelation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxRelationInstance(TxRelationInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTransformation(TxTransformation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxVariable(TxVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxSheetAttributeVariable(TxSheetAttributeVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxSheetExpressionVariable(TxSheetExpressionVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxAttributeVariable2TxExpressionVariable(TxAttributeVariable2TxExpressionVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxBinding(TxBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxClassAttributeVariable(TxClassAttributeVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxClassVariable2TxAttributeVariable(TxClassVariable2TxAttributeVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxClassVariable2TxClassVariable(TxClassVariable2TxClassVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxContextSheet(TxContextSheet object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxContextSheetLink(TxContextSheetLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxDomain(TxDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxDomain2TxTypedModel(TxDomain2TxTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxHelper(TxHelper object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxMapping(TxMapping object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxMappingInstance(TxMappingInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxMapping2TxDomain(TxMapping2TxDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxOCLConstraint(TxOCLConstraint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxOCLConstraint2TxVariable(TxOCLConstraint2TxVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxRelationship(TxRelationship object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxRuleSheetLink(TxRuleSheetLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxSheetVariable(TxSheetVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTransformation2TxTransformation(TxTransformation2TxTransformation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTransformation2TxTypedModel(TxTransformation2TxTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTypedModel(TxTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTypedModel2TxTypedModel(TxTypedModel2TxTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxTypedModel2TxUsedPackage(TxTypedModel2TxUsedPackage object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxUsedDomain(TxUsedDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxUsedDomain2TxVariable(TxUsedDomain2TxVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxUsedPackage(TxUsedPackage object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxParameter(TxParameter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxPreservation(TxPreservation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTxPreservationInstance(TxPreservationInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGElement(GElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGModelElement(GModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGPersistentCoModel(GPersistentCoModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGNodeElement(GNodeElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGSheetNode(GSheetNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGPersistentSheetNode(GPersistentSheetNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGPersistentNamedSheetNode(GPersistentNamedSheetNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGNamedElement(GNamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGTransientCoModel(GTransientCoModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGTransientSheetLink(GTransientSheetLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGLinkElement(GLinkElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGSheetLink(GSheetLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGPersistentSheetLink(GPersistentSheetLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGDiagram(GDiagram object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseGSheet(GSheet 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 |