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

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

The newest version!
/*
 * Copyright (c) 2005, 2014 IBM Corporation, CEA, 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
 *   Kenn Hussey (CEA) - 327039, 351777, 382718, 418466
 *   Christian W. Damus (CEA) - 251963
 *
 */
package org.eclipse.uml2.uml;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;

import org.eclipse.emf.common.util.EList;

/**
 * 
 * A representation of the model object 'Link End Data'.
 * 
 *
 * 
 * LinkEndData is an Element that identifies on end of a link to be read or written by a LinkAction. As a link (that is not a link object) cannot be passed as a runtime value to or from an Action, it is instead identified by its end objects and qualifier values, if any. A LinkEndData instance provides these values for a single Association end.
 * 

From package UML::Actions.

* * *

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.LinkEndData#getEnd End}
  • *
  • {@link org.eclipse.uml2.uml.LinkEndData#getQualifiers Qualifier}
  • *
  • {@link org.eclipse.uml2.uml.LinkEndData#getValue Value}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getLinkEndData() * @model * @generated */ public interface LinkEndData extends Element { /** * Returns the value of the 'Value' reference. * * * * The InputPin that provides the specified value for the given end. This InputPin is omitted if the LinkEndData specifies the "open" end for a ReadLinkAction. *

From package UML::Actions.

* * @return the value of the 'Value' reference. * @see #setValue(InputPin) * @see org.eclipse.uml2.uml.UMLPackage#getLinkEndData_Value() * @model ordered="false" * @generated */ InputPin getValue(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.LinkEndData#getValue Value}' reference. * * * @param value the new value of the 'Value' reference. * @see #getValue() * @generated */ void setValue(InputPin value); /** * Returns the value of the 'End' reference. * * * * The Association end for which this LinkEndData specifies values. *

From package UML::Actions.

* * @return the value of the 'End' reference. * @see #setEnd(Property) * @see org.eclipse.uml2.uml.UMLPackage#getLinkEndData_End() * @model required="true" ordered="false" * @generated */ Property getEnd(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.LinkEndData#getEnd End}' reference. * * * @param value the new value of the 'End' reference. * @see #getEnd() * @generated */ void setEnd(Property value); /** * Returns the value of the 'Qualifier' containment reference list. * The list contents are of type {@link org.eclipse.uml2.uml.QualifierValue}. *

* This feature subsets the following features: *

    *
  • '{@link org.eclipse.uml2.uml.Element#getOwnedElements() Owned Element}'
  • *
*

* * * * A set of QualifierValues used to provide values for the qualifiers of the end. *

From package UML::Actions.

* * @return the value of the 'Qualifier' containment reference list. * @see org.eclipse.uml2.uml.UMLPackage#getLinkEndData_Qualifier() * @model containment="true" resolveProxies="true" ordered="false" * @generated */ EList getQualifiers(); /** * Creates a new {@link org.eclipse.uml2.uml.QualifierValue} and appends it to the 'Qualifier' containment reference list. * * * @return The new {@link org.eclipse.uml2.uml.QualifierValue}. * @see #getQualifiers() * @generated */ QualifierValue createQualifier(); /** * * * * The Property must be an Association memberEnd. * end.association <> null * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validatePropertyIsAssociationEnd(DiagnosticChain diagnostics, Map context); /** * * * * The type of the value InputPin conforms to the type of the Association end. * value<>null implies value.type.conformsTo(end.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 value InputPin must be 1..1. * value<>null implies value.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); /** * * * * The qualifiers must be qualifiers of the Association end. * end.qualifier->includesAll(qualifier.qualifier) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateQualifiers(DiagnosticChain diagnostics, Map context); /** * * * * Returns all the InputPins referenced by this LinkEndData. By default this includes the value and qualifier InputPins, but subclasses may override the operation to add other InputPins. * result = (value->asBag()->union(qualifier.value)) *

From package UML::Actions.

* * @model unique="false" ordered="false" * @generated */ EList allPins(); /** * * * * The value InputPin is not also the qualifier value InputPin. * value->excludesAll(qualifier.value) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateEndObjectInputPin(DiagnosticChain diagnostics, Map context); } // LinkEndData




© 2015 - 2024 Weber Informatics LLC | Privacy Policy