diff options
Diffstat (limited to 'plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java')
-rw-r--r-- | plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java | 69 |
1 files changed, 39 insertions, 30 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java index f8881d3b..e847ae0d 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/CommunicationPathImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2009 IBM Corporation and others. + * Copyright (c) 2005, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,9 +7,9 @@ * * Contributors: * IBM - initial API and implementation - * Kenn Hussey - 286329 + * Kenn Hussey - 286329, 323181 * - * $Id: CommunicationPathImpl.java,v 1.5 2009/12/04 15:30:42 khussey Exp $ + * $Id: CommunicationPathImpl.java,v 1.6 2010/09/28 21:02:13 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -151,8 +151,8 @@ public class CommunicationPathImpl return getValue((Stereotype) arguments.get(0), (String) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___SET_VALUE__STEREOTYPE_STRING_OBJECT : - setValue((Stereotype) arguments.get(0), (String) arguments - .get(1), arguments.get(2)); + setValue((Stereotype) arguments.get(0), + (String) arguments.get(1), arguments.get(2)); return null; case UMLPackage.COMMUNICATION_PATH___CREATE_EANNOTATION__STRING : return createEAnnotation((String) arguments.get(0)); @@ -173,11 +173,13 @@ public class CommunicationPathImpl case UMLPackage.COMMUNICATION_PATH___MUST_BE_OWNED : return mustBeOwned(); case UMLPackage.COMMUNICATION_PATH___VALIDATE_HAS_NO_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP : - return validateHasNoQualifiedName((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateHasNoQualifiedName( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_HAS_QUALIFIED_NAME__DIAGNOSTICCHAIN_MAP : - return validateHasQualifiedName((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateHasQualifiedName( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_VISIBILITY_NEEDS_OWNERSHIP__DIAGNOSTICCHAIN_MAP : return validateVisibilityNeedsOwnership( (DiagnosticChain) arguments.get(0), @@ -206,8 +208,9 @@ public class CommunicationPathImpl (DiagnosticChain) arguments.get(0), (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___CREATE_ELEMENT_IMPORT__PACKAGEABLEELEMENT_VISIBILITYKIND : - return createElementImport((PackageableElement) arguments - .get(0), (VisibilityKind) arguments.get(1)); + return createElementImport( + (PackageableElement) arguments.get(0), + (VisibilityKind) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___CREATE_PACKAGE_IMPORT__PACKAGE_VISIBILITYKIND : return createPackageImport( (org.eclipse.uml2.uml.Package) arguments.get(0), @@ -247,12 +250,13 @@ public class CommunicationPathImpl return isTemplateParameter(); case UMLPackage.COMMUNICATION_PATH___CREATE_ASSOCIATION__BOOLEAN_AGGREGATIONKIND_STRING_INT_INT_TYPE_BOOLEAN_AGGREGATIONKIND_STRING_INT_INT : return createAssociation((Boolean) arguments.get(0), - (AggregationKind) arguments.get(1), (String) arguments - .get(2), (Integer) arguments.get(3), + (AggregationKind) arguments.get(1), + (String) arguments.get(2), (Integer) arguments.get(3), (Integer) arguments.get(4), (Type) arguments.get(5), - (Boolean) arguments.get(6), (AggregationKind) arguments - .get(7), (String) arguments.get(8), (Integer) arguments - .get(9), (Integer) arguments.get(10)); + (Boolean) arguments.get(6), + (AggregationKind) arguments.get(7), + (String) arguments.get(8), (Integer) arguments.get(9), + (Integer) arguments.get(10)); case UMLPackage.COMMUNICATION_PATH___GET_ASSOCIATIONS : return getAssociations(); case UMLPackage.COMMUNICATION_PATH___CONFORMS_TO__TYPE : @@ -270,8 +274,9 @@ public class CommunicationPathImpl (DiagnosticChain) arguments.get(0), (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_SPECIALIZE_TYPE__DIAGNOSTICCHAIN_MAP : - return validateSpecializeType((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateSpecializeType( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_MAPS_TO_GENERALIZATION_SET__DIAGNOSTICCHAIN_MAP : return validateMapsToGeneralizationSet( (DiagnosticChain) arguments.get(0), @@ -284,12 +289,12 @@ public class CommunicationPathImpl return getAllOperations(); case UMLPackage.COMMUNICATION_PATH___GET_OPERATION__STRING_ELIST_ELIST : return getOperation((String) arguments.get(0), - (EList<String>) arguments.get(1), (EList<Type>) arguments - .get(2)); + (EList<String>) arguments.get(1), + (EList<Type>) arguments.get(2)); case UMLPackage.COMMUNICATION_PATH___GET_OPERATION__STRING_ELIST_ELIST_BOOLEAN : return getOperation((String) arguments.get(0), - (EList<String>) arguments.get(1), (EList<Type>) arguments - .get(2), (Boolean) arguments.get(3)); + (EList<String>) arguments.get(1), + (EList<Type>) arguments.get(2), (Boolean) arguments.get(3)); case UMLPackage.COMMUNICATION_PATH___GET_USED_INTERFACES : return getUsedInterfaces(); case UMLPackage.COMMUNICATION_PATH___GET_ALL_USED_INTERFACES : @@ -315,17 +320,21 @@ public class CommunicationPathImpl case UMLPackage.COMMUNICATION_PATH___ALL_PARENTS : return allParents(); case UMLPackage.COMMUNICATION_PATH___VALIDATE_SPECIALIZED_END_NUMBER__DIAGNOSTICCHAIN_MAP : - return validateSpecializedEndNumber((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateSpecializedEndNumber( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_SPECIALIZED_END_TYPES__DIAGNOSTICCHAIN_MAP : - return validateSpecializedEndTypes((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateSpecializedEndTypes( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_BINARY_ASSOCIATIONS__DIAGNOSTICCHAIN_MAP : - return validateBinaryAssociations((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateBinaryAssociations( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___VALIDATE_ASSOCIATION_ENDS__DIAGNOSTICCHAIN_MAP : - return validateAssociationEnds((DiagnosticChain) arguments - .get(0), (Map<Object, Object>) arguments.get(1)); + return validateAssociationEnds( + (DiagnosticChain) arguments.get(0), + (Map<Object, Object>) arguments.get(1)); case UMLPackage.COMMUNICATION_PATH___IS_BINARY : return isBinary(); case UMLPackage.COMMUNICATION_PATH___GET_END_TYPES : |