blob: ccad1aa5f3433476853e73fdfb5443135fbbe8ad [file] [log] [blame]
/**
* Copyright (c) 2019 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation
*/
package org.eclipse.papyrus.sysml16.blocks;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Participant Property</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
* The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association.
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.sysml16.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}</li>
* <li>{@link org.eclipse.papyrus.sysml16.blocks.ParticipantProperty#getEnd <em>End</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.sysml16.blocks.BlocksPackage#getParticipantProperty()
* @model
* @generated
*/
public interface ParticipantProperty extends EObject {
/**
* Returns the value of the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Property</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.sysml16.blocks.BlocksPackage#getParticipantProperty_Base_Property()
* @model ordered="false"
* @generated
*/
Property getBase_Property();
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml16.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
void setBase_Property(Property value);
/**
* Returns the value of the '<em><b>End</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A member end of the association block owning the property on which the stereotype is applied.
* <!-- end-model-doc -->
* @return the value of the '<em>End</em>' reference.
* @see #setEnd(Property)
* @see org.eclipse.papyrus.sysml16.blocks.BlocksPackage#getParticipantProperty_End()
* @model required="true" ordered="false"
* @generated
*/
Property getEnd();
/**
* Sets the value of the '{@link org.eclipse.papyrus.sysml16.blocks.ParticipantProperty#getEnd <em>End</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End</em>' reference.
* @see #getEnd()
* @generated
*/
void setEnd(Property value);
} // ParticipantProperty