| /** |
| * Copyright (c) 2018 CEA |
| * |
| * 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: |
| * Jérémie Tatibouet (CEA) jeremie.tatibouet@cea.fr - Initial API and implementation |
| * Benoit Maggi (CEA) benoit.maggi@cea.fr - Initial API and implementation |
| * |
| */ |
| package org.eclipse.papyrus.iotml.software.artefact; |
| |
| import java.util.Map; |
| |
| import org.eclipse.emf.common.util.DiagnosticChain; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| import org.eclipse.uml2.uml.Association; |
| import org.eclipse.uml2.uml.Property; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Property Access</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.iotml.software.artefact.PropertyAccess#getBase_Association <em>Base Association</em>}</li> |
| * <li>{@link org.eclipse.papyrus.iotml.software.artefact.PropertyAccess#getAccessedProperty <em>Accessed Property</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.iotml.software.artefact.ArtefactPackage#getPropertyAccess() |
| * @model |
| * @generated |
| */ |
| public interface PropertyAccess extends EObject { |
| /** |
| * Returns the value of the '<em><b>Base Association</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Association</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 Association</em>' reference. |
| * @see #setBase_Association(Association) |
| * @see org.eclipse.papyrus.iotml.software.artefact.ArtefactPackage#getPropertyAccess_Base_Association() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| Association getBase_Association(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.software.artefact.PropertyAccess#getBase_Association <em>Base Association</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Association</em>' reference. |
| * @see #getBase_Association() |
| * @generated |
| */ |
| void setBase_Association(Association value); |
| |
| /** |
| * Returns the value of the '<em><b>Accessed Property</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Accessed 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>Accessed Property</em>' reference. |
| * @see #setAccessedProperty(Property) |
| * @see org.eclipse.papyrus.iotml.software.artefact.ArtefactPackage#getPropertyAccess_AccessedProperty() |
| * @model ordered="false" |
| * @generated |
| */ |
| Property getAccessedProperty(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.iotml.software.artefact.PropertyAccess#getAccessedProperty <em>Accessed Property</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Accessed Property</em>' reference. |
| * @see #getAccessedProperty() |
| * @generated |
| */ |
| void setAccessedProperty(Property value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * self.accessedProperty.type.oclIsKindOf(VirtualEntity) |
| * @param diagnostics The chain of diagnostics to which problems are to be appended. |
| * @param context The cache of context-specific information. |
| * <!-- end-model-doc --> |
| * @model |
| * @generated |
| */ |
| boolean PropertyAccess_C1(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * self.base_Association.ownedEnd->one(p | p.type.oclIsKindOf(VirtualEntity)) and self.base_Association.ownedEnd->one(p | p.type.oclIsKindOf(PhysicalEntity)) |
| * @param diagnostics The chain of diagnostics to which problems are to be appended. |
| * @param context The cache of context-specific information. |
| * <!-- end-model-doc --> |
| * @model |
| * @generated |
| */ |
| boolean PropertyAccess_C2(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * self.base_Association.navigableOwnedEnd->one(p | p.type.oclIsKindOf(PhysicalEntity)) |
| * @param diagnostics The chain of diagnostics to which problems are to be appended. |
| * @param context The cache of context-specific information. |
| * <!-- end-model-doc --> |
| * @model |
| * @generated |
| */ |
| boolean propertyAccess_C3(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| } // PropertyAccess |