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

org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction 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: ReadLinkObjectEndQualifierAction.java,v 1.9 2007/10/23 15:54:22 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 'Read Link Object End Qualifier Action'.
 * 
 *
 * 
 * A read link object end qualifier action is an action that retrieves a qualifier end value from a link object.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#getObject Object}
  • *
  • {@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#getResult Result}
  • *
  • {@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#getQualifier Qualifier}
  • *
*

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

* This feature subsets the following features: *

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

* * * * Gives the input pin from which the link object is obtained. * * @return the value of the 'Object' containment reference. * @see #setObject(InputPin) * @see org.eclipse.uml2.uml.UMLPackage#getReadLinkObjectEndQualifierAction_Object() * @model containment="true" resolveProxies="true" required="true" ordered="false" * @generated */ InputPin getObject(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#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); /** * Returns the value of the 'Result' containment reference. *

* This feature subsets the following features: *

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

* * * * Pin where the result value is placed. * * @return the value of the 'Result' containment reference. * @see #setResult(OutputPin) * @see org.eclipse.uml2.uml.UMLPackage#getReadLinkObjectEndQualifierAction_Result() * @model containment="true" resolveProxies="true" required="true" ordered="false" * @generated */ OutputPin getResult(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#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); /** * Returns the value of the 'Qualifier' reference. * * * * The attribute representing the qualifier to be read. * * @return the value of the 'Qualifier' reference. * @see #setQualifier(Property) * @see org.eclipse.uml2.uml.UMLPackage#getReadLinkObjectEndQualifierAction_Qualifier() * @model required="true" ordered="false" * @generated */ Property getQualifier(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.ReadLinkObjectEndQualifierAction#getQualifier Qualifier}' reference. * * * @param value the new value of the 'Qualifier' reference. * @see #getQualifier() * @generated */ void setQualifier(Property value); /** * * * * The qualifier attribute must be a qualifier attribute of an association end. * self.qualifier.associationEnd->size() = 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 validateQualifierAttribute(DiagnosticChain diagnostics, Map context); /** * * * * The association of the association end of the qualifier attribute must be an association class. * self.qualifier.associationEnd.association.oclIsKindOf(AssociationClass) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateAssociationOfAssociation(DiagnosticChain diagnostics, Map context); /** * * * * The ends of the association must not be static. * self.qualifier.associationEnd.association.memberEnd->forall(e | not e.isStatic) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateEndsOfAssociation(DiagnosticChain diagnostics, Map context); /** * * * * The type of the object input pin is the association class that owns the association end that has the given qualifier attribute. * self.object.type = self.qualifier.associationEnd.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 validateTypeOfObject(DiagnosticChain diagnostics, Map context); /** * * * * The multiplicity of the qualifier attribute is 1..1. * self.qualifier.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 validateMultiplicityOfQualifier(DiagnosticChain diagnostics, Map context); /** * * * * The multiplicity of the object input pin is 1..1. * self.object.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 validateMultiplicityOfObject(DiagnosticChain diagnostics, Map context); /** * * * * The type of the result output pin is the same as the type of the qualifier attribute. * self.result.type = self.qualifier.type * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateSameType(DiagnosticChain diagnostics, Map context); /** * * * * The multiplicity of the result 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 validateMultiplicityOfResult(DiagnosticChain diagnostics, Map context); } // ReadLinkObjectEndQualifierAction




© 2015 - 2025 Weber Informatics LLC | Privacy Policy