blob: dbedbbe33fe8e6dcb61e15ddfe78d2947ad8dfda [file] [log] [blame]
/**
* <copyright>
* Copyright (c) 2008 Open Canarias 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:
* A. Sanchez-Barbudo - initial API and implementation
*
* </copyright>
*
* $Id: ContextualProperty.java,v 1.2 2009/01/25 23:12:24 radvorak Exp $
*/
package org.eclipse.m2m.qvt.oml.ecore.QVTOperational;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.ocl.ecore.OCLExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Contextual Property</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getContext <em>Context</em>}</li>
* <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getInitExpression <em>Init Expression</em>}</li>
* <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getOverridden <em>Overridden</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getContextualProperty()
* @model
* @generated
*/
public interface ContextualProperty extends EStructuralFeature {
/**
* Returns the value of the '<em><b>Context</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Context</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Context</em>' reference.
* @see #setContext(EClass)
* @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getContextualProperty_Context()
* @model required="true"
* @generated
*/
EClass getContext();
/**
* Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getContext <em>Context</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context</em>' reference.
* @see #getContext()
* @generated
*/
void setContext(EClass value);
/**
* Returns the value of the '<em><b>Init Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Init Expression</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>Init Expression</em>' containment reference.
* @see #setInitExpression(OCLExpression)
* @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getContextualProperty_InitExpression()
* @model containment="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='ownerProperty'"
* @generated
*/
OCLExpression getInitExpression();
/**
* Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getInitExpression <em>Init Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Init Expression</em>' containment reference.
* @see #getInitExpression()
* @generated
*/
void setInitExpression(OCLExpression value);
/**
* Returns the value of the '<em><b>Overridden</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Overridden</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Overridden</em>' reference.
* @see #setOverridden(EStructuralFeature)
* @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getContextualProperty_Overridden()
* @model annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='overriding'"
* @generated
*/
EStructuralFeature getOverridden();
/**
* Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ContextualProperty#getOverridden <em>Overridden</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Overridden</em>' reference.
* @see #getOverridden()
* @generated
*/
void setOverridden(EStructuralFeature value);
} // ContextualProperty