blob: 1ce683b518d11199b1f33e49134517bbcfcbbe58 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2014 Willink Transformations 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:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.pivot.qvtcorebase;
import org.eclipse.ocl.pivot.Element;
import org.eclipse.ocl.pivot.OCLExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Assignment</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#getBottomPattern <em>Bottom Pattern</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#isIsDefault <em>Is Default</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage#getAssignment()
* @model abstract="true"
* @generated
*/
public interface Assignment extends Element {
/**
* Returns the value of the '<em><b>Bottom Pattern</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtcorebase.BottomPattern#getAssignment <em>Assignment</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Bottom Pattern</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>Bottom Pattern</em>' container reference.
* @see #setBottomPattern(BottomPattern)
* @see org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage#getAssignment_BottomPattern()
* @see org.eclipse.qvtd.pivot.qvtcorebase.BottomPattern#getAssignment
* @model opposite="assignment" required="true"
* @generated
*/
BottomPattern getBottomPattern();
/**
* Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#getBottomPattern <em>Bottom Pattern</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Bottom Pattern</em>' container reference.
* @see #getBottomPattern()
* @generated
*/
void setBottomPattern(BottomPattern 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(OCLExpression)
* @see org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage#getAssignment_Value()
* @model containment="true" required="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='valueAssignment'"
* @generated
*/
OCLExpression getValue();
/**
* Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#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(OCLExpression value);
/**
* Returns the value of the '<em><b>Is Default</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Default</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Default</em>' attribute.
* @see #isSetIsDefault()
* @see #unsetIsDefault()
* @see #setIsDefault(boolean)
* @see org.eclipse.qvtd.pivot.qvtcorebase.QVTcoreBasePackage#getAssignment_IsDefault()
* @model unsettable="true" dataType="org.eclipse.ocl.pivot.Boolean"
* @generated
*/
boolean isIsDefault();
/**
* Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#isIsDefault <em>Is Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Default</em>' attribute.
* @see #isSetIsDefault()
* @see #unsetIsDefault()
* @see #isIsDefault()
* @generated
*/
void setIsDefault(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#isIsDefault <em>Is Default</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetIsDefault()
* @see #isIsDefault()
* @see #setIsDefault(boolean)
* @generated
*/
void unsetIsDefault();
/**
* Returns whether the value of the '{@link org.eclipse.qvtd.pivot.qvtcorebase.Assignment#isIsDefault <em>Is Default</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Is Default</em>' attribute is set.
* @see #unsetIsDefault()
* @see #isIsDefault()
* @see #setIsDefault(boolean)
* @generated
*/
boolean isSetIsDefault();
} // Assignment