blob: 84da87e35eb5501322eaf5ebb04a73afdec2dd39 [file] [log] [blame]
/*
* Copyright (c) 2005, 2006 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: FunctionBehaviorImpl.java,v 1.3 2006/12/14 15:49:30 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.impl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.uml2.uml.FunctionBehavior;
import org.eclipse.uml2.uml.UMLPackage;
import org.eclipse.uml2.uml.internal.operations.FunctionBehaviorOperations;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Function Behavior</b></em>'.
* <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class FunctionBehaviorImpl
extends OpaqueBehaviorImpl
implements FunctionBehavior {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected FunctionBehaviorImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return UMLPackage.Literals.FUNCTION_BEHAVIOR;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean validateOneOutputParameter(DiagnosticChain diagnostics,
Map<Object, Object> context) {
return FunctionBehaviorOperations.validateOneOutputParameter(this,
diagnostics, context);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean validateTypesOfParameters(DiagnosticChain diagnostics,
Map<Object, Object> context) {
return FunctionBehaviorOperations.validateTypesOfParameters(this,
diagnostics, context);
}
} //FunctionBehaviorImpl