blob: d8fc26f4fdbe5454fac4ffda6dcb310b77c2d9a0 [file] [log] [blame]
/*
* Copyright (c) 2011, 2013 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) - 400546
*
*/
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.BehavioralFeature;
import org.eclipse.uml2.uml.Usage;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Create</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* When applied to a usage dependency, it specifies that the client classifier creates instances of the supplier classifier. When applied to a BehavioralFeature, it specifies that the designated feature creates an instance of the classifier to which the feature is attached.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.profile.l2.Create#getBase_BehavioralFeature <em>Base Behavioral Feature</em>}</li>
* <li>{@link org.eclipse.uml2.uml.profile.l2.Create#getBase_Usage <em>Base Usage</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.profile.l2.L2Package#getCreate()
* @model
* @generated
*/
public interface Create
extends EObject {
/**
* Returns the value of the '<em><b>Base Behavioral Feature</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Behavioral Feature</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 Behavioral Feature</em>' reference.
* @see #setBase_BehavioralFeature(BehavioralFeature)
* @see org.eclipse.uml2.uml.profile.l2.L2Package#getCreate_Base_BehavioralFeature()
* @model ordered="false"
* @generated
*/
BehavioralFeature getBase_BehavioralFeature();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.profile.l2.Create#getBase_BehavioralFeature <em>Base Behavioral Feature</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Behavioral Feature</em>' reference.
* @see #getBase_BehavioralFeature()
* @generated
*/
void setBase_BehavioralFeature(BehavioralFeature value);
/**
* Returns the value of the '<em><b>Base Usage</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Usage</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 Usage</em>' reference.
* @see #setBase_Usage(Usage)
* @see org.eclipse.uml2.uml.profile.l2.L2Package#getCreate_Base_Usage()
* @model ordered="false"
* @generated
*/
Usage getBase_Usage();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.profile.l2.Create#getBase_Usage <em>Base Usage</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Usage</em>' reference.
* @see #getBase_Usage()
* @generated
*/
void setBase_Usage(Usage value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* self.base_Usage->notEmpty() implies (self.base_Usage.client->forAll(oclIsKindOf(Classifier)) and self.base_Usage.supplier->forAll(oclIsKindOf(Classifier)))
* @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 validateClientAndSupplierAreClassifiers(
DiagnosticChain diagnostics, Map<Object, Object> context);
} // Create