blob: 6b2ad133f25b197b40514048288333cd5feeec88 [file] [log] [blame]
/*
* Copyright (c) 2014, 2018 CEA and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Kenn Hussey (CEA) - initial API and implementation
* Kenn Hussey (CEA) - 451350
* Kenn Hussey - 535301
*
*/
package org.eclipse.uml2.uml.profile.standard;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Component;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Implement</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A component definition that is not intended to have a specification itself. Rather, it is an implementation for a separate «Specification» to which it has a Dependency.
* <p>From package StandardProfile (URI {@literal http://www.omg.org/spec/UML/20131001/StandardProfile}).</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.uml2.uml.profile.standard.Implement#getBase_Component <em>Base Component</em>}</li>
* </ul>
*
* @see org.eclipse.uml2.uml.profile.standard.StandardPackage#getImplement()
* @model
* @generated
*/
public interface Implement
extends EObject {
/**
* Returns the value of the '<em><b>Base Component</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p>From package StandardProfile (URI {@literal http://www.omg.org/spec/UML/20131001/StandardProfile}).</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Base Component</em>' reference.
* @see #setBase_Component(Component)
* @see org.eclipse.uml2.uml.profile.standard.StandardPackage#getImplement_Base_Component()
* @model required="true" ordered="false"
* @generated
*/
Component getBase_Component();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.profile.standard.Implement#getBase_Component <em>Base Component</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Component</em>' reference.
* @see #getBase_Component()
* @generated
*/
void setBase_Component(Component value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* self.base_Component.clientDependency.supplier->select(oclIsKindOf(Classifier)).oclAsType(Classifier).extension_Specificaiton->notEmpty()
* @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 validateImplementsSpecification(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // Implement