blob: 88b9e31d90afa3e646416b7564fe0dfeb7cd2172 [file] [log] [blame]
/**
* * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro
* * 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:
* * Istvan Rath, Daniel Varro - initial API and implementation
*
*/
package org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.core.GTASMElement;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.Variable;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.ContainmentMode;
import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.Term;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Containment Constraint</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getVariable <em>Variable</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getMode <em>Mode</em>}</li>
* <li>{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getParent <em>Parent</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage#getContainmentConstraint()
* @model
* @generated
*/
public interface ContainmentConstraint extends GTASMElement
{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = " * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors:\r\n * Istvan Rath, Daniel Varro - initial API and implementation\r\n";
/**
* Returns the value of the '<em><b>Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Variable</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Variable</em>' reference.
* @see #setVariable(Variable)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage#getContainmentConstraint_Variable()
* @model required="true" ordered="false"
* @generated
*/
Variable getVariable();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getVariable <em>Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Variable</em>' reference.
* @see #getVariable()
* @generated
*/
void setVariable(Variable value);
/**
* Returns the value of the '<em><b>Mode</b></em>' attribute.
* The default value is <code>"in"</code>.
* The literals are from the enumeration {@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.ContainmentMode}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mode</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mode</em>' attribute.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.ContainmentMode
* @see #setMode(ContainmentMode)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage#getContainmentConstraint_Mode()
* @model default="in" required="true" ordered="false"
* @generated
*/
ContainmentMode getMode();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getMode <em>Mode</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mode</em>' attribute.
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.ContainmentMode
* @see #getMode()
* @generated
*/
void setMode(ContainmentMode value);
/**
* Returns the value of the '<em><b>Parent</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parent</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>Parent</em>' containment reference.
* @see #setParent(Term)
* @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage#getContainmentConstraint_Parent()
* @model containment="true" required="true" ordered="false"
* @generated
*/
Term getParent();
/**
* Sets the value of the '{@link org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint#getParent <em>Parent</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Parent</em>' containment reference.
* @see #getParent()
* @generated
*/
void setParent(Term value);
} // ContainmentConstraint