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

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

There is a newer version: 5.0.0-v20140602-0749
Show newest version
/*
 * Copyright (c) 2005, 2011 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
 *
 * $Id: ConnectorEnd.java,v 1.6 2008/10/02 20:56:22 jbruck Exp $
 */
package org.eclipse.uml2.uml;

import java.util.Map;

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

/**
 * 
 * A representation of the model object 'Connector End'.
 * 
 *
 * 
 * A connector end is an endpoint of a connector, which attaches the connector to a connectable element. Each connector end is part of one connector.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.ConnectorEnd#getDefiningEnd Defining End}
  • *
  • {@link org.eclipse.uml2.uml.ConnectorEnd#getPartWithPort Part With Port}
  • *
  • {@link org.eclipse.uml2.uml.ConnectorEnd#getRole Role}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getConnectorEnd() * @model * @generated */ public interface ConnectorEnd extends MultiplicityElement { /** * Returns the value of the 'Defining End' reference. * * * * A derived association referencing the corresponding association end on the association which types the connector owing this connector end. This association is derived by selecting the association end at the same place in the ordering of association ends as this connector end. * * @return the value of the 'Defining End' reference. * @see org.eclipse.uml2.uml.UMLPackage#getConnectorEnd_DefiningEnd() * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" * @generated */ Property getDefiningEnd(); /** * Returns the value of the 'Part With Port' reference. * * * * Indicates the role of the internal structure of a classifier with the port to which the connector end is attached. * * @return the value of the 'Part With Port' reference. * @see #setPartWithPort(Property) * @see org.eclipse.uml2.uml.UMLPackage#getConnectorEnd_PartWithPort() * @model ordered="false" * @generated */ Property getPartWithPort(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.ConnectorEnd#getPartWithPort Part With Port}' reference. * * * @param value the new value of the 'Part With Port' reference. * @see #getPartWithPort() * @generated */ void setPartWithPort(Property value); /** * Returns the value of the 'Role' reference. * * * * The connectable element attached at this connector end. When an instance of the containing classifier is created, a link may (depending on the multiplicities) be created to an instance of the classifier that types this connectable element. * * @return the value of the 'Role' reference. * @see #setRole(ConnectableElement) * @see org.eclipse.uml2.uml.UMLPackage#getConnectorEnd_Role() * @model required="true" ordered="false" * @generated */ ConnectableElement getRole(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.ConnectorEnd#getRole Role}' reference. * * * @param value the new value of the 'Role' reference. * @see #getRole() * @generated */ void setRole(ConnectableElement value); /** * * * * The multiplicity of the connector end may not be more general than the multiplicity of the association typing the owning connector. * 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 a connector end is attached to a port of the containing classifier, partWithPort will be empty. * 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 validatePartWithPortEmpty(DiagnosticChain diagnostics, Map context); /** * * * * If a connector end references a partWithPort, then the role must be a port that is defined by the type of the partWithPort. * 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 validateRoleAndPartWithPort(DiagnosticChain diagnostics, Map context); /** * * * * The property held in self.partWithPort must not be a Port. * 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 validateSelfPartWithPort(DiagnosticChain diagnostics, Map context); } // ConnectorEnd




© 2015 - 2024 Weber Informatics LLC | Privacy Policy