blob: be13e3042d54e184d4a1f1522710beec3bfff91e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*******************************************************************************/
/**
*/
package org.eclipse.qvtd.doc.miniocl;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Constraint</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.doc.miniocl.Constraint#getOwnedSpecification <em>Owned Specification</em>}</li>
* <li>{@link org.eclipse.qvtd.doc.miniocl.Constraint#getConstrainedElement <em>Constrained Element</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getConstraint()
* @model
* @generated
*/
public interface Constraint extends NamedElement {
/**
* Returns the value of the '<em><b>Owned Specification</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Specification</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Specification</em>' containment reference.
* @see #setOwnedSpecification(ExpressionInOCL)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getConstraint_OwnedSpecification()
* @model containment="true" required="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!Constraint!ownedSpecification'"
* @generated
*/
ExpressionInOCL getOwnedSpecification();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.Constraint#getOwnedSpecification <em>Owned Specification</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owned Specification</em>' containment reference.
* @see #getOwnedSpecification()
* @generated
*/
void setOwnedSpecification(ExpressionInOCL value);
/**
* Returns the value of the '<em><b>Constrained Element</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Constrained Element</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Constrained Element</em>' reference.
* @see #setConstrainedElement(org.eclipse.qvtd.doc.miniocl.Class)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getConstraint_ConstrainedElement()
* @model required="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!Constraint!constrainedElement'"
* @generated
*/
org.eclipse.qvtd.doc.miniocl.Class getConstrainedElement();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.Constraint#getConstrainedElement <em>Constrained Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Constrained Element</em>' reference.
* @see #getConstrainedElement()
* @generated
*/
void setConstrainedElement(org.eclipse.qvtd.doc.miniocl.Class value);
} // Constraint