blob: d5565a1945e3e2727c0ce91637f48666475ab26e [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2015, 2018 Willink Transformations 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:
* E.D.Willink - Initial API and implementation
*
* </copyright>
*/
package org.eclipse.ocl.examples.codegen.cgmodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CG Map Part</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapPart#getKey <em>Key</em>}</li>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapPart#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapPart#getMapExp <em>Map Exp</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGMapPart()
* @generated
*/
public interface CGMapPart extends CGValuedElement {
/**
* Returns the value of the '<em><b>Key</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Key</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Key</em>' containment reference.
* @see #setKey(CGValuedElement)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGMapPart_Key()
* @generated
*/
CGValuedElement getKey();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapPart#getKey <em>Key</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Key</em>' containment reference.
* @see #getKey()
* @generated
*/
void setKey(CGValuedElement value);
/**
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' containment reference.
* @see #setValue(CGValuedElement)
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGMapPart_Value()
* @generated
*/
CGValuedElement getValue();
/**
* Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapPart#getValue <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' containment reference.
* @see #getValue()
* @generated
*/
void setValue(CGValuedElement value);
/**
* Returns the value of the '<em><b>Map Exp</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGMapExp#getParts <em>Parts</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Map Exp</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Map Exp</em>' container reference.
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGMapPart_MapExp()
* @see org.eclipse.ocl.examples.codegen.cgmodel.CGMapExp#getParts
* @generated
*/
CGMapExp getMapExp();
} // CGMapPart