All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.uml2.uml.CreateLinkObjectAction Maven / Gradle / Ivy

/*
 * 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: CreateLinkObjectAction.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;

/**
 * 
 * A representation of the model object 'Create Link Object Action'.
 * 
 *
 * 
 * A create link object action creates a link object.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.CreateLinkObjectAction#getResult Result}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getCreateLinkObjectAction() * @model * @generated */ public interface CreateLinkObjectAction extends CreateLinkAction { /** * Returns the value of the 'Result' containment reference. *

* This feature subsets the following features: *

    *
  • '{@link org.eclipse.uml2.uml.Action#getOutputs() Output}'
  • *
*

* * * * Gives the output pin on which the result is put. * * @return the value of the 'Result' containment reference. * @see #setResult(OutputPin) * @see org.eclipse.uml2.uml.UMLPackage#getCreateLinkObjectAction_Result() * @model containment="true" resolveProxies="true" required="true" ordered="false" * @generated */ OutputPin getResult(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.CreateLinkObjectAction#getResult Result}' containment reference. * * * @param value the new value of the 'Result' containment reference. * @see #getResult() * @generated */ void setResult(OutputPin value); /** * Creates a new {@link org.eclipse.uml2.uml.OutputPin},with the specified 'Name', and 'Type', and sets the 'Result' containment reference. * * * @param name The 'Name' for the new {@link org.eclipse.uml2.uml.OutputPin}, or null. * @param type The 'Type' for the new {@link org.eclipse.uml2.uml.OutputPin}, or null. * @return The new {@link org.eclipse.uml2.uml.OutputPin}. * @see #getResult() * @generated */ OutputPin createResult(String name, Type type); /** * * * * The association must be an association class. * self.association().oclIsKindOf(Class) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateAssociationClass(DiagnosticChain diagnostics, Map context); /** * * * * The type of the result pin must be the same as the association of the action. * self.result.type = self.association() * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateTypeOfResult(DiagnosticChain diagnostics, Map context); /** * * * * The multiplicity of the output pin is 1..1. * self.result.multiplicity.is(1,1) * @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); } // CreateLinkObjectAction




© 2015 - 2025 Weber Informatics LLC | Privacy Policy