/* * Copyright (c) 2005, 2007 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: StartClassifierBehaviorAction.java,v 1.8 2007/10/23 15:54:21 jbruck Exp $ */ package org.eclipse.uml2.uml; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.ecore.EClass; /** * * A representation of the model object 'Start Classifier Behavior Action'. * * * * A start classifier behavior action is an action that starts the classifier behavior of the input. * * *

* The following features are supported: *

*

* * @see org.eclipse.uml2.uml.UMLPackage#getStartClassifierBehaviorAction() * @model * @generated */ public interface StartClassifierBehaviorAction extends Action { /** * Returns the value of the 'Object' containment reference. *

* This feature subsets the following features: *

*

* * * * Holds the object on which to start the owned behavior. * * @return the value of the 'Object' containment reference. * @see #setObject(InputPin) * @see org.eclipse.uml2.uml.UMLPackage#getStartClassifierBehaviorAction_Object() * @model containment="true" resolveProxies="true" required="true" ordered="false" * @generated */ InputPin getObject(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.StartClassifierBehaviorAction#getObject Object}' containment reference. * * * @param value the new value of the 'Object' containment reference. * @see #getObject() * @generated */ void setObject(InputPin value); /** * Creates a new {@link org.eclipse.uml2.uml.InputPin}, with the specified 'Name', and 'Type', and sets the 'Object' containment reference. * * * @param name The 'Name' for the new {@link org.eclipse.uml2.uml.InputPin}, or null. * @param type The 'Type' for the new {@link org.eclipse.uml2.uml.InputPin}, or null. * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.InputPin} to create. * @return The new {@link org.eclipse.uml2.uml.InputPin}. * @see #getObject() * @generated */ InputPin createObject(String name, Type type, EClass eClass); /** * Creates a new {@link org.eclipse.uml2.uml.InputPin},with the specified 'Name', and 'Type', and sets the 'Object' containment reference. * * * @param name The 'Name' for the new {@link org.eclipse.uml2.uml.InputPin}, or null. * @param type The 'Type' for the new {@link org.eclipse.uml2.uml.InputPin}, or null. * @return The new {@link org.eclipse.uml2.uml.InputPin}. * @see #getObject() * @generated */ InputPin createObject(String name, Type type); /** * * * * The multiplicity of the input pin is 1..1 * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateMultiplicity(DiagnosticChain diagnostics, Map context); /** * * * * If the input pin has a type, then the type must have a classifier behavior. * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateTypeHasClassifier(DiagnosticChain diagnostics, Map context); } // StartClassifierBehaviorAction