Update of /cvsroot/dresden-ocl/ocl20/eclipse/tudresden.ocl20.pivot.pivotmodel/src/tudresden/ocl20/pivot/pivotmodel/util
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv23143/src/tudresden/ocl20/pivot/pivotmodel/util
Modified Files:
PivotModelSwitch.java
Log Message:
regenerated to remove the multiplicity-related elements now contained in superclass FeatureImpl
Index: PivotModelSwitch.java
===================================================================
RCS file: /cvsroot/dresden-ocl/ocl20/eclipse/tudresden.ocl20.pivot.pivotmodel/src/tudresden/ocl20/pivot/pivotmodel/util/PivotModelSwitch.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** PivotModelSwitch.java 19 Jun 2007 11:01:43 -0000 1.4
--- PivotModelSwitch.java 28 Jul 2007 09:42:46 -0000 1.5
***************
*** 38,41 ****
--- 38,42 ----
import org.eclipse.emf.ecore.EObject;
+ import tudresden.ocl20.pivot.pivotmodel.*;
import tudresden.ocl20.pivot.pivotmodel.ComplexGenericType;
import tudresden.ocl20.pivot.pivotmodel.ConstrainableElement;
***************
*** 104,108 ****
*/
public T doSwitch(EObject theEObject) {
! return doSwitch(theEObject.eClass(),theEObject);
}
--- 105,109 ----
*/
public T doSwitch(EObject theEObject) {
! return doSwitch(theEObject.eClass(), theEObject);
}
***************
*** 116,125 ****
protected T doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
! return doSwitch(theEClass.getClassifierID(),theEObject);
}
else {
List<EClass> eSuperTypes = theEClass.getESuperTypes();
! return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0),
! theEObject);
}
}
--- 117,126 ----
protected T doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
! return doSwitch(theEClass.getClassifierID(), theEObject);
}
else {
List<EClass> eSuperTypes = theEClass.getESuperTypes();
! return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(
! eSuperTypes.get(0), theEObject);
}
}
***************
*** 308,312 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Enumeration</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 309,313 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Enumeration</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 314,318 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Enumeration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 315,319 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Enumeration</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 324,328 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Named Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 325,329 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 330,334 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Named Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 331,335 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Named Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 340,344 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 341,345 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Operation</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 346,350 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 347,351 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Operation</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 356,360 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Multiplicity Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 357,361 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Multiplicity Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 362,366 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Multiplicity Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 363,367 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Multiplicity Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 372,376 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Namespace</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 373,377 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Namespace</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 378,382 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Namespace</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 379,383 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Namespace</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 388,392 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 389,393 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 394,398 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 395,399 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 404,408 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 405,409 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 410,414 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 411,415 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 420,424 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Enumeration Literal</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 421,425 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Enumeration Literal</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 426,430 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Enumeration Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 427,431 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Enumeration Literal</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 436,440 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Property</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 437,441 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Property</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 442,446 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 443,447 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Property</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 452,456 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Typed Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 453,457 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Typed Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 458,462 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Typed Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 459,463 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Typed Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 468,472 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Primitive Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 469,473 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Primitive Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 474,478 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Primitive Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 475,479 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Primitive Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 484,488 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Feature</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 485,489 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Feature</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 490,494 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Feature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 491,495 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Feature</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 500,504 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Constraint</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 501,505 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Constraint</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 506,510 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Constraint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 507,511 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Constraint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 516,520 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 517,521 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Expression</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 522,526 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 523,527 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Expression</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 532,536 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Constrainable Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 533,537 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Constrainable Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 538,542 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Constrainable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 539,543 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Constrainable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 548,552 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Generic Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 549,553 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Generic Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 554,558 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Generic Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 555,559 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Generic Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 563,567 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Type Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 564,568 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Type Parameter</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 569,573 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Type Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 570,574 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Type Parameter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 578,582 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Type Argument</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 579,583 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Type Argument</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 584,588 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Type Argument</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 585,589 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Type Argument</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 593,597 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Parameter Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 594,598 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Parameter Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 599,603 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Parameter Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 600,604 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Parameter Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 608,612 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Complex Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 609,613 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Complex Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 614,618 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Complex Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 615,619 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Complex Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 623,627 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 624,628 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>Generic Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 629,633 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
--- 630,634 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>Generic Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
***************
*** 638,642 ****
/**
! * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
--- 639,643 ----
/**
! * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
***************
*** 644,648 ****
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
--- 645,649 ----
* <!-- end-user-doc -->
* @param object the target of the switch.
! * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
|