blob: 91cd6bae43a9b5df953d82c04671e4b766e466ca [file] [log] [blame]
/*
* Copyright (c) 2011, 2012 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:
* CEA - initial API and implementation
* Kenn Hussey (CEA) - 351777
*
*/
package org.eclipse.uml2.uml.profile.l2;
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.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.profile.l2.Implement#getBase_Component <em>Base Component</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.profile.l2.L2Package#getImplement()
* @model
* @generated
*/
public interface Implement
extends EObject {
/**
* Returns the value of the '<em><b>Base Component</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Component</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 Component</em>' reference.
* @see #setBase_Component(Component)
* @see org.eclipse.uml2.uml.profile.l2.L2Package#getImplement_Base_Component()
* @model required="true" ordered="false"
* @generated
*/
Component getBase_Component();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.profile.l2.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